Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, > On 09/18/12 11:33, Marek Vasut wrote: > > Dear Scott Wood, > > [snip] > > >> I think I got some wires crossed and was thinking about > >> printf/puts. We want those to be optimized away at compile time > >> (not pointed to a stub at link time) on an SPL that has no output > >> s

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Marek Vasut
Dear Thierry Reding, > On Tue, Sep 18, 2012 at 08:37:44PM +0200, Marek Vasut wrote: > > Dear Simon Glass, > > > > > Hi Thierry, > > > > > > On Tue, Sep 18, 2012 at 7:54 AM, Thierry Reding > > > > > > wrote: > > > > On Mon, Sep 17, 2012 at 02:39:01PM -0700, Simon Glass wrote: > > > >> Hi Thierr

Re: [U-Boot] [U-Boot,1/2,V2] ARM: Remove apollon board

2012-09-18 Thread Marek Vasut
Dear Tom Rini, > On Wed, Sep 05, 2012 at 05:16:55PM -, Marek Vasut wrote: > > This board is the only board that still sticks to OneNAND IPL. > > Remove this board, since we have SPL around for a while and > > OneNAND is well supported in the SPL framework. The board can > > be revived if neces

Re: [U-Boot] [PATCH v2 1/4] nand: Add support for unlock.invert

2012-09-18 Thread Joe Hershberger
Hi Scott, On Mon, Sep 17, 2012 at 5:35 PM, Scott Wood wrote: > On Wed, Aug 22, 2012 at 04:49:42PM -0500, Joe Hershberger wrote: >> NAND unlock command allows an invert bit to be set to unlock all but >> the selected page range. >> >> Signed-off-by: Joe Hershberger >> --- >> Changes in v2: >> - C

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Scott Wood
On 09/18/2012 01:33:11 PM, Marek Vasut wrote: Dear Scott Wood, > On 09/18/2012 01:03:17 PM, Marek Vasut wrote: > > I'd say the GCC must optimize it out anyway. > > I think I got some wires crossed and was thinking about printf/puts. > We want those to be optimized away at compile time (not point

Re: [U-Boot] [U-Boot, 1/3] dm: sparc: net: Fixup greth compile warnings

2012-09-18 Thread Marek Vasut
Dear Tom Rini, > On Fri, Jul 27, 2012 at 08:04:32AM -, Marek Vasut wrote: > > greth.c: In function ???greth_recv???: > > greth.c:507:3: warning: format ???%lx??? expects argument of type ???long > > unsigned int???, but argument 2 has type ???unsigned int??? [-Wformat] > > greth.c:507:3: warni

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/18/12 12:19, Marek Vasut wrote: > Dear Tom Rini, > >> On 09/18/12 11:33, Marek Vasut wrote: >>> Dear Scott Wood, >> >> [snip] >> I think I got some wires crossed and was thinking about printf/puts. We want those to be optimized away

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Scott Wood, > On 09/18/2012 01:33:11 PM, Marek Vasut wrote: > > Dear Scott Wood, > > > > > On 09/18/2012 01:03:17 PM, Marek Vasut wrote: > > > > I'd say the GCC must optimize it out anyway. > > > > > > I think I got some wires crossed and was thinking about printf/puts. > > > We want those

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, > On 09/18/12 12:19, Marek Vasut wrote: > > Dear Tom Rini, > > > >> On 09/18/12 11:33, Marek Vasut wrote: > >>> Dear Scott Wood, > >> > >> [snip] > >> > I think I got some wires crossed and was thinking about > printf/puts. We want those to be optimized away at compile

[U-Boot] [PATCH] mx6qsabresd: Add 8-bit USDHC support

2012-09-18 Thread Fabio Estevam
USDHC3 has 8 pins wired in mx6qsabresd. Configure the extra pins. Signed-off-by: Fabio Estevam --- board/freescale/mx6qsabresd/mx6qsabresd.c |4 1 file changed, 4 insertions(+) diff --git a/board/freescale/mx6qsabresd/mx6qsabresd.c b/board/freescale/mx6qsabresd/mx6qsabresd.c index 4f4

Re: [U-Boot] [PATCH 1/9] Tegra: T30: Add include files

