Re: [U-Boot] [PATCH 1/3] Add nitrogen6x board

2012-10-05 Thread Eric Nelson
On 10/05/2012 12:29 PM, Albert ARIBAUD wrote: Hi Eric, On Fri, 05 Oct 2012 11:42:19 -0700, Eric Nelson wrote: On 10/05/2012 10:24 AM, Albert ARIBAUD wrote: Hi Eric, On Thu, 4 Oct 2012 12:49:07 -0700, Eric Nelson wrote: Signed-off-by: Eric Nelson --- board/boundary/nitrogen6x/Makef

Re: [U-Boot] [PATCH 1/2] FAT: check for partition 0 not 1 for whole-disk fs

2012-10-05 Thread Stephen Warren
On 10/05/2012 05:39 PM, Tom Rini wrote: > On 10/05/12 16:36, Stephen Warren wrote: >> On 10/05/2012 05:27 PM, Tom Rini wrote: >>> On 10/05/12 16:17, Stephen Warren wrote: From: Stephen Warren >>> The recent switch to use get_device_and_partition() from do_fat_ls() broke the abilit

Re: [U-Boot] [PATCH 1/2] FAT: check for partition 0 not 1 for whole-disk fs

2012-10-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 16:36, Stephen Warren wrote: > On 10/05/2012 05:27 PM, Tom Rini wrote: >> On 10/05/12 16:17, Stephen Warren wrote: >>> From: Stephen Warren >> >>> The recent switch to use get_device_and_partition() from >>> do_fat_ls() broke the ability

Re: [U-Boot] [PATCH 1/2] FAT: check for partition 0 not 1 for whole-disk fs

2012-10-05 Thread Stephen Warren
On 10/05/2012 05:27 PM, Tom Rini wrote: > On 10/05/12 16:17, Stephen Warren wrote: >> From: Stephen Warren > >> The recent switch to use get_device_and_partition() from >> do_fat_ls() broke the ability to access a FAT filesystem >> directly on a whole device; FAT only works within a partition on

Re: [U-Boot] [PATCH 1/2] FAT: check for partition 0 not 1 for whole-disk fs

2012-10-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 16:17, Stephen Warren wrote: > From: Stephen Warren > > The recent switch to use get_device_and_partition() from > do_fat_ls() broke the ability to access a FAT filesystem directly > on a whole device; FAT only works within a partition on

[U-Boot] [PATCH 2/2] disk: part_dos: don't claim whole-disk FAT filesystems

2012-10-05 Thread Stephen Warren
From: Stephen Warren Logically, a disk that contains a raw FAT filesystem does not in fact have a partition table. However, test_part_dos() was claiming that such disks did in fact have a DOS-style partition table. This caused get_device_and_partition() not to return a whole-disk disk_partition_t

[U-Boot] [PATCH 1/2] FAT: check for partition 0 not 1 for whole-disk fs

2012-10-05 Thread Stephen Warren
From: Stephen Warren The recent switch to use get_device_and_partition() from do_fat_ls() broke the ability to access a FAT filesystem directly on a whole device; FAT only works within a partition on a device. This change makes e.g. "fatls mmc 0:0" work; explicitly requesting partition ID 0 is s

[U-Boot] Pull request: u-boot-staging

2012-10-05 Thread Anatolij Gustschin
Hi Tom, please pull some fixes for upcoming release. The following changes since commit 198166877768cf4d0197289a524df8a6ca0e2f19: Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-04 10:00:42 -0700) are available in the git repository at: git://git.denx.de/u-boot-staging.git

Re: [U-Boot] [PATCH 1/3] Add nitrogen6x board

2012-10-05 Thread Tom Rini
On Fri, Oct 05, 2012 at 01:03:10PM -0700, Eric Nelson wrote: > On 10/05/2012 12:00 PM, Tom Rini wrote: [snip] > >And we can't deal with this by factoring the code differently? > > > Hi Tom, > > There are two bits to this question: > - Can we represent the policy differences outside of a >

Re: [U-Boot] [PATCH] Improve license declaration for cmd_ini.h

2012-10-05 Thread Tom Rini
On Thu, Oct 04, 2012 at 02:54:07PM -0500, Joe Hershberger wrote: > Instead of referenceing the source webpage (which can change) include > the license in the source file. > > Signed-off-by: Joe Hershberger > Reported-by: Igor Grinberg > Cc: Igor Grinberg > Cc: Tom Rini > Cc: Wolfgang Denk A

Re: [U-Boot] [PATCH] MPC85xx: remove support for TQM85xx boards

2012-10-05 Thread Tom Rini
On Thu, Oct 04, 2012 at 11:36:18AM +0200, Wolfgang Denk wrote: > Due to grown code sizes the TQM85xx boards don't build any more with > some older tool chains (like ELDK 4.2). As these boards have long > reached EOL it seems a waste of effort trying to fix them. The vendor > has agreed to drop s

Re: [U-Boot] Pull request: u-boot-arm/master

2012-10-05 Thread Tom Rini
On Fri, Oct 05, 2012 at 09:26:17PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > The following changes since commit > 777544085d2b417a36df50eb564bf037a044e60e: > > ARM: Add Altera SOCFPGA Cyclone5 (2012-10-04 18:11:52 +0200) > > are available in the git repository at: > > git://git.denx.de/u-

