Re: [U-Boot] [PATCH 2/2 V2] Changes to move hawkboard to the new spl infrastructure.

2012-01-10 Thread Sughosh Ganu
hi Heiko, On Wed Jan 11, 2012 at 07:52:02AM +0100, Heiko Schocher wrote: > Hello Sughosh, > > Sughosh Ganu wrote: > > This patch moves hawkboard to the new spl infrastructure from the > > older nand_spl one. > > > > Removed the hawkboard_nand_config build option -- The spl code now > > gets comp

Re: [U-Boot] [PATCH 1/8] powerpc/srio: Correct the register defined errors in the struct ccsr_rio_t

2012-01-10 Thread Wolfgang Denk
Dear Liu Gang, In message <1326195751-20729-1-git-send-email-gang@freescale.com> you wrote: > Many registers were not defined in the struct ccsr_rio_t in the file > arch/powerpc/include/asm/immap_85xx.h. For example it lacks registers > from offset 0xc0600 to 0xd0160. Accordingly, some registe

Re: [U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Wolfgang Denk
Dear Liu Gang, In message <1326195751-20729-2-git-send-email-gang@freescale.com> you wrote: > When defined CONFIG_ENV_IS_NOWHERE, there will be some compilation errors: > > ./common/env_nowhere.o: In function `env_relocate_spec': > ./common/env_nowhere.c:38: multiple definition of `env_reloca

Re: [U-Boot] [PATCH 4/8] powerpc/boot: Master module for boot from SRIO

2012-01-10 Thread Wolfgang Denk
Dear Liu Gang, In message <1326195751-20729-4-git-send-email-gang@freescale.com> you wrote: > For the powerpc processors with SRIO interface, boot location can be > configured > from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without > flash > for u-boot image. The image c

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Wolfgang Denk
Dear Liu Gang-B34182, In message <9a1c2a9acc704641bc472a1588ce1647164...@039-sn1mpn1-005.039d.mgd.msft.net> you wrote: > > Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code > that uses it? > [Liu Gang-B34182] Sorry I documented this definition in "[PATCH 6/8] > power

Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Wolfgang Denk
Dear Liu Gang, In message <1326195751-20729-6-git-send-email-gang@freescale.com> you wrote: > When boot from SRIO, slave's ucode can be stored in master's memory space, > then slave can fetch the ucode image through SRIO interface. ... > + /* configure inbound window for slave's ucode */ >

Re: [U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics

2012-01-10 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > This patch adds support for the Calimain board from > OMICRON electronics GmbH. The board features a Texas Instruments AM1808 > SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and > CS3. > > Signed-off-by: Christian Riesch > --- >

[U-Boot] [GIT PULL] Pull request: i2c

2012-01-10 Thread Heiko Schocher
Hello Wolfgang, The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master e...@bus-elektronik.de (1): fix: error ATME

Re: [U-Boot] [PATCH I2C] fix: error ATMEL_FIO_BASE undeclared, if use I2C_Soft on AT91

2012-01-10 Thread Heiko Schocher
Hello e...@bus-elektronik.de (Jens?), e...@bus-elektronik.de wrote: > * Since AT91 name schema was changed to ATMEL_BASE_xxx, I2C_SOFT > on AT91 devices fails with 'error: ATMEL_FIO_BASE undeclared' > * change ATMEL_PIO_BASE to ATMEL_BASE_PIOA will fix this > > Signed-off-by: Jens Scharsig >

Re: [U-Boot] [PATCH v4 1/5] ARM:AM33XX: Replace CONFIG_AM335X with CONFIG_AM33XX

2012-01-10 Thread Thomas Weber
Hello Chandan, On 10.01.2012 07:38, Chandan Nath wrote: > This patch is added to replace CONFIG_AM335X symbol > with CONFIG_AM333XX for AM33XX platforms. > One 3 in CONFIG_AM333XX too much, but only in description. It runs on the Beaglebone. Tested-by: Thomas Weber Thanks. Thomas > Signed-off-

Re: [U-Boot] [RFC] [PATCH] DaVinci/i2c: allow multiple buses

2012-01-10 Thread Heiko Schocher
Hello Tom, Jérôme, Sorry for the late reply, but I just starting to look through my backlog, after my vacation ... Tom Rini wrote: > On Wed, Dec 21, 2011 at 10:36 PM, Jérôme Carretero > wrote: >> Hi Tom, >> >> I'm requesting comments on the following (untested) patch. >> It adds support for mul

Re: [U-Boot] [PATCH 2/2 V2] Changes to move hawkboard to the new spl infrastructure.

2012-01-10 Thread Heiko Schocher
Hello Sughosh, Sughosh Ganu wrote: > This patch moves hawkboard to the new spl infrastructure from the > older nand_spl one. > > Removed the hawkboard_nand_config build option -- The spl code now > gets compiled with hawkboard_config, after building the main u-boot > image, using the CONFIG_SPL_T

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-10 Thread Sughosh Ganu
On Tue Jan 10, 2012 at 09:07:58PM +0100, Marek Vasut wrote: > > The current implementation invalidates the cache instead of flushing > > it. This causes problems on platforms where the spl/u-boot is already > > loaded to the RAM, with caches enabled by a first stage bootloader. > > What platforms

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-10 Thread Govindraj
Hi Marek, Thanks for you review. On Tue, Jan 10, 2012 at 9:37 PM, Marek Vasut wrote: >> From: "Govindraj.R" >> >> Clean up added ehci-omap.c and make it generic for re-use across >> soc having same ehci ip block. Also pass the modes to be configured >> and configure the ports accordingly. All u

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Liu Gang-B34182
Thanks very much! I'll update the patch based on your comments. Best Regards, Liu Gang -Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 11:00 AM To: Liu Gang-B34182 Cc: 'u-boot@lists.denx.de'; 'alexandre.boun...@idt.com'; Gala Kumar-B11780; Zang Roy-R61911;

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Liu Gang-B34182
-Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 1:11 AM To: Liu Gang-B34182 Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang Roy-R61911; Xie Shaohui-B21989 Subject: Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from

Re: [U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Liu Gang-B34182
Hi, Timur, Thanks for your comments. Please find my replies inline. Best Regards, Liu Gang -Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 12:48 AM To: Liu Gang-B34182 Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang Roy-R61911 S

Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Liu Gang-B34182
-Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 1:03 AM To: Liu Gang-B34182 Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang Roy-R61911; Xie Shaohui-B21989 Subject: Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when b

[U-Boot] [PATCH v3 RESEND 3/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread HeungJun, Kim
This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- Changes for RESEND since v3 - Add prefix board_ for board functions - Rename setup.h from trats_setup.h - Remove *_OFFSET in setup.h - Remove GPIO and UART definitions in setup.h

[U-Boot] [PATCH v3 RESEND] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread HeungJun, Kim
This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- Changes for RESEND since v3 - Add prefix board_ for board functions - Rename setup.h from trats_setup.h - Remove *_OFFSET in setup.h - Remove GPIO and UART definitions in setup.h

Re: [U-Boot] [PATCH v3 3/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread Kim, Heungjun
Hi Minkyu Kang, On 2012년 01월 11일 11:35, Minkyu Kang wrote: Dear HeungJun, Kim, On 10 January 2012 18:00, HeungJun, Kim wrote: This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- MAINTAINERS |4 + board/sam

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Tabi Timur-B04825
Liu Gang-B34182 wrote: > Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code > that uses it? > [Liu Gang-B34182] Sorry I documented this definition in "[PATCH 6/8] > powerpc/boot: Slave uploads ucode when boot from SRIO", You need to update the README. That's where all t

Re: [U-Boot] [PATCH v3 3/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread Minkyu Kang
Dear HeungJun, Kim, On 10 January 2012 18:00, HeungJun, Kim wrote: > This patch adds support for Samsung TRATS board > > Signed-off-by: HeungJun, Kim > Signed-off-by: Kyungmin Park > --- >  MAINTAINERS                       |    4 + >  board/samsung/trats/Makefile      |   43 ++ >  board/samsun

Re: [U-Boot] [PATCH 1/3] linkage.h: move from blackfin to common includes

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 21:05:35 Fabio Estevam wrote: > On Wed, Nov 30, 2011 at 5:23 AM, Macpaul Lin wrote: > > Add linkage.h support from blackfin to common include, > > which is a reduced version from Linux. > > > > Signed-off-by: Macpaul Lin > > --- > > arch/blackfin/include/asm/linkage.h

Re: [U-Boot] [PATCH 1/3] linkage.h: move from blackfin to common includes

2012-01-10 Thread Fabio Estevam
On Wed, Nov 30, 2011 at 5:23 AM, Macpaul Lin wrote: > Add linkage.h support from blackfin to common include, > which is a reduced version from Linux. > > Signed-off-by: Macpaul Lin > --- >  arch/blackfin/include/asm/linkage.h |   74 > --- >  include/linux/linkage.

Re: [U-Boot] [PATCH v2] linkage.h: move from blackfin to common includes

2012-01-10 Thread Macpaul Lin
Hi Mike, 2012/1/11 Mike Frysinger > > FYI, i'll be including it as part of my Blackfin merge when the window > closes > -mike > > Thanks for your information, I'll do other fix based on this commit. -- Best regards, Macpaul Lin ___ U-Boot mailing lis

Re: [U-Boot] [PATCH v2] linkage.h: move from blackfin to common includes

2012-01-10 Thread Mike Frysinger
On Thursday 01 December 2011 13:05:42 Mike Frysinger wrote: > On Wednesday 30 November 2011 23:32:10 Macpaul Lin wrote: > > 1. Add linkage.h support from blackfin to common include, > > > >which is a reduced version from Linux. > > > > 2. Add architecture part support of linkage.h into blackf

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:48:12 Doug Anderson wrote: > On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger wrote: > > On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote: > > getenv returns a writable buffer, so i wonder if things couldn't be > > avoided easily all around. after all, you're j

Re: [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:54:06 Simon Glass wrote: > We should include the sys/time.h header to avoid warnings. added to my sandbox branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:54:05 Simon Glass wrote: > Tidy this up as the list is long and likely to get longer. added to my sandbox branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@list

[U-Boot] [PATCH v2 8/8] sandbox: Add basic command line parsing

2012-01-10 Thread Simon Glass
This adds simple command-line parssing to sandbox. The idea is that it sets up the state with options provided, and this state can then be queried as needed later. For now we just allow it to run a command. Passing a command to U-Boot on stdin is not as convenient IMO. The parsing code is in os.

[U-Boot] [PATCH v2 6/8] sandbox: Allow processing instead of or before main loop

2012-01-10 Thread Simon Glass
In order to pass command line arguments to sandbox we need to be able to act on them. So take control back at the end of board_init_r() from where we can call the main loop or do something else. Signed-off-by: Simon Glass --- Changes in v2: - Call cpu_main_loop() from board_init_r() arch/sandbo

[U-Boot] [PATCH v2 7/8] sandbox: Add flags for open() call

2012-01-10 Thread Simon Glass
This provides a way for callers to create files for writing. We define flags which mirror the POSIX values. Another approach would be to translate the flags at runtime. Perhaps we can leave to whoever wants to port this to another OS? Signed-off-by: Simon Glass --- arch/sandbox/cpu/os.c |2

[U-Boot] [PATCH v2 3/8] sandbox: gpio: Add basic driver for simulating GPIOs

2012-01-10 Thread Simon Glass
This provides a way of simulating GPIOs by setting values which are seen by the normal gpio_get/set_value() calls. Signed-off-by: Simon Glass --- Changes in v2: - Use generic GPIO command and interface - Fix gpio_direction_output() to actually set the value arch/sandbox/include/asm/gpio.h | 6

[U-Boot] [PATCH v2 5/8] sandbox: Add concept of sandbox state

2012-01-10 Thread Simon Glass
The state exists through the life of U-Boot. It can be adjusted by command line options and perhaps later through a config file. It is available to U-Boot through state_...() calls (within sandbox code). Signed-off-by: Simon Glass --- arch/sandbox/cpu/Makefile |2 +- arc

[U-Boot] [PATCH v2 4/8] sandbox: Enable GPIO driver

2012-01-10 Thread Simon Glass
Enable the new GPIO driver for sandbox. Signed-off-by: Simon Glass --- include/configs/sandbox.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 6790216..e7e97cc 100644 --- a/include/configs/sandbox.h +++ b/

[U-Boot] [PATCH v2 2/8] sandbox: config: Enable fdt and snprintf() options

2012-01-10 Thread Simon Glass
Enable fdt code and safe snprintf() options for sandbox. Signed-off-by: Simon Glass --- include/configs/sandbox.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 10565e6..6790216 100644 --- a/include/confi

[U-Boot] [PATCH v2 1/8] sandbox: fdt: Add support for CONFIG_OF_CONTROL

2012-01-10 Thread Simon Glass
This adds support for a controlling fdt, mirroring the ARM implementation. Signed-off-by: Simon Glass --- arch/sandbox/include/asm/global_data.h |1 + arch/sandbox/lib/board.c |8 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/sandbox/include/

[U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c

2012-01-10 Thread Simon Glass
We should include the sys/time.h header to avoid warnings. Signed-off-by: Simon Glass --- Changes in v2: - Rebase after changes to sandbox header sort patch arch/sandbox/cpu/os.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os

[U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c

2012-01-10 Thread Simon Glass
Tidy this up as the list is long and likely to get longer. Signed-off-by: Simon Glass --- Changes in v2: - Sort correctly: include/, sys/, linux/, asm/ Changes in v3: - Keep 'U-Boot header' separate at the end arch/sandbox/cpu/os.c |8 1 files changed, 4 insertions(+), 4 deletions

Re: [U-Boot] [PATCH v2 5/9] sandbox: sort header files in os.c

2012-01-10 Thread Simon Glass
Hi Mike, On Tue, Jan 10, 2012 at 10:07 AM, Mike Frysinger wrote: > On Monday 09 January 2012 17:25:15 Simon Glass wrote: >> --- a/arch/sandbox/cpu/os.c >> +++ b/arch/sandbox/cpu/os.c >> >> +#include >>  #include >> +#include >>  #include >>  #include >> -#include >>  #include >> -#include

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger wrote: > On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote: > getenv returns a writable buffer, so i wonder if things couldn't be avoided > easily all around.  after all, you're just deleting bytes here, not adding new > ones. Actually, that's

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote: > 3. Something else (?) getenv returns a writable buffer, so i wonder if things couldn't be avoided easily all around. after all, you're just deleting bytes here, not adding new ones. -mike signature.asc Description: This is a digitally

Re: [U-Boot] [PATCH] cmd_source: introduce run_script()

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:04:19 Michael Walle wrote: > --- a/common/cmd_source.c > +++ b/common/cmd_source.c > > +/* > + * Run a series of commands, separated by '\n'. > + * Beware, the contents of script may be modified while it is parsed. > + */ > +int run_script(char *script) const also,

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
Mike, On Tue, Jan 10, 2012 at 3:27 PM, Mike Frysinger wrote: > not sure why you don't just squash it into 1/3 and never bother defining it ? I was attempting to keep changes isolated as much as possible, but everyone seems to like to do this differently and I'm still getting a feel for what you

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 17:51:15 Doug Anderson wrote: > On Tue, Jan 10, 2012 at 2:28 PM, Wolfgang Denk wrote: > > I think your patch is likely to break all these architectures? > > I'm not sure how my patch would break these architectures. if the kernel doesn't do len checking on the input str

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 17:28:05 Wolfgang Denk wrote: > Doug Anderson wrote: > > This makes fixup_silent_linux() use malloc() to allocate its > > working space, meaning that our maximum kernel command line > > should only be limited by malloc(). Previously it was silently > > overflowing the st

Re: [U-Boot] [PATCH 4/5 v2] mtd/nand: Add ONFI support for FSL NAND controller

2012-01-10 Thread Scott Wood
On Mon, Dec 12, 2011 at 05:49:57PM +0800, Shengzhou Liu wrote: > - fix NAND_CMD_READID command for ONFI detect. > - add NAND_CMD_PARAM command to read the ONFI parameter page. > > Signed-off-by: Shengzhou Liu > --- > drivers/mtd/nand/fsl_elbc_nand.c | 17 ++--- > 1 files changed, 1

Re: [U-Boot] [PATCH v2 7/8] nand: Sanitize ONFI strings.

2012-01-10 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:05AM +0200, Christian Hitz wrote: > [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] > > This is part of the synchronization with the nand driver to the > Linux 3.0 state. > > Signed-off-by: Christian Hitz > Cc: Scott Wood > --- > > Adds 168 b

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 17:26:22 Doug Anderson wrote: > As Mike Frysinger writes: > We didn't enable silent=1 by default in any of the Blackfin boards > Just made the functionality available to people if they wanted to > test things out with it when prototyping on dev boards. > > --- a/in

Re: [U-Boot] [PATCH v2 6/8] nand: Merge changes to BBT from Linux nand driver

2012-01-10 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:04AM +0200, Christian Hitz wrote: > [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] > > This patch synchronizes the nand driver with the Linux 3.0 state. > > Signed-off-by: Christian Hitz > Cc: Scott Wood > --- > > Adds 1096 bytes to the imag

Re: [U-Boot] [PATCH v2 4/8] nand: Merge changes from Linux nand driver

2012-01-10 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:02AM +0200, Christian Hitz wrote: > [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] > > This patch synchronizes the nand driver with the Linux 3.0 state. > > Signed-off-by: Christian Hitz > Cc: Scott Wood > --- > > Adds 968 bytes to the image

Re: [U-Boot] [PATCH v2 3/8] nand: cleanup whitespace

2012-01-10 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:01AM +0200, Christian Hitz wrote: > Bring up to date with corresponding file from linux. > > Signed-off-by: Christian Hitz > Cc: Scott Wood > --- > > Changes since v1: > - split whitespace changes into seperate patch Applied to u-boot-nand-flash -Scott ___

Re: [U-Boot] [PATCH v2 2/8] nand: Add more NAND types from Linux nand driver

2012-01-10 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:00AM +0200, Christian Hitz wrote: > [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] > > This patch merges the additional NAND flash types from the 3.0 Linux > kernel. > > Signed-off-by: Christian Hitz > Cc: Scott Wood > --- > > Adds 1244 byte

Re: [U-Boot] [PATCH v2 1/8] nand: Merge BCH code from Linux nand driver

2012-01-10 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:31:59AM +0200, Christian Hitz wrote: > [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] > > This patch merges the BCH ECC algorithm from the 3.0 Linux kernel. > This enables U-Boot to support modern NAND flash chips that > require more than 1-bit of

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 4:01 PM, Scott Wood wrote: > On 12/13/2011 01:33 PM, Stefano Babic wrote: >> Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM >> which is likely to contain already loaded data. >> The patch saves the oob data and the ecc on the stack replacing >> the

[U-Boot] [PATCH] cmd_source: introduce run_script()

2012-01-10 Thread Michael Walle
Move actual script execution into a new function run_script(), which then can be called from other modules. Signed-off-by: Michael Walle Cc: Wolfgang Denk --- common/cmd_source.c | 71 -- include/common.h|1 + 2 files changed, 41 inserti

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2012-01-10 Thread Scott Wood
On 12/13/2011 01:33 PM, Stefano Babic wrote: > Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM > which is likely to contain already loaded data. > The patch saves the oob data and the ecc on the stack replacing > the fixed address in RAM. > > Signed-off-by: Stefano Babic

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:48 PM, Wolfgang Denk wrote: > You should do so in the commit mesage (but judging from my current > state of mind you can save the efforts for a v4). Got it. If we end up with a v4, I'll add it. > I just replied to one of your earlier patches that

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:28 PM, Wolfgang Denk wrote: >> This makes fixup_silent_linux() use malloc() to allocate its >> working space, meaning that our maximum kernel command line >> should only be limited by malloc().  Previously it was silently >> overflowing the stack. > .

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > > > Please provide a link. > > Sure! This is the message I'm referring to: > . I You should do so in the commit mesage (but judging from my current state of mind you can save the effo

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > Dear Wolfgang Denk, > > On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk wrote: > > In which way would this approach avoid the problem (potential overflow > > of cmdline max size) that you are trying to fix with your patch? > > The overflow will be av

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk On Tue, Jan 10, 2012 at 2:30 PM, Wolfgang Denk wrote: >> As discussed previously on the U-Boot mailing list (see comments on >> "Fix fixup_silent_linux() buffer overrun" patchset), relying on > > Please provide a link. Sure! This is the message I'm referring to:

Re: [U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326231380-30128-2-git-send-email-diand...@chromium.org> you wrote: > I have set this config option based on the existing usage of > CONFIG_SILENT_CONSOLE. This is to support a future change > deprecating the silencing of the linux console in bootm by > having boot

Re: [U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326231380-30128-3-git-send-email-diand...@chromium.org> you wrote: > If you would like the old behavior of having bootm modify the bootargs > to silence the linux console when CONFIG_SILENT_CONSOLE is defined, > you now need to define the config CONFIG_DEPRECATED_S

[U-Boot] [PATCH v3 2/3] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of CONFIG_SILENT_CO

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326231380-30128-1-git-send-email-diand...@chromium.org> you wrote: > > As discussed previously on the U-Boot mailing list (see comments on > "Fix fixup_silent_linux() buffer overrun" patchset), relying on Please provide a link. > "bootm" to mangle the Linux boot

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1319133298-30249-1-git-send-email-diand...@chromium.org> you wrote: > This makes fixup_silent_linux() use malloc() to allocate its > working space, meaning that our maximum kernel command line > should only be limited by malloc(). Previously it was silently > overf

[U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
As Mike Frysinger writes: We didn't enable silent=1 by default in any of the Blackfin boards Just made the functionality available to people if they wanted to test things out with it when prototyping on dev boards. Signed-off-by: Doug Anderson --- Changes in v3: - Added part 3 of the patch

[U-Boot] [PATCH v3 1/3] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson --- Changes in v2: - Define without

[U-Boot] [PATCH v3 0/3] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on "Fix fixup_silent_linux() buffer overrun" patchset), relying on "bootm" to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other CONFIG_SILENT

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk wrote: > In which way would this approach avoid the problem (potential overflow > of cmdline max size) that you are trying to fix with your patch? The overflow will be avoided on any boards that don't define CONFIG_DEPRECATED_SIL

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > > > personally i found the current behavior useful, but the code to implement it > > is crappy.  oh well. > > Agreed. However, in the previous thread Wolfgang was of the view that > the behavior of silencing linux is best achieved with scripts. I'm O

[U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of CONFIG_SILENT_CO

Re: [U-Boot] [PATCH v3] tegra2: Enable data cache

2012-01-10 Thread Stephen Warren
On 01/09/2012 04:22 PM, Simon Glass wrote: > This enables the data cache on Tegra2 boards. > > As discussed on the list, this is better off in the Tegra2 cpu code than in a > particular vendor directory. We should be safe turning on the cache for all > Tegra2 boards. > > Signed-off-by: Simon Glas

Re: [U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:19 Doug Anderson wrote: > include/configs/bfin_adi_common.h |1 + don't bother. we didn't enable silent=1 by default in any of the Blackfin boards. just made the functionality available to people if they wanted to test things out with it when prototypi

Re: [U-Boot] [PATCH v2] tegra: mmc: Support operation with dcache enabled

2012-01-10 Thread Stephen Warren
On 01/09/2012 04:20 PM, Simon Glass wrote: > When the data cache is enabled we must flush on write and invalidate > on read. We also check that buffers are aligned to data cache lines > boundaries. With recent work in U-Boot this should generally be the case > but the warnings will catch problems.

Re: [U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:20 Doug Anderson wrote: > --- a/common/cmd_bootm.c > +++ b/common/cmd_bootm.c > > +static void fixup_silent_linux(void) __attribute__ ((deprecated)); __deprecated (from linux/compiler.h) > --- a/doc/README.silent > +++ b/doc/README.silent > > +CONFIG_DEPRECATED_SI

[U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson --- Changes in v2: - Define without

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Stephen Warren
On 01/10/2012 02:22 PM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jan 10, 2012 at 12:27 PM, Stephen Warren wrote: >> On 12/26/2011 03:31 PM, Simon Glass wrote: >>> Stephen Warren pointed out that we should use nodes whether or not they >>> have an alias in the /aliases section. The aliases sec

[U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on "Fix fixup_silent_linux() buffer overrun" patchset), relying on "bootm" to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other CONFIG_SILENT

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:04:27 Doug Anderson wrote: > I believe that you can do a script something like this (where > normal_bootargs is the old bootargs without the console= part, > console_args is the non-silent console settings, and old_bootcmd is > the old bootcmd): it's not exactly the s

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Simon Glass
Hi Stephen, On Tue, Jan 10, 2012 at 12:27 PM, Stephen Warren wrote: > On 12/26/2011 03:31 PM, Simon Glass wrote: >> Stephen Warren pointed out that we should use nodes whether or not they >> have an alias in the /aliases section. The aliases section specifies the >> order so far as it can, but is

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
On Tue, Jan 10, 2012 at 12:18 PM, Mike Frysinger wrote: > personally i found the current behavior useful, but the code to implement it > is crappy.  oh well. Agreed. However, in the previous thread Wolfgang was of the view that the behavior of silencing linux is best achieved with scripts. I'm

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
Dear Wolfgang, On Tue, Jan 10, 2012 at 11:46 AM, Wolfgang Denk wrote: > Hm...actually - why do we need both now?  This is ugly and makes > little sense to me. Having both CONFIG_SILENT_CONSOLE and CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE separate allows us to continue to use CONFIG_SILENT_CONSOLE

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Stephen Warren
On 12/26/2011 03:31 PM, Simon Glass wrote: > Stephen Warren pointed out that we should use nodes whether or not they > have an alias in the /aliases section. The aliases section specifies the > order so far as it can, but is not essential. Operating without alisses > is useful when the enumerated o

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:56 Doug Anderson wrote: > As discussed previously on the U-Boot mailing list (see comments on > "Fix fixup_silent_linux() buffer overrun" patchset), relying on > "bootm" to mangle the Linux bootargs is not a suggested way to go. > We now officially deprecate it and

Re: [U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:58 Doug Anderson wrote: > --- a/README > +++ b/README > @@ -606,9 +606,8 @@ The following options need to be configured: > environment 'console=serial'. > > When CONFIG_SILENT_CONSOLE is defined, all console > - messages (by

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-10 Thread Marek Vasut
> The current implementation invalidates the cache instead of flushing > it. This causes problems on platforms where the spl/u-boot is already > loaded to the RAM, with caches enabled by a first stage bootloader. What platforms are affected? M > > The V bit of the cp15's control register c1 is s

Re: [U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
On Tue, Jan 10, 2012 at 5:57 PM, Marek Vasut wrote: > Acked-by: Marek Vasut > > Though you should drop it from all other board files (hint: git grep > CONFIG_NET_MULTI) Ok, will submit a patch for removing it from other board files. Regards, Fabio Estevam _

Re: [U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
> CONFIG_NET_MULTI is not used anymore, so remove it from board file. > > Cc: Marek Vasut > Signed-off-by: Fabio Estevam > --- > include/configs/m28evk.h |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h > index 39

Re: [U-Boot] [PATCH v2 2/3] efika: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
> CONFIG_NET_MULTI is not used anymore, so remove it from board file. > > Cc: Marek Vasut > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Fix typo in board name > include/configs/efikamx.h |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/include/config

Re: [U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326223018-12441-3-git-send-email-diand...@chromium.org> you wrote: > If you would like the old behavior of having bootm modify the bootargs > to silence the linux console when CONFIG_SILENT_CONSOLE is defined, > you now need to define the config CONFIG_DEPRECATED_S

Re: [U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 5:56 AM, Christian Riesch wrote: > This patch adds support for the Calimain board from > OMICRON electronics GmbH. The board features a Texas Instruments AM1808 > SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and > CS3. > > Signed-off-by: Christian Ri

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326223018-12441-2-git-send-email-diand...@chromium.org> you wrote: > I have set this config option based on the existing usage of > CONFIG_SILENT_CONSOLE. This is to support a future change > deprecating the silencing of the linux console in bootm by > having boot

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326223018-12441-2-git-send-email-diand...@chromium.org> you wrote: > I have set this config option based on the existing usage of > CONFIG_SILENT_CONSOLE. This is to support a future change > deprecating the silencing of the linux console in bootm by > having boot

[U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson --- include/configs/KUP4K.h

[U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on "Fix fixup_silent_linux() buffer overrun" patchset), relying on "bootm" to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other CONFIG_SILENT

[U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of CONFIG_SILENT_CO

[U-Boot] [PATCH v2 2/3] efika: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut Signed-off-by: Fabio Estevam --- Changes since v1: - Fix typo in board name include/configs/efikamx.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/efikamx.h b/include/

  1   2   >