2012-09-18 Thread Simon Glass
Hi Tom, On Thu, Sep 13, 2012 at 2:10 PM, Tom Warren wrote: > Tom, > > On Thu, Sep 13, 2012 at 11:06 AM, Tom Rini wrote: >> On Wed, Sep 12, 2012 at 03:10:47PM -0700, Tom Warren wrote: >> >>> Signed-off-by: Tom Warren >> >> A few things: >> - I see some #define FOO[space][space]val that should be

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 09:21:14PM +0200, Marek Vasut wrote: > Dear Thierry Reding, > > > On Tue, Sep 18, 2012 at 08:37:44PM +0200, Marek Vasut wrote: > > > Dear Simon Glass, > > > > > > > Hi Thierry, > > > > > > > > On Tue, Sep 18, 2012 at 7:54 AM, Thierry Reding > > > > > > > > wrote: > > >

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Marek Vasut
Dear Thierry Reding, [...] > > Sure, but after you apply the bounce buffer, you can safely invalidate > > the whole cacheline, so align it up and be done with it. > > That's what I proposed to do last time around but it was NAK'ed. By who? > At the > time I didn't ensure that the buffer was ac

Re: [U-Boot] [PATCH 2/9] Tegra: T30: Add AVP (arm720t) files

2012-09-18 Thread Simon Glass
Hi Tom, On Wed, Sep 12, 2012 at 3:10 PM, Tom Warren wrote: > Signed-off-by: Tom Warren > --- > arch/arm/cpu/arm720t/tegra30/Makefile | 48 +++ > arch/arm/cpu/arm720t/tegra30/board.h | 25 ++ > arch/arm/cpu/arm720t/tegra30/config.mk | 26 ++ > arch/arm/cpu/arm720t/tegra30/cpu.c | 5

Re: [U-Boot] [PATCH 4/9] Tegra: T30: Add common Tegra30 CPU files

2012-09-18 Thread Simon Glass
Hi Tom, On Wed, Sep 12, 2012 at 3:10 PM, Tom Warren wrote: > Signed-off-by: Tom Warren > --- > arch/arm/cpu/tegra30-common/Makefile| 51 ++ > arch/arm/cpu/tegra30-common/ap30.c | 98 +++ > arch/arm/cpu/tegra30-common/board.c | 141 > arch/arm/cpu/tegra30-commo

Re: [U-Boot] [PATCH 1/2] net: Allow netconsole settings to change after nc_start

2012-09-18 Thread Joe Hershberger
Hi Mike, On Fri, Aug 17, 2012 at 9:28 PM, Mike Frysinger wrote: > On Friday 17 August 2012 15:48:20 Joe Hershberger wrote: >> --- a/drivers/net/netconsole.c >> +++ b/drivers/net/netconsole.c >> >> +static int refresh_settings_from_env(void) > > this func always returns 0. why not change it to vo

Re: [U-Boot] [PATCH 6/9] Tegra30: Add Cardhu board files

2012-09-18 Thread Simon Glass
Hi Tom, On Wed, Sep 12, 2012 at 3:10 PM, Tom Warren wrote: > Signed-off-by: Tom Warren > --- > board/nvidia/cardhu/Makefile | 48 > board/nvidia/cardhu/cardhu.c | 87 +++ > board/nvidia/cardhu/pinmux-config-common.h | 346 >

Re: [U-Boot] [PATCH 7/9] Tegra30: Add config files (common and Cardhu)

2012-09-18 Thread Simon Glass
Hi Tom, On Wed, Sep 12, 2012 at 3:10 PM, Tom Warren wrote: > Signed-off-by: Tom Warren > --- > include/configs/cardhu.h | 52 +++ > include/configs/tegra30-common.h | 188 > ++ > 2 files changed, 240 insertions(+), 0 deletions(-) > create

Re: [U-Boot] [PATCH 8/9] Tegra30: Add common pinmux config in board_early_init_f

2012-09-18 Thread Simon Glass
Hi, On Thu, Sep 13, 2012 at 3:37 PM, Stephen Warren wrote: > On 09/12/2012 04:10 PM, Tom Warren wrote: >> Signed-off-by: Tom Warren >> --- >> board/nvidia/common/board.c | 27 ++- >> 1 files changed, 26 insertions(+), 1 deletions(-) > > Common code:-) :-) But ... > >>

[U-Boot] [PATCH 2/2] net: Filter incoming netconsole packets by IP

2012-09-18 Thread Joe Hershberger
Check the incoming packets' source IP address... if ncip isn't set to a broadcast address, only listen to the client at ncip. Signed-off-by: Joe Hershberger --- drivers/net/netconsole.c | 8 ++-- include/net.h| 3 ++- net/net.c| 1 + 3 files changed, 9 insertion