Re: [U-Boot] [PATCH] env: fix crash using default -f -a

2012-10-05 Thread Tom Rini
On Fri, Oct 05, 2012 at 12:46:10PM +0200, Gerlando Falauto wrote: > env default -a -f calls env_check_apply on all existing environment > variables with a NULL value for "newval" as a way of cleaning up. > This causes string manipulation functions to crash on most architectures. > So replace a NUL

Re: [U-Boot] [PATCH 2/2] GPIO: pca953x: fix error reporting

2012-10-05 Thread Anatolij Gustschin
Hi, On Wed, 25 Jul 2012 13:55:48 + Laurence Withers wrote: > Use the standard CMD_RET_* constants to clearly report errors from the > pca953x command. In addition, print error messages when I2C communication > fails. > > Signed-off-by: Laurence Withers > --- > drivers/gpio/pca953x.c | 4

Re: [U-Boot] [PATCH 1/2] GPIO: pca953x: fix spelling in help

2012-10-05 Thread Anatolij Gustschin
Hi, On Wed, 25 Jul 2012 13:55:47 + Laurence Withers wrote: > Signed-off-by: Laurence Withers > --- > drivers/gpio/pca953x.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied to staging/ag...@denx.de. Thanks, Anatolij ___ U-B

Re: [U-Boot] [PATCH v2] ml507: Fix Xilinx uartlite driver hang

2012-10-05 Thread Anatolij Gustschin
Hi, On Mon, 24 Sep 2012 23:27:05 + (UTC) Rommel Custodio wrote: > The default configuration for ml507 will generate a hang() in the > Xilinx uartlite driver. > > userial_ports[] in drivers/serial/serial_xuartlite.c does not get > initialized properly. CONFIG_SERIAL_BASE is unused. > XILINX_

[U-Boot] [PATCH 6/7] [v5] powerpc/85xx: Add P5040 processor support

2012-10-05 Thread Timur Tabi
Add support for the Freescale P5040 SOC, which is similar to the P5020. Features of the P5040 are: Four P5040 single-threaded e5500 cores built Up to 2.4 GHz with 64-bit ISA support Three levels of instruction: user, supervisor, hypervisor CoreNet platform cache (CPC) 2.0 MB configures

Re: [U-Boot] [PATCH 6/7] [v4] powerpc/85xx: Add P5040 processor support

2012-10-05 Thread Timur Tabi
Kim Phillips wrote: > need another two DECO entries. Doh, I merged the change into the wrong commit. Ugh. Thanks for catching that. -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

Re: [U-Boot] [PATCH 6/7] [v4] powerpc/85xx: Add P5040 processor support

2012-10-05 Thread Kim Phillips
On Fri, 5 Oct 2012 15:35:27 -0500 Timur Tabi wrote: > v4: forgot a couple LIODN updates sure did: > +struct liodn_id_table sec_liodn_tbl[] = { > + SET_SEC_JR_LIODN_ENTRY(0, 129, 130), > + SET_SEC_JR_LIODN_ENTRY(1, 131, 132), > + SET_SEC_JR_LIODN_ENTRY(2, 133, 134), > + SET_SEC_J

Re: [U-Boot] [PATCH] ARM: lacie_kw: add support for WIRELESS_SPACE

2012-10-05 Thread Albert ARIBAUD
Hi Tom, On Sat, 22 Sep 2012 10:38:22 -0700, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 09/22/12 01:51, Albert ARIBAUD wrote: > > Hi Simon, > > > > On Wed, 22 Aug 2012 17:16:21 +0200, Simon Guinot > > wrote: > > > >> On Tue, Aug 21, 2012 at 12:16:40AM -0700, Pra

[U-Boot] [PATCH 6/7] [v4] powerpc/85xx: Add P5040 processor support

2012-10-05 Thread Timur Tabi
Add support for the Freescale P5040 SOC, which is similar to the P5020. Features of the P5040 are: Four P5040 single-threaded e5500 cores built Up to 2.4 GHz with 64-bit ISA support Three levels of instruction: user, supervisor, hypervisor CoreNet platform cache (CPC) 2.0 MB configures

Re: [U-Boot] [PATCH 1/3] Add nitrogen6x board

2012-10-05 Thread Eric Nelson
On 10/05/2012 12:00 PM, Tom Rini wrote: On Fri, Oct 05, 2012 at 11:42:19AM -0700, Eric Nelson wrote: On 10/05/2012 10:24 AM, Albert ARIBAUD wrote: Hi Eric, On Thu, 4 Oct 2012 12:49:07 -0700, Eric Nelson wrote: Signed-off-by: Eric Nelson --- board/boundary/nitrogen6x/Makefile | 41

Re: [U-Boot] [PATCH v4 0/16] tegra: Add display driver and LCD support for Seaboard

2012-10-05 Thread Stephen Warren
On 10/03/2012 11:05 AM, Stephen Warren wrote: > On 09/27/2012 06:44 PM, Simon Glass wrote: >> This series adds support for the Tegra2x's display peripheral. This >> supports the LCD display on Seaboard and we use this to enable console >> output in U-Boot on the LCD. ... > 2) The display works fine

[U-Boot] [PATCH 7/7] [v3] powerpc/85xx: add support for the Freescale P5040DS Superhydra reference board

2012-10-05 Thread Timur Tabi
The P5040DS reference board (a.k.a "Superhydra") is an enhanced version of P3041DS/P5020DS ("Hydra") reference board. Signed-off-by: Timur Tabi Signed-off-by: Shaohui Xie --- arch/powerpc/cpu/mpc85xx/p5040_ids.c| 66 ++-- board/freescale/common/Makefile |2 + board/fre

[U-Boot] [PATCH 6/7] [v3] powerpc/85xx: Add P5040 processor support

2012-10-05 Thread Timur Tabi
Add support for the Freescale P5040 SOC, which is similar to the P5020. Features of the P5040 are: Four P5040 single-threaded e5500 cores built Up to 2.4 GHz with 64-bit ISA support Three levels of instruction: user, supervisor, hypervisor CoreNet platform cache (CPC) 2.0 MB configures

[U-Boot] [PATCH 3/7] powerpc/85xx: define SRIO LIODN functions only if SRIO is defined

2012-10-05 Thread Timur Tabi
The P5040 does not have SRIO support, so there are no SRIO LIODNs. Therefore, the functions that set the SRIO LIODNs should not be compiled. Signed-off-by: Timur Tabi --- arch/powerpc/cpu/mpc85xx/liodn.c |8 arch/powerpc/include/asm/fsl_liodn.h |4 +++- 2 files changed, 11 i

[U-Boot] [PATCH 2/7] powerpc/85xx: introduce SET_PCI_LIODN_BASE, for setting PCI LIODNs

2012-10-05 Thread Timur Tabi
From: Laurentiu Tudor The liodn for the new PCIE controller included in P5040DS is no longer set through a register in the guts register block but with one in the PCIE register block itself. Update the PCIE CCSR structure to add the new liodn register and add a new dedicated SET_PCI_LIODN_BASE m

[U-Boot] [PATCH 5/7] powerpc/p5040ds: add per pci endpoint liodn offset list

2012-10-05 Thread Timur Tabi
From: Laurentiu Tudor Add a new device tree property named "fsl,liodn-offset-list" holding a list of per pci endpoint permitted liodn offsets. This property is useful in virtualization scenarios that implement per pci endpoint partitioning. The final liodn of a partitioned pci endpoint is calcula

[U-Boot] [PATCH 1/7] powerpc/mpc85xx: fix Unicode characters in release.S

2012-10-05 Thread Timur Tabi
Commit 709389b6 unintentionally used the Unicode version of the apostrophy. Replace it with the normal ASCII version. Signed-off-by: Timur Tabi --- arch/powerpc/cpu/mpc85xx/release.S | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/c

[U-Boot] [PATCH 4/7] powerpc/85xx: move SRIO configuration out of corenet_ds.h

2012-10-05 Thread Timur Tabi
The P5040 does not have SRIO, so don't put the SRIO definitions in corenet_ds.h. They belong in the board-specific header files. Signed-off-by: Timur Tabi --- include/configs/P3041DS.h|4 include/configs/P4080DS.h|4 include/configs/P5020DS.h|4 include/co

[U-Boot] [PATCH 9/9] disk: part_dos: print partition UUID in partition list

2012-10-05 Thread Stephen Warren
From: Stephen Warren This information may be useful to compare against command "part uuid", or if you want to manually paste the information into the kernel command-line. Signed-off-by: Stephen Warren --- disk/part_dos.c | 20 1 files changed, 12 insertions(+), 8 deletio

[U-Boot] [PATCH 7/9] disk: part_dos: checkpatch cleanups

2012-10-05 Thread Stephen Warren
From: Stephen Warren Minor cleanups required so later patches don't trigger checkpatch. Signed-off-by: Stephen Warren --- disk/part_dos.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/disk/part_dos.c b/disk/part_dos.c index c9a3e2b..0fadc17 1006

[U-Boot] [PATCH 8/9] disk: part_dos: align partition table prints

2012-10-05 Thread Stephen Warren
From: Stephen Warren When printing the partition table, make sure data aligns with the column headers. Change format of partition number field to %3d to match part_efi.c. Signed-off-by: Stephen Warren --- disk/part_dos.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 6/9] disk: part_efi: set bootable flag in partition objects

2012-10-05 Thread Stephen Warren
From: Stephen Warren A partition is considered bootable if it either has the "legacy BIOS bootable" flag set, or if the partition type UUID matches the standard "system" type. Signed-off-by: Stephen Warren --- disk/part_efi.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-)

[U-Boot] [PATCH 5/9] disk: part_efi: print raw partition attributes

2012-10-05 Thread Stephen Warren
From: Stephen Warren When printing the EFI partition table, print the raw attributes. Convert struct gpt_entry_attributes to a union to allow raw access. Signed-off-by: Stephen Warren --- disk/part_efi.c |2 ++ disk/part_efi.h | 15 +-- 2 files changed, 11 insertions(+), 6 de

[U-Boot] [PATCH 4/9] disk: part_efi: add new partition attribute definitions

2012-10-05 Thread Stephen Warren
From: Stephen Warren Add no_block_io_protocol and legacy_bios_bootable attribute definitions. These are sourced from UEFI Spec 2.3, page 105, table 19. Credits to the libparted source for the specification pointer. Signed-off-by: Stephen Warren --- disk/part_efi.h |4 +++- 1 files changed,

[U-Boot] [PATCH 3/9] disk: part_efi: print partition UUIDs