[U-Boot] [PATCH 1/2] net: Allow netconsole settings to change after nc_start

2012-09-18 Thread Joe Hershberger
Refresh the netconsole settings from the env before each packet instead of only on netconsole init. Signed-off-by: Joe Hershberger --- Changes in v2: - Made string pointer const drivers/net/netconsole.c | 96 1 file changed, 65 insertions(+), 31

[U-Boot] [PATCH 0/2] net: Netconsole port configuration and filtering

2012-09-18 Thread Joe Hershberger
This series depends on this patch: http://patchwork.ozlabs.org/patch/174282/ Changes in v2: - Made string pointer const Joe Hershberger (2): net: Allow netconsole settings to change after nc_start net: Filter incoming netconsole packets by IP drivers/net/netconsole.c | 104 +

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 09:36:18PM +0200, Marek Vasut wrote: > Dear Thierry Reding, > > [...] > > > > Sure, but after you apply the bounce buffer, you can safely invalidate > > > the whole cacheline, so align it up and be done with it. > > > > That's what I proposed to do last time around but it

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Simon Glass
Hi, On Tue, Sep 18, 2012 at 1:04 PM, Thierry Reding wrote: > On Tue, Sep 18, 2012 at 09:36:18PM +0200, Marek Vasut wrote: >> Dear Thierry Reding, >> >> [...] >> >> > > Sure, but after you apply the bounce buffer, you can safely invalidate >> > > the whole cacheline, so align it up and be done wit

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/18/12 12:25, Marek Vasut wrote: > Dear Tom Rini, > >> On 09/18/12 12:19, Marek Vasut wrote: >>> Dear Tom Rini, >>> On 09/18/12 11:33, Marek Vasut wrote: > Dear Scott Wood, [snip] >> I think I got some wires crossed

Re: [U-Boot] [PATCH v3 09/11] S3C24XX: Add NAND Flash driver

2012-09-18 Thread Scott Wood
On 09/18/2012 01:48:09 PM, José Miguel Gonçalves wrote: On 18-09-2012 19:30, Scott Wood wrote: On 09/18/2012 01:22:58 PM, José Miguel Gonçalves wrote: On 18-09-2012 19:02, Scott Wood wrote: Please consider using the new SELF_INIT mechanism. Can you explain and/or point_to_resources for what

[U-Boot] [PATCH] AM335X: Set fdt_high for AM335X devices to enable booting with Device Tree

2012-09-18 Thread Vaibhav Hiremath
For AM335X boards, such as the EVM and Bone Linux kernel fails to locate the device tree blob on boot. The reason being is that u-boot is copying the DT blob to the upper part of RAM when booting the kernel and the kernel is unable to access the blob. By setting the fdt_high variable to 0x

[U-Boot] [PATCH] am33xx: Fix fetching of mmc1 bootmode from bootrom for AM33XX

2012-09-18 Thread Joel A Fernandes
U-boot should not ignore getting the bootmode passed on from the bootrom. With this, U-boot SPL knows it was loaded from MMC1 and use this info to read full U-boot from MMC1 as well. Cc: pprak...@ti.com Cc: tr...@ti.com Signed-off-by: Joel A Fernandes --- arch/arm/cpu/armv7/omap-common/lowlevel_

Re: [U-Boot] [PATCH 1/9] Tegra: T30: Add include files

2012-09-18 Thread Tom Warren
Simon, On Tue, Sep 18, 2012 at 12:29 PM, Simon Glass wrote: > Hi Tom, > > On Thu, Sep 13, 2012 at 2:10 PM, Tom Warren wrote: >> Tom, >> >> On Thu, Sep 13, 2012 at 11:06 AM, Tom Rini wrote: >>> On Wed, Sep 12, 2012 at 03:10:47PM -0700, Tom Warren wrote: >>> Signed-off-by: Tom Warren >>> >>

Re: [U-Boot] [PATCH 2/9] Tegra: T30: Add AVP (arm720t) files