2012-10-05 Thread Stephen Warren
From: Stephen Warren When printing the partition table, print the partition type UUID and the individual partition UUID. Do this unconditionally, since partition UUIDs are useful. Signed-off-by: Stephen Warren --- disk/part_efi.c | 50 -- 1 fil

[U-Boot] [PATCH 2/9] disk: part_efi: re-order partition list printf, change case

2012-10-05 Thread Stephen Warren
From: Stephen Warren The partition name is a long variable-length string. Move it last on the line to ensure consistent layout and that the entries align with the "header" line. Also, surround it in quotes, so if it's empty, it's obvious that something is still being printed. Also, change the ca

[U-Boot] [PATCH 1/9] disk: part_efi: remove indent level from loop

2012-10-05 Thread Stephen Warren
From: Stephen Warren Simplify the partition printing loop in print_part_efi() to bail out early when the first invalid partition is found, rather than indenting the whole body of the loop. This simplifies later patches. Signed-off-by: Stephen Warren --- disk/part_efi.c | 17 -

Re: [U-Boot] [PATCH 1/3] Add nitrogen6x board

2012-10-05 Thread Albert ARIBAUD
Hi Eric, On Fri, 05 Oct 2012 11:42:19 -0700, Eric Nelson wrote: > On 10/05/2012 10:24 AM, Albert ARIBAUD wrote: > > Hi Eric, > > > > On Thu, 4 Oct 2012 12:49:07 -0700, Eric Nelson > > wrote: > > > >> Signed-off-by: Eric Nelson > >> --- > >> board/boundary/nitrogen6x/Makefile | 41 ++ >

[U-Boot] Pull request: u-boot-arm/master