2012-09-18 Thread Tom Warren
Simon, On Tue, Sep 18, 2012 at 12:37 PM, Simon Glass wrote: > Hi Tom, > > On Wed, Sep 12, 2012 at 3:10 PM, Tom Warren wrote: >> Signed-off-by: Tom Warren >> --- >> arch/arm/cpu/arm720t/tegra30/Makefile | 48 +++ >> arch/arm/cpu/arm720t/tegra30/board.h | 25 ++ >> arch/arm/cpu/arm720t/te

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, > On 09/18/12 12:25, Marek Vasut wrote: > > Dear Tom Rini, > > > >> On 09/18/12 12:19, Marek Vasut wrote: > >>> Dear Tom Rini, > >>> > On 09/18/12 11:33, Marek Vasut wrote: > > Dear Scott Wood, > > [snip] > > >> I think I got some wires crossed and wa

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Marek Vasut
Dear Thierry Reding, > On Tue, Sep 18, 2012 at 09:36:18PM +0200, Marek Vasut wrote: > > Dear Thierry Reding, > > > > [...] > > > > > > Sure, but after you apply the bounce buffer, you can safely > > > > invalidate the whole cacheline, so align it up and be done with it. > > > > > > That's what

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Marek Vasut
Dear Simon Glass, > Hi, > > On Tue, Sep 18, 2012 at 1:04 PM, Thierry Reding > > wrote: > > On Tue, Sep 18, 2012 at 09:36:18PM +0200, Marek Vasut wrote: > >> Dear Thierry Reding, > >> > >> [...] > >> > >> > > Sure, but after you apply the bounce buffer, you can safely > >> > > invalidate the w

Re: [U-Boot] [PATCH 7/9] Tegra30: Add config files (common and Cardhu)

2012-09-18 Thread Tom Warren
Simon, On Tue, Sep 18, 2012 at 12:46 PM, Simon Glass wrote: > Hi Tom, > > On Wed, Sep 12, 2012 at 3:10 PM, Tom Warren wrote: >> Signed-off-by: Tom Warren >> --- >> include/configs/cardhu.h | 52 +++ >> include/configs/tegra30-common.h | 188 >> ++

Re: [U-Boot] [GIT PULL] mpc83xx: mpc8308rdb enhancements

2012-09-18 Thread Kim Phillips
On Tue, 18 Sep 2012 07:57:08 -0700 Tom Rini wrote: > On 09/17/12 20:09, Ira W. Snyder wrote: > > Go ahead and drop the patch "spansion: add support for S25FL256S1" > > from the series. The rest should apply without any trouble. > > > > Michal Simek beat me to it in "sf: spansion: Add support for

Re: [U-Boot] [PATCH 2/2] Add unlzo command

2012-09-18 Thread Joe Hershberger
Hi Mike, On Fri, Aug 17, 2012 at 6:26 PM, Mike Frysinger wrote: > On Friday 17 August 2012 16:59:44 Joe Hershberger wrote: >> --- a/common/Makefile >> +++ b/common/Makefile >> >> ifdef CONFIG_LZMA >> COBJS-$(CONFIG_CMD_UNLZMA) += cmd_unlzma.o >> endif >> +ifdef CONFIG_LZO >> +COBJS-$(CONFIG_CM

Re: [U-Boot] [PATCH 8/9] Tegra30: Add common pinmux config in board_early_init_f

2012-09-18 Thread Tom Warren
Simon, On Tue, Sep 18, 2012 at 12:53 PM, Simon Glass wrote: > Hi, > > On Thu, Sep 13, 2012 at 3:37 PM, Stephen Warren wrote: >> On 09/12/2012 04:10 PM, Tom Warren wrote: >>> Signed-off-by: Tom Warren >>> --- >>> board/nvidia/common/board.c | 27 ++- >>> 1 files change

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Scott Wood
On 09/18/2012 04:19:07 PM, Marek Vasut wrote: Dear Tom Rini, > (and then see if we can change since > as Scott notes, this needs to work for 4kb boards and that is tight). What exactly are the 4k boards? Anything that uses fsl_elbc_nand is 4K. I think most (all?) of the ppc 4xx boards a

Re: [U-Boot] [PATCH 8/9] Tegra30: Add common pinmux config in board_early_init_f

2012-09-18 Thread Stephen Warren
On 09/18/2012 03:32 PM, Tom Warren wrote: ... > As far as I'm aware, an FDT pinmux for Tegra (which is on my plate, > but quite a bit behind T30) would be essentially the same deal - one > large list of mux settings per build/board. Initializing pinmux from DT can work either way, depending on how

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, > On 09/18/12 12:25, Marek Vasut wrote: > > Dear Tom Rini, > > > >> On 09/18/12 12:19, Marek Vasut wrote: > >>> Dear Tom Rini, > >>> > On 09/18/12 11:33, Marek Vasut wrote: > > Dear Scott Wood, > > [snip] > > >> I think I got some wires crossed and wa

[U-Boot] [PATCH V3 1/8] disk: parameterize get_device_and_partition's loop count

2012-09-18 Thread Stephen Warren
From: Stephen Warren Create #define MAX_SEARCH_PARTITIONS to indicate how many partition IDs get_device_and_partition()'s automatic mode should search through. Also, search 1..n not 1..n-1 - it's unlikely anyone has this many partitions, but given the loop is 1-based, including the limit seems mo

[U-Boot] [PATCH V3 0/8] disk: "part" command and dependencies

2012-09-18 Thread Stephen Warren
From: Stephen Warren This series: a) Fixes some issues in Rob Herring's get_device_and_partition series. b) Implements a new "part" command, for dumping partition tables and UUIDs. The series is based on a merge of u-boot-tegra/master, u-boot-usb/master, and u-boot/ext4, although only u-boot/ext

[U-Boot] [PATCH V3 3/8] disk: introduce get_device()

2012-09-18 Thread Stephen Warren
From: Stephen Warren This patch introduces function get_device(). This looks up a block_dev_desc_t from an interface name (e.g. mmc) and device number (e.g. 0). This function is essentially the non-partition-specific prefix of get_device_and_partition(). Signed-off-by: Stephen Warren --- v3: Ne

[U-Boot] [PATCH V3 2/8] disk: fix get_device_and_partition() bootable search

2012-09-18 Thread Stephen Warren
From: Stephen Warren The existing get_device_and_partition() bootable search loop attempts to save the current best known partition in variable best_part. However, it's actually just saving a copy of the (static) "info" variable, and hence ends up not doing anything much useful if no bootable par

[U-Boot] [PATCH V3 4/8] disk: get_device_and_partition() enhancements

2012-09-18 Thread Stephen Warren
From: Stephen Warren Rework get_device_and_partition to: a) Make use of get_device(). b) Add parameter to indicate whether returning a whole device is acceptable, or whether a partition is mandatory. c) Make error-checking of the user's device-/partition-specification more complete. In part

[U-Boot] [PATCH V3 5/8] disk: part_efi: range-check partition number

2012-09-18 Thread Stephen Warren
From: Stephen Warren Enhance get_partition_info_efi() to range-check the partition number. This prevents invalid partitions being accessed, and prevents access beyond the end of the gpt_pte[] array. Signed-off-by: Stephen Warren --- v3: No change. v2: New patch. --- disk/part_efi.c |7

[U-Boot] [PATCH V3 7/8] disk: part_msdos: parse and store partition UUID

2012-09-18 Thread Stephen Warren
From: Stephen Warren The MSDOS/MBR partition table includes a 32-bit unique ID, often referred to as the NT disk signature. When combined with a partition number within the table, this can form a unique ID similar in concept to EFI/GPT's partition UUID. This patch generates UUIDs in the format 0

[U-Boot] [PATCH V3 6/8] disk: part_efi: parse and store partition UUID

2012-09-18 Thread Stephen Warren
From: Stephen Warren Each EFI partition table entry contains a UUID. Extend U-Boot's struct disk_partition to be able to store this information, and modify get_partition_info_efi() to fill it in. The implementation of uuid_string() was derived from the Linux kernel, tag v3.6-rc4 file lib/vsprint

[U-Boot] [PATCH V3 8/8] cmd_part: add partition-related command

2012-09-18 Thread Stephen Warren
From: Stephen Warren This implements the following: part uuid mmc 0:1 -> print partition UUID part uuid mmc 0:1 uuid -> set environment variable to partition UUID part list mmc 0 -> list the partitions on the specified device "part uuid" can be useful when writing a bootcmd which searches

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Simon Glass
Hi, On Tue, Sep 18, 2012 at 2:21 PM, Marek Vasut wrote: > Dear Simon Glass, > >> Hi, >> >> On Tue, Sep 18, 2012 at 1:04 PM, Thierry Reding >> >> wrote: >> > On Tue, Sep 18, 2012 at 09:36:18PM +0200, Marek Vasut wrote: >> >> Dear Thierry Reding, >> >> >> >> [...] >> >> >> >> > > Sure, but after y

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Marek Vasut
Dear Simon Glass, > Hi, > > On Tue, Sep 18, 2012 at 2:21 PM, Marek Vasut wrote: > > Dear Simon Glass, > > > >> Hi, > >> > >> On Tue, Sep 18, 2012 at 1:04 PM, Thierry Reding > >> > >> wrote: > >> > On Tue, Sep 18, 2012 at 09:36:18PM +0200, Marek Vasut wrote: > >> >> Dear Thierry Reding, > >>