2012-10-05 Thread Albert ARIBAUD
Hi Tom, The following changes since commit 777544085d2b417a36df50eb564bf037a044e60e: ARM: Add Altera SOCFPGA Cyclone5 (2012-10-04 18:11:52 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to 28e5ac2d974547bde0c72aa0c1d66fd22c6ef

[U-Boot] [PATCH V2] ARM: prevent misaligned array inits

2012-10-05 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -m

Re: [U-Boot] [PATCH 1/3] Add nitrogen6x board

2012-10-05 Thread Tom Rini
On Fri, Oct 05, 2012 at 11:42:19AM -0700, Eric Nelson wrote: > On 10/05/2012 10:24 AM, Albert ARIBAUD wrote: > >Hi Eric, > > > >On Thu, 4 Oct 2012 12:49:07 -0700, Eric Nelson > > wrote: > > > >>Signed-off-by: Eric Nelson > >>--- > >> board/boundary/nitrogen6x/Makefile | 41 ++ > >> board/b

Re: [U-Boot] [PATCH 1/4 V2] doc: kerneldoc: Implant DocBook from Linux kernel

2012-10-05 Thread Albert ARIBAUD
Hi Marek, On Fri, 5 Oct 2012 02:28:19 +0200, Marek Vasut wrote: > Dear Albert ARIBAUD, > > > Hi Marek, > > > > Comments based on the assumption that we want to sync with the Linux > > tools. > > > > General comment/hypothetical question: would it not be simpler to patch > > the existing Linux

Re: [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g

2012-10-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 11:44, Albert ARIBAUD wrote: > Hi Nobuhiro, > > On Fri, 5 Oct 2012 07:02:17 +0900, Nobuhiro Iwamatsu > wrote: > >> HI, >> >> On Thu, Oct 4, 2012 at 5:45 PM, Albert ARIBAUD >> wrote: >>> Hi Nohiburo, Tetsuyuki, >>> >>> On Fri, 20 Jul

Re: [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g

2012-10-05 Thread Albert ARIBAUD
Hi Nobuhiro, On Fri, 5 Oct 2012 07:02:17 +0900, Nobuhiro Iwamatsu wrote: > HI, > > On Thu, Oct 4, 2012 at 5:45 PM, Albert ARIBAUD > wrote: > > Hi Nohiburo, Tetsuyuki, > > > > On Fri, 20 Jul 2012 08:51:29 +0900, Nobuhiro Iwamatsu > > wrote: > > > >> Applied to my arm/rmobile branch. > >> Thank

Re: [U-Boot] [PATCH 1/3] Add nitrogen6x board

2012-10-05 Thread Eric Nelson
On 10/05/2012 10:24 AM, Albert ARIBAUD wrote: Hi Eric, On Thu, 4 Oct 2012 12:49:07 -0700, Eric Nelson wrote: Signed-off-by: Eric Nelson --- board/boundary/nitrogen6x/Makefile | 41 ++ board/boundary/nitrogen6x/README | 77 +++ board/boundary/nitrogen6x/nitrogen6x.c | 840

[U-Boot] [PATCH] arm: armv7: temporarily set -mno-unaligned-access

2012-10-05 Thread Albert ARIBAUD
This patch aims at ensuring that the 2012.10 release works out-of-the-box on as many targets as possible, by reinstating commit 5347560f5427bcdd48a563b62180481606ac8044, which adds option -mno-unaligned-access to armv7 builds. This patch will be overriden immediately after release of 2012.10. Sig

Re: [U-Boot] [PATCH v2] arm1136: Fix enable_caches()

2012-10-05 Thread Albert ARIBAUD
Benoît, On Thu, 4 Oct 2012 22:04:02 +0200 (CEST), Benoît Thébaudeau wrote: > enable_caches() did not enable icache if CONFIG_SYS_ICACHE_OFF was not defined > but CONFIG_SYS_DCACHE_OFF was. > > Signed-off-by: Benoît Thébaudeau > Cc: Albert Aribaud > --- > This patch supersedes http://patchwor

Re: [U-Boot] [PATCH] arm1136: cosmetic: Remove double test on CONFIG_SYS_DCACHE_OFF

2012-10-05 Thread Albert ARIBAUD
Hi Benoît, On Fri, 5 Oct 2012 19:36:34 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > On Friday, October 5, 2012 7:05:19 PM, Albert ARIBAUD wrote: > > Hi Benoît, > > > > On Thu, 4 Oct 2012 18:57:19 +0200 (CEST), Benoît Thébaudeau > > wrote: > > > > > Hi Albert, > > > > > > On Thurs

Re: [U-Boot] [PATCH] Improve license declaration for cmd_ini.h

2012-10-05 Thread Wolfgang Denk
Dear Joe Hershberger, In message <1349380447-27961-1-git-send-email-joe.hershber...@ni.com> you wrote: > Instead of referenceing the source webpage (which can change) include > the license in the source file. Thanks. > --- a/common/cmd_ini.c > +++ b/common/cmd_ini.c > @@ -1,9 +1,37 @@ > /* >

Re: [U-Boot] [PATCH] Improve license declaration for cmd_ini.h

2012-10-05 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <20121005192613.1420e39b@lilith> you wrote: > > Open question: does this solve worries about the licence compatibility? Not really; assuming that the previous version meant the 3-clause BSD license (which it most probably did) there have never been any real proble

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-10-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 10:03, Stefan Roese wrote: > On 10/05/2012 05:22 PM, Tom Rini wrote: > > > > Okay, probably better to add this code now. But shouldn't > we add this code to the common SPL framework code then? > Right before calling jump_to_i

Re: [U-Boot] [PATCH] arm1136: cosmetic: Remove double test on CONFIG_SYS_DCACHE_OFF

2012-10-05 Thread Benoît Thébaudeau
Hi Albert, On Friday, October 5, 2012 7:05:19 PM, Albert ARIBAUD wrote: > Hi Benoît, > > On Thu, 4 Oct 2012 18:57:19 +0200 (CEST), Benoît Thébaudeau > wrote: > > > Hi Albert, > > > > On Thursday, October 4, 2012 3:39:41 PM, Albert ARIBAUD wrote: > > > Hi Benoît, > > > > > > On Tue, 14 Aug 201

Re: [U-Boot] [PATCH] Improve license declaration for cmd_ini.h

2012-10-05 Thread Albert ARIBAUD
Hi Joe, On Thu, 4 Oct 2012 14:54:07 -0500, Joe Hershberger wrote: > Instead of referenceing the source webpage (which can change) include > the license in the source file. > > Signed-off-by: Joe Hershberger > Reported-by: Igor Grinberg > Cc: Igor Grinberg > Cc: Tom Rini > Cc: Wolfgang Denk

Re: [U-Boot] [PATCH 1/3] Add nitrogen6x board

2012-10-05 Thread Albert ARIBAUD
Hi Eric, On Thu, 4 Oct 2012 12:49:07 -0700, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > board/boundary/nitrogen6x/Makefile | 41 ++ > board/boundary/nitrogen6x/README | 77 +++ > board/boundary/nitrogen6x/nitrogen6x.c | 840 > > boa

Re: [U-Boot] Pull request: u-boot-sh/master

2012-10-05 Thread Tom Rini
On Fri, Oct 05, 2012 at 07:05:19AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > Please pull u-boot-sh master branch. > > Best regards, > Nobuhiro > > The following changes since commit 198166877768cf4d0197289a524df8a6ca0e2f19: > > Merge branch 'master' of git://git.denx.de/u-boot-arm (201

Re: [U-Boot] [PATCH] arm1136: cosmetic: Remove double test on CONFIG_SYS_DCACHE_OFF

2012-10-05 Thread Albert ARIBAUD
Hi Benoît, On Thu, 4 Oct 2012 18:57:19 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > On Thursday, October 4, 2012 3:39:41 PM, Albert ARIBAUD wrote: > > Hi Benoît, > > > > On Tue, 14 Aug 2012 15:17:09 +0200 (CEST), Benoît Thébaudeau > > wrote: > > > > > Remove a redundant '#ifndef C

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-10-05 Thread Stefan Roese
On 10/05/2012 05:22 PM, Tom Rini wrote: Okay, probably better to add this code now. But shouldn't we add this code to the common SPL framework code then? Right before calling jump_to_image_linux()? >>> >>> Sure, I didn't mean it should go here (it needs to be somewhere >>> that kn

Re: [U-Boot] [PATCH 4/4] microblaze: Fix compilation failure because of missing libdts

2012-10-05 Thread Marek Vasut
Dear Michal Simek, > Protect dts/libdts.o by CONFIG_OF_EMBED. Better commit message would really help ... esp. if you could explain the problem. > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/u-boot.lds |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a

Re: [U-Boot] [PATCH 3/4] microblaze: Flush caches before enabling them

2012-10-05 Thread Marek Vasut
Dear Michal Simek, > Flushing caches is necessary because of soft reset > which doesn't clear caches. > > Signed-off-by: Michal Simek [...] Can the flushes not remain in the C code? Otherwise Reviewed-by: Marek Vasut Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH 2/4] microblaze: Fix byteorder for microblaze

2012-10-05 Thread Marek Vasut
Dear Michal Simek, > Just remove ancient code. > > Signed-off-by: Michal Simek > --- > arch/microblaze/include/asm/byteorder.h | 23 --- > 1 files changed, 0 insertions(+), 23 deletions(-) [...] Reviewed-by: Marek Vasut Best regards, Marek Vasut

Re: [U-Boot] [PATCH 1/4] microblaze: Fix compilation warning in ext2_find_next_zero_bit

2012-10-05 Thread Marek Vasut
Dear Michal Simek, > ext2_find_next_zero_bit must be also static if __swab32 is also static. > > Warning: > include/asm/bitops.h:369:22: warning: '__fswab32' is static but > used in inline function 'ext2_find_next_zero_bit' > which is not static [enabled by default] > > Signed-off-by: Michal Sim

Re: [U-Boot] [PATCH] arm: rmobile: bugfix: wrong register saving in lowlevel_init

2012-10-05 Thread Albert ARIBAUD
Hi Tetsuyuki, On Fri, 5 Oct 2012 13:39:22 +0900, Tetsuyuki Kobayashi wrote: > lowlevel_init() of rmobile badly assumed that ip register holds return > address. > The commit "63ee53a7 armv7 cpu_init_crit: Simplify code" breaks this > assumption. > This patch removes this bad assumption and sim

Re: [U-Boot] [PATCH v3 3/7] gpt:doc: GPT (GUID Partition Table) documentation

2012-10-05 Thread Stephen Warren
On 10/05/2012 04:35 AM, Lukasz Majewski wrote: > Hi Stephen, > >> On 09/13/2012 02:10 AM, Lukasz Majewski wrote: ... [patch to implement GPT creation] >> Then, I wonder if you couldn't define the partitions environment >> variable as: >> >> partitions=\ >> name=u-boot,size=60M,uuid=${uuid_gpt_u_bo

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-10-05 Thread Scott Wood
On 10/05/2012 10:22:40 AM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 06:15, Stefan Roese wrote: > On 10/04/2012 07:14 PM, Scott Wood wrote: >> On 10/04/2012 02:36:34 AM, Stefan Roese wrote: >>> On 10/02/2012 10:08 PM, Scott Wood wrote: >>> +void __noreturn jum

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-10-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 06:15, Stefan Roese wrote: > On 10/04/2012 07:14 PM, Scott Wood wrote: >> On 10/04/2012 02:36:34 AM, Stefan Roese wrote: >>> On 10/02/2012 10:08 PM, Scott Wood wrote: >>> +void __noreturn jump_to_image_linux(void *arg) +{ + >>> debu

Re: [U-Boot] [PATCH v3 3/7] gpt:doc: GPT (GUID Partition Table) documentation

2012-10-05 Thread Lukasz Majewski
Hi Stephen, > > > On 09/13/2012 02:10 AM, Lukasz Majewski wrote: > > > Documentation of the GPT format. > > > > > diff --git a/doc/README.gpt b/doc/README.gpt > > > > > +Example usage: > > > +== > > > + > > > +To restore GUID partition table one needs to: > > > +1. at ./include/conf

Re: [U-Boot] [PATCH v4 07/16] tegra: Add LCD driver

2012-10-05 Thread Marc Dietrich
Simon, I tried to adapt this for paz00. I only get backlight and an all white screen. On checking what's wrong I stumpled about something strange below... Marc On Thursday 27 September 2012 17:44:28 Simon Glass wrote: > This driver supports driving a single LCD and providing a U-Boot console >

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-10-05 Thread Stefan Roese
On 10/04/2012 07:14 PM, Scott Wood wrote: > On 10/04/2012 02:36:34 AM, Stefan Roese wrote: >> On 10/02/2012 10:08 PM, Scott Wood wrote: >> +void __noreturn jump_to_image_linux(void *arg) >> +{ >> +debug("Entering kernel arg pointer: 0x%p\n", arg); >> +typedef void (*

[U-Boot] [PATCH 3/4] microblaze: Flush caches before enabling them

2012-10-05 Thread Michal Simek
Flushing caches is necessary because of soft reset which doesn't clear caches. Signed-off-by: Michal Simek --- arch/microblaze/cpu/cache.c |5 - arch/microblaze/cpu/start.S |6 ++ arch/microblaze/lib/bootm.c |5 - include/configs/microblaze-gene

[U-Boot] [PATCH 4/4] microblaze: Fix compilation failure because of missing libdts

2012-10-05 Thread Michal Simek
Protect dts/libdts.o by CONFIG_OF_EMBED. Signed-off-by: Michal Simek --- arch/microblaze/cpu/u-boot.lds |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/cpu/u-boot.lds b/arch/microblaze/cpu/u-boot.lds index d033a28..349d36a 100644 --- a/arch/microblaze/cp

[U-Boot] [PATCH 2/4] microblaze: Fix byteorder for microblaze

2012-10-05 Thread Michal Simek
Just remove ancient code. Signed-off-by: Michal Simek --- arch/microblaze/include/asm/byteorder.h | 23 --- 1 files changed, 0 insertions(+), 23 deletions(-) diff --git a/arch/microblaze/include/asm/byteorder.h b/arch/microblaze/include/asm/byteorder.h index b2757a4..f3a4

[U-Boot] [PATCH 1/4] microblaze: Fix compilation warning in ext2_find_next_zero_bit

2012-10-05 Thread Michal Simek
ext2_find_next_zero_bit must be also static if __swab32 is also static. Warning: include/asm/bitops.h:369:22: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static [enabled by default] Signed-off-by: Michal Simek --- arch/microblaze/include/asm

[U-Boot] [PATCH 10/11] arm: ks8695: document bus speed

2012-10-05 Thread Yann Vernier
Just use the existing #define instead of magic number. --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S index 31b028b..ba37c28 100644

[U-Boot] [PATCH 07/11] arm: ks8695/cm4008/cm41xx: Parameterize SDRAM

2012-10-05 Thread Yann Vernier
Allows configuration macros to set SDRAM parameters. --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S index 74579ed.

[U-Boot] [PATCH 11/11] arm: cm4008, cm41xx: read MAC address from flash

2012-10-05 Thread Yann Vernier
Previously code to do this was in the Ethernet driver itself. Since it is board specific, moved it here, and altered it to support preset MAC from environment. --- board/cm4008/cm4008.c | 12 board/cm41xx/cm41xx.c | 12 2 files changed, 24 insertions(+) diff --git a/

[U-Boot] [PATCH 09/11] arm: ks8695/cm4xxx: don't reconfigure switch

2012-10-05 Thread Yann Vernier
A small bug caused code to set up LEDs to instead disable lots of functionality in the Ethernet switch, including bounds checks. --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arc

[U-Boot] [PATCH 08/11] arm: cm4008, cm41xx: don't define to 1

2012-10-05 Thread Yann Vernier
Removed needless values for configuration macros. --- include/configs/cm4008.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/cm4008.h b/include/configs/cm4008.h index 18f7900..43a2591 100644 --- a/include/configs/cm4008.h +++ b/include/configs/cm4

[U-Boot] [PATCH 02/11] arm: ks8695: more macros for register values

2012-10-05 Thread Yann Vernier
Adding macros for more configurable lowlevel_init code. Also cleanup of some typos. --- arch/arm/include/asm/arch-ks8695/platform.h | 55 - arch/arm/include/asm/arch-ks8695/regvalues.h | 112 ++ 2 files changed, 149 insertions(+), 18 deletions(-) diff --git

[U-Boot] [PATCH 06/11] arm: cm4008, cm41xx: Fix ROM relocation

2012-10-05 Thread Yann Vernier
Changed CONFIG_SYS_TEXT_BASE to actual address (required for board_init_f) and moved it into cm4{008,1xx}.h, along with a warning that it must match CONFIG_SYS_FLASH_BASE (since lowlevel_init relocates there). lowlevel_init now uses CONFIG_SYS_RCS0_BASE to map ROM. --- Changes for v2: - Update t

[U-Boot] [PATCH 04/11] arm: cm4008, cm41xx: use common cfi_flash support

2012-10-05 Thread Yann Vernier
This change allows use of other flash chips than the two supported by the cm4008 flash.c. Tested with Micrel KSZ8695X demo board. --- Changes for v2: - Update cm41xx also - Remove unused board specific flash code Changes for v3: - Do not define to 1 where it is not required, just define Ch

[U-Boot] [PATCH 03/11] arm: ks8695eth: Use MAC address from environment

2012-10-05 Thread Yann Vernier
Removed board specific MAC reading code from driver. Should move the reading to the cm4008/cm41xx board code. --- drivers/net/ks8695eth.c | 38 +- 1 file changed, 9 insertions(+), 29 deletions(-) diff --git a/drivers/net/ks8695eth.c b/drivers/net/ks8695eth.c

[U-Boot] [PATCH 05/11] arm: cm4008, cm41xx: set gd->ram_size in dram_init

2012-10-05 Thread Yann Vernier
Leave dram_init_banksize to set up the bank info data. ram_size was previously uninitialized. Also put data on SDRAM configuration in header file. Signed-off-by: Yann Vernier --- Changes for v2: - Update to use CONFIG_SYS_SDRAM_ constants - Update cm41xx also - Map SDRAM to match configu

[U-Boot] [PATCH 01/11] arm: ks8695: use defined constants for UART

2012-10-05 Thread Yann Vernier
CONFIG_BAUDRATE and KS8695_UART_LINEC_WLEN8 used for UART registers --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S index e9f1227.

[U-Boot] [PATCH 00/11] ks8695 (cm4008, cm41xx) bugfixes, constant removals, configuration generalized (repost)

2012-10-05 Thread Yann Vernier
On Thu, 4 Oct 2012 11:15:06 +0200 Albert ARIBAUD wrote: > Sorry it took me so long to crawl my backlog... This series was posted > with long lines folded apparently, which makes it impossible to process > and explains why patchwork did not have all of it. Can you please > repost it, this time usin

Re: [U-Boot] [PATCH] env: fix crash using default -f -a

2012-10-05 Thread Stefano Babic
On 05/10/2012 12:46, Gerlando Falauto wrote: > env default -a -f calls env_check_apply on all existing environment > variables with a NULL value for "newval" as a way of cleaning up. > This causes string manipulation functions to crash on most architectures. > So replace a NULL argument with an emp

Re: [U-Boot] [PATCH v1] env: fix crash using default -f -a

2012-10-05 Thread Stefano Babic
On 05/10/2012 12:58, Gerlando Falauto wrote: > My idea here was to "apply" the changes as soon as the environment gets > changed, like it would happen with a manual "setenv"/"env set". > So for instance, if you switch from a custom baudrate back to the > default baudrate, you get a message prompti

Re: [U-Boot] [PATCH v1] env: fix crash using default -f -a

2012-10-05 Thread Gerlando Falauto
Hi Stefano, On 10/05/2012 12:41 PM, Stefano Babic wrote: On 05/10/2012 12:29, Gerlando Falauto wrote: Hi Stefano, Hi Gerlando, thanks for reporting and providing a fix for this. I'm very sorry for introducing this problem and for the late response. Please see my comments below. [As a sid

Re: [U-Boot] [PATCH v3 5/7] gpt: Support for GPT (GUID Partition Table) restoration

2012-10-05 Thread Lukasz Majewski
Hi Stephen, > On 09/13/2012 02:10 AM, Lukasz Majewski wrote: > > The restoration of GPT table (both primary and secondary) is now > > possible. Simple GUID generation is supported. > > > diff --git a/include/part.h b/include/part.h > > > +int set_gpt_table(block_dev_desc_t *dev_desc, > > +

[U-Boot] [PATCH] env: fix crash using default -f -a

2012-10-05 Thread Gerlando Falauto
env default -a -f calls env_check_apply on all existing environment variables with a NULL value for "newval" as a way of cleaning up. This causes string manipulation functions to crash on most architectures. So replace a NULL argument with an empty string. Reported-By: Stefano Babic Signed-off-by

Re: [U-Boot] [PATCH v1] env: fix crash using default -f -a

2012-10-05 Thread Stefano Babic
On 05/10/2012 12:29, Gerlando Falauto wrote: > Hi Stefano, > Hi Gerlando, > thanks for reporting and providing a fix for this. > I'm very sorry for introducing this problem and for the late response. > > Please see my comments below. > > [As a side node, I couldn't really reproduce the issue n

Re: [U-Boot] [PATCH v3 3/7] gpt:doc: GPT (GUID Partition Table) documentation

2012-10-05 Thread Lukasz Majewski
Hi Stephen, > On 09/13/2012 02:10 AM, Lukasz Majewski wrote: > > Documentation of the GPT format. > > > diff --git a/doc/README.gpt b/doc/README.gpt > > > +Example usage: > > +== > > + > > +To restore GUID partition table one needs to: > > +1. at ./include/configs/{board}.h > > + -

Re: [U-Boot] [PATCH v1] env: fix crash using default -f -a

2012-10-05 Thread Gerlando Falauto
Hi Stefano, thanks for reporting and providing a fix for this. I'm very sorry for introducing this problem and for the late response. Please see my comments below. [As a side node, I couldn't really reproduce the issue neither on PowerPC nor on ARM (though simple_strtoul should legitimately cr

[U-Boot] Configure a MICRON DDR2 SDRAM MT47H512M4 - 64 Meg x 4 x 8 on MPC8323 custom board

2012-10-05 Thread SETTE AGOSTINO - technolabs
Hi all, I have a problem with MICRON DDR2 SDRAM MT47H512M4 - 64 Meg x 4 x 8 on a MPC8323 custom board. The size of the DDR causes a hang of the board. If I set the CONFIG_SYS_DDR_SIZE to 512 the u-boot hangs as follows U-Boot 2012.10-rc1 (Oct 05 2012 - 10:06:41)MPC83XX Reset Status: CPU: e3

[U-Boot] [PATCH v2 21/21] pmic: Extend PMIC framework to support battery related commands

2012-10-05 Thread Lukasz Majewski
Two extra commands: "pmic name bat state" and "pmic name bat charge" has been added to pmic framework. Those provides state display and charge capabilities to named batteries. The pmic_core.c file has been refactored to more consistent name scheme. Signed-off-by: Lukasz Majewski Signed-off-by: K

[U-Boot] [PATCH v2 20/21] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-10-05 Thread Lukasz Majewski
The battery connected to Samsung's Trats development board is now charged when voltage drops below threshold. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - Define separate *p_{} pointer instances for each power device available at Trats - On

[U-Boot] [PATCH v2 19/21] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-10-05 Thread Lukasz Majewski
When charging battery is necessary, the development board needs to be turned into low power mode for better efficiency. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - None --- board/samsung/trats/trats.c | 41

[U-Boot] [PATCH v2 18/21] pmic:max8997: Support for MAX8997 internal charger control

2012-10-05 Thread Lukasz Majewski
Support for MAX8997 built-in charger. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - power_init_battery() method added to be called from MAX8997 struct pmic instance --- drivers/power/max8997/pmic_max8997.c | 66 +

[U-Boot] [PATCH v2 17/21] arm:trats:pmic: Enable battery support at Samsung's TRATS board

2012-10-05 Thread Lukasz Majewski
Support for TRATS battery has been added. It is treated as a "normal" power related device and thereof controlled by pmic/power subsystem. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - New patch for v2. --- board/samsung/trats/trats.c |2

  1   2   >