Re: [U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-18 Thread Graeme Russ
Hi Tomas On Tue, Sep 18, 2012 at 5:13 PM, Tomas Hlavacek wrote: > early_malloc for DM with support for more heaps and lightweight > first heap on stack. Technically, you are not putting the first heap on the stack - you are sacrificing some early stack space to create the early heap > > Adaptat

Re: [U-Boot] [GIT PULL] mpc83xx: mpc8308rdb enhancements

2012-09-18 Thread Tom Rini
On Tue, Sep 18, 2012 at 04:22:01PM -0500, Kim Phillips wrote: > On Tue, 18 Sep 2012 07:57:08 -0700 > Tom Rini wrote: > > > On 09/17/12 20:09, Ira W. Snyder wrote: > > > Go ahead and drop the patch "spansion: add support for S25FL256S1" > > > from the series. The rest should apply without any trou

Re: [U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-18 Thread Graeme Russ
Hi Marek, On Tue, Sep 18, 2012 at 8:57 PM, Marek Vasut wrote: > Dear Tomas Hlavacek, > >> early_malloc for DM with support for more heaps and lightweight >> first heap on stack. >> >> Adaptation layer for seamless calling of early_malloc or dlmalloc from >> DM based on init stage added (dmmalloc(

Re: [U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-18 Thread Marek Vasut
Dear Graeme Russ, > Hi Marek, > > On Tue, Sep 18, 2012 at 8:57 PM, Marek Vasut wrote: > > Dear Tomas Hlavacek, > > > >> early_malloc for DM with support for more heaps and lightweight > >> first heap on stack. > >> > >> Adaptation layer for seamless calling of early_malloc or dlmalloc from > >

[U-Boot] [PATCH] README.commands: Document what UNDEF_SYM does

2012-09-18 Thread Tom Rini
Signed-off-by: Tom Rini --- doc/README.commands |6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/README.commands b/doc/README.commands index 27815d2..21abfb6 100644 --- a/doc/README.commands +++ b/doc/README.commands @@ -22,6 +22,12 @@ This makes it possible for the final link to

Re: [U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-18 Thread Graeme Russ
Hi Marek, On Wed, Sep 19, 2012 at 9:33 AM, Marek Vasut wrote: > Dear Graeme Russ, > [snip] >> >> +struct early_heap_header *early_brk(size_t size) >> >> + __attribute__((weak, alias("def_early_brk"))); >> > >> > what about using (it needs ): >> > >> > __weak struct early_heap_header *early_

Re: [U-Boot] [PATCH 41/71] serial: arm: Implement CONFIG_SERIAL_MULTI into atmel serial driver

2012-09-18 Thread Andreas Bießmann
Dear Marek Vasut, On 17.09.2012 01:21, Marek Vasut wrote: Implement support for CONFIG_SERIAL_MULTI into atmel serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the atmel driv

Re: [U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-18 Thread Marek Vasut
Dear Graeme Russ, > Hi Marek, > > On Wed, Sep 19, 2012 at 9:33 AM, Marek Vasut wrote: > > Dear Graeme Russ, > > [snip] > > >> >> +struct early_heap_header *early_brk(size_t size) > >> >> + __attribute__((weak, alias("def_early_brk"))); > >> > > >> > what about using (it needs ): > >> > >

Re: [U-Boot] Cleanup of CCGR registers (was [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support)

2012-09-18 Thread Eric Nelson
On 09/18/2012 06:50 AM, Stefano Babic wrote: On 18/09/2012 15:28, Eric Nelson wrote: Do you have a reference to the patch so I can follow precedent? See http://patchwork.ozlabs.org/patch/177403/ Check changes in .h. Should I remove the un-named macros? MXC_CCM_CCGRx_CGy_OFFSET

[U-Boot] [PATCH 10/11] mx6qsabrelite: imximage.cfg: allow plugin to work

2012-09-18 Thread Troy Kisky
Enabling plugin mode seems to require this additional memory write for ddr3 initialization. Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/

[U-Boot] [PATCH 02/11] imximage: check dcd_len as entries added

2012-09-18 Thread Troy Kisky
Before the len was checked after the entire file was processed, so it could have already overflowed. Signed-off-by: Troy Kisky --- tools/imximage.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c index 25d3b74

[U-Boot] [PATCH 08/11] mx6: add plugin file for use with imximage.cfg

2012-09-18 Thread Troy Kisky
The "plugin" command of mkimage can take this file as an argument. Signed-off-by: Troy Kisky --- arch/arm/cpu/armv7/mx6/Makefile |5 +- arch/arm/cpu/armv7/mx6/plugin.S | 141 +++ 2 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 arch/a

[U-Boot] [PATCH 11/11] RFC mx6qsabrelite: imximage.cfg: enable plugin mode

2012-09-18 Thread Troy Kisky
Don't apply this patch yet, because although u-boot will boot, Linux won't The other CPU's won't come online, and L2 cache initialization crashes Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgro

[U-Boot] (no subject)

2012-09-18 Thread Troy Kisky
This is the 1st part of a series meant to add mx6solo/mx6duallite support for a saberlite. I stopped at the last patch because with it applied, Linux will no longer boot. However, the same plugin code used under imx-android-r13.3 will work fine. So, the last patch in the series is not ready to

[U-Boot] [PATCH 06/11] imximage: add plugin commands

2012-09-18 Thread Troy Kisky
Add commands plugin address filename iomux_entry addr, data1 [, data2, [, data3]] write_entry addr, data1 [, data2, [, data3]] Signed-off-by: Troy Kisky --- tools/imximage.c | 338 -- tools/imximage.h | 11 +- 2 files changed, 287 insertions

[U-Boot] [PATCH 01/11] imximage: make header variable length

2012-09-18 Thread Troy Kisky
Also, the header offset is no longer right before the code starts. Signed-off-by: Troy Kisky --- tools/imximage.c | 142 +++--- tools/imximage.h | 10 ++-- 2 files changed, 87 insertions(+), 65 deletions(-) diff --git a/tools/imximage.c b/tools

[U-Boot] [PATCH 03/11] imximage: enable word writes for version2 header

2012-09-18 Thread Troy Kisky
Before, only 1 write_dcd_command table was built. Now, a new table is built when the size changes. Signed-off-by: Troy Kisky --- tools/imximage.c | 153 ++ tools/imximage.h | 15 ++ 2 files changed, 77 insertions(+), 91 deletions(-) dif

[U-Boot] [PATCH 05/11] imximage: add expression evaluation

2012-09-18 Thread Troy Kisky
Basic expressions with order precedence is now supported. ie. (3 + ((1+2*3)/--2 + --5 *(8/4))) is 16. Signed-off-by: Troy Kisky --- tools/imximage.c | 172 ++ 1 file changed, 162 insertions(+), 10 deletions(-) diff --git a/tools/imximage.

[U-Boot] [PATCH 04/11] imximage: cleanup parsing

2012-09-18 Thread Troy Kisky
Move to pulling tokens instead of pushing them. Remove need for switch statements to process commands. Add error messages such as "command not finished", "extra data at end of line", and "invalid token" Add ';' as command separator. Signed-off-by: Troy Kisky --- tools/imximage.c | 380 +

[U-Boot] [PATCH 09/11] mx6qsabrelite: imximage.cfg: use symbols instead of hardcoded constants

2012-09-18 Thread Troy Kisky
This allows us to generate plugin data or DCD rom style data simply by defining USE_PLUGIN Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/imx-mkimage.h | 163 + board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 248 +- 2 files changed, 290 ins

Re: [U-Boot] [RFC] mx6qsabresd: Add Ethernet support

2012-09-18 Thread Kim Phillips
On Tue, 18 Sep 2012 14:08:50 -0300 Fabio Estevam wrote: > Add Ethernet support. > > Signed-off-by: Fabio Estevam > --- > As far as I can see mx6qarm2 and mx6qsabresd has the same circuitry related to > AR8031 Ethernet PHY. > > However, with this patch I still get 25MHz instead of 125MHz in the

Re: [U-Boot] [PATCH V3 2/8] disk: fix get_device_and_partition() bootable search

2012-09-18 Thread Rob Herring
On 09/18/2012 05:37 PM, Stephen Warren wrote: > From: Stephen Warren > > The existing get_device_and_partition() bootable search loop attempts > to save the current best known partition in variable best_part. However, > it's actually just saving a copy of the (static) "info" variable, and > hence

Re: [U-Boot] [PATCH V3 3/8] disk: introduce get_device()

2012-09-18 Thread Rob Herring
On 09/18/2012 05:37 PM, Stephen Warren wrote: > From: Stephen Warren > > This patch introduces function get_device(). This looks up a > block_dev_desc_t from an interface name (e.g. mmc) and device number > (e.g. 0). This function is essentially the non-partition-specific > prefix of get_device_a

Re: [U-Boot] [PATCH V3 3/8] disk: introduce get_device()

2012-09-18 Thread Rob Herring
On 09/18/2012 08:21 PM, Rob Herring wrote: > On 09/18/2012 05:37 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> This patch introduces function get_device(). This looks up a >> block_dev_desc_t from an interface name (e.g. mmc) and device number >> (e.g. 0). This function is essentially th

[U-Boot] [PATCH] i.MX6: get rid of redundant struct src_regs (dupe of struct src)

2012-09-18 Thread Eric Nelson
Signed-off-by: Eric Nelson --- arch/arm/cpu/armv7/mx6/soc.c |2 +- arch/arm/include/asm/arch-mx6/imx-regs.h | 21 - 2 files changed, 1 insertions(+), 22 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 7380ffe..bc65

Re: [U-Boot] [PATCH 08/11] mx6: add plugin file for use with imximage.cfg

2012-09-18 Thread Troy Kisky
On 9/18/2012 5:03 PM, Troy Kisky wrote: The "plugin" command of mkimage can take this file as an argument. Signed-off-by: Troy Kisky --- arch/arm/cpu/armv7/mx6/Makefile |5 +- arch/arm/cpu/armv7/mx6/plugin.S | 141 +++ 2 files changed, 145 insertions

Re: [U-Boot] [PATCH] i.MX6: get rid of redundant struct src_regs (dupe of struct src)

2012-09-18 Thread Troy Kisky
On 9/18/2012 6:26 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson --- arch/arm/cpu/armv7/mx6/soc.c |2 +- arch/arm/include/asm/arch-mx6/imx-regs.h | 21 - 2 files changed, 1 insertions(+), 22 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/ar

Re: [U-Boot] [PATCH 11/11] RFC mx6qsabrelite: imximage.cfg: enable plugin mode

2012-09-18 Thread Troy Kisky
On 9/18/2012 5:03 PM, Troy Kisky wrote: Don't apply this patch yet, because although u-boot will boot, Linux won't The other CPU's won't come online, and L2 cache initialization crashes Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280) pid_max: default: 32768 minimum: 301 Mount-cache

Re: [U-Boot] [PATCH] Exynos5250: Enable PXE Support

2012-09-18 Thread Minkyu Kang
On 18 September 2012 15:22, Chander Kashyap wrote: > ping > > On 5 September 2012 16:08, Chander Kashyap wrote: >> Add PXE support for the Exynos5250. >> >> Signed-off-by: Chander Kashyap >> --- >> include/configs/smdk5250.h |6 ++ >> 1 file changed, 6 insertions(+) >> applied to u-boo

Re: [U-Boot] [RFC] mx6qsabresd: Add Ethernet support

2012-09-18 Thread Fabio Estevam
Hi Kim, On Tue, Sep 18, 2012 at 9:20 PM, Kim Phillips wrote: > I managed to get it working a while back, at least on 1Gb links. > The following hack is based on the original version of your sabresd > support patch and the fsl bsp's. AFAICT, the largest difference is > how it taps into PHYLIB fo

[U-Boot] [PATCH] mx6qsabresd: Add Ethernet support

2012-09-18 Thread Fabio Estevam
From: Fabio Estevam mx6qsabresd has a AR8031 Gigabit PHY. Add support for it. Also increase CONFIG_SYS_MALLOC_LEN so that FEC buffer allocation does not fail. Tested on 1Gbp and 100Mbps networks. Suggested-by: Kim Phillips Signed-off-by: Fabio Estevam --- board/freescale/mx6qsabresd/mx6qs

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Stefan Roese
On 09/18/2012 11:51 PM, Scott Wood wrote: >>> (and then see if we can change since >>> as Scott notes, this needs to work for 4kb boards and that is >> tight). >> >> What exactly are the 4k boards? > > Anything that uses fsl_elbc_nand is 4K. I think most (all?) of the ppc > 4xx boards are 4K.

<    1   2