Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Christian Riesch
Hi, On Wed, Jan 25, 2012 at 11:50 AM, Prabhakar Lad wrote: > On Wed, Jan 25, 2012 at 3:57 PM, Christian Riesch < > christian.rie...@omicron.at> wrote: > >> Hi, >> >> On Wed, Jan 25, 2012 at 10:52 AM, Prabhakar Lad >> wrote: >> > *I want t

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Christian Riesch
On Wed, Jan 25, 2012 at 11:37 AM, Wolfgang Denk wrote: > In message > you > wrote: >> *is there a support yet* to be added for printf? > > This makes also no sense to me - printf is available in the SPL. As long as CONFIG_SPL_LIBCOMMON_SUPPORT is defined. Regards, Christian ___

Re: [U-Boot] SPL Framework: Add support for U_BOOT_CMD

2012-01-25 Thread Christian Riesch
Hi, On Wed, Jan 25, 2012 at 10:52 AM, Prabhakar Lad wrote: > *I want to add a command using U_BOOT_CMD in uboot, where SPL_BUILD is > enabled for example for da850evm in spl frame work how can i do that * Why do you want to do that? A command in an SPL? > *When I tried to that I get following e

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

2012-01-20 Thread Christian Riesch
Hi Aneesh, On Fri, Jan 20, 2012 at 1:13 PM, Aneesh V wrote: > On Friday 20 January 2012 02:51 PM, Christian Riesch wrote: >> On Fri, Jan 20, 2012 at 9:52 AM, Aneesh V  wrote: >>> Sughosh, >> >> [...] >>> >>> Can you send the value of SCR you

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

2012-01-20 Thread Christian Riesch
Hi Aneesh, On Fri, Jan 20, 2012 at 9:52 AM, Aneesh V wrote: > Sughosh, [...] > Can you send the value of SCR you found at SPL entry? This will clarify > what's enabled and what's not. I would like to try that on my board as well for comparison. Could you please tell me how this register can be r

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

2012-01-19 Thread Christian Riesch
On Thu, Jan 19, 2012 at 12:54 PM, Aneesh V wrote: > On Thursday 19 January 2012 05:00 PM, Christian Riesch wrote: >> On Thu, Jan 19, 2012 at 11:17 AM, Aneesh V  wrote: >>> On Thursday 19 January 2012 12:23 PM, Sughosh Ganu wrote: >>>>   Tried a few things on my

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

2012-01-19 Thread Christian Riesch
Hi Aneesh, On Thu, Jan 19, 2012 at 11:17 AM, Aneesh V wrote: > On Thursday 19 January 2012 12:23 PM, Sughosh Ganu wrote: >>   Tried a few things on my end. >>   * Read the D-cache value in the spl, and confirmed that the data >>     cache is indeed not enabled. > What is the value of the B bit in

Re: [U-Boot] [PATCH] arm, davinci: add PLL0 prediv to da850 lowlevel setup

2012-01-17 Thread Christian Riesch
noticed that that pre-divider configuration was missing while working on the lowlevel setup, but then I forgot to add it (and I was fine with the default)... Thank you for adding it! Acked-by: Christian Riesch Regards, Christian ___ U-Boot mailing list U-B

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

2012-01-14 Thread Christian Riesch
Hi Sughosh, On Thursday, January 12, 2012, Sughosh Ganu wrote: > hi Christian, > > On Thu Jan 12, 2012 at 03:04:37PM +0100, Christian Riesch wrote: >> On Thu, Jan 12, 2012 at 2:53 PM, Sughosh Ganu wrote: >> > On Thu Jan 12, 2012 at 01:03:05PM +0100

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

2012-01-14 Thread Christian Riesch
Hi Albert, On Saturday, January 14, 2012, Albert ARIBAUD wrote: > Le 12/01/2012 07:29, Sughosh Ganu a écrit : >> >> On Thu Jan 12, 2012 at 06:56:01AM +0100, Christian Riesch wrote: >>> >>> On Wednesday, January 11, 2012, Marek Vasut wrote: >> >>

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

2012-01-13 Thread Christian Riesch
Hi Sughosh, I had a look at the patch and I tried to understand what's going on here (I must confess that I didn't know anything about this cache stuff). On Tue, Jan 10, 2012 at 7:12 PM, Sughosh Ganu wrote: > The current implementation invalidates the cache instead of flushing > it. This causes p

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

2012-01-12 Thread Christian Riesch
On Thu, Jan 12, 2012 at 2:53 PM, Sughosh Ganu wrote: > On Thu Jan 12, 2012 at 01:03:05PM +0100, Christian Riesch wrote: >> On Tue, Jan 10, 2012 at 7:12 PM, Sughosh Ganu >> wrote: >> > The current implementation invalidates the cache instead of flushing >> > it.

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

2012-01-12 Thread Christian Riesch
Hi Sughosh, On Tue, Jan 10, 2012 at 7:12 PM, Sughosh Ganu 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. > > The V bit of th

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

2012-01-12 Thread Christian Riesch
On Thu, Jan 12, 2012 at 10:39 AM, Sughosh Ganu wrote: > hi Christian, > > On Thu Jan 12, 2012 at 10:02:47AM +0100, Christian Riesch wrote: >> Hi Sughosh, >> >> On Wed, Jan 11, 2012 at 6:03 PM, Sughosh Ganu >> wrote: >> > This patch moves hawkbo

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

2012-01-12 Thread Christian Riesch
the main u-boot > image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard > to reflect the same. > > Signed-off-by: Sughosh Ganu > Signed-off-by: Heiko Schocher > Cc: Heiko Schocher > Cc: Christian Riesch > Cc: Sudhakar Rajashekhara > Cc: Tom Rini I h

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

2012-01-12 Thread Christian Riesch
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 --- Changes for v2: - Removed CONFIG_NET_MULTI as suggested

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

2012-01-11 Thread Christian Riesch
pl code now >> gets compiled with hawkboard_config, after building the main u-boot >> image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard >> to reflect the same. >> >> Signed-off-by: Sughosh Ganu >> Signed-off-by: Heiko Schocher >> Cc: H

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

2012-01-11 Thread Christian Riesch
On Wednesday, January 11, 2012, Marek Vasut wrote: >> Hi, >> >> On Wednesday, January 11, 2012, Marek Vasut wrote: >> >> On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: >> >> > > More so, given the fact that we don't have any control over >> >> > > rbl -- so if rbl changes it's la

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

2012-01-11 Thread Christian Riesch
Hi, On Wednesday, January 11, 2012, Marek Vasut wrote: >> On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: >> > > More so, given the fact that we don't have any control over >> > > rbl -- so if rbl changes it's layout for any subsequent board, we'd >> > > have to add that as well

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

2012-01-11 Thread Christian Riesch
Schocher > Cc: Heiko Schocher > Cc: Christian Riesch > Cc: Sudhakar Rajashekhara > Cc: Tom Rini > --- > > Changes since V2 > * Made changes to fix build break on enbw_cmc board. > * Replaced defines used for conditionally compiling code in >  da850_lowlevel.c to the on

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

2012-01-11 Thread Christian Riesch
Hello Heiko, Sughosh, On Wed, Jan 11, 2012 at 7:52 AM, Heiko Schocher wrote: > please remove the da8xx_configure_lpsc_items() in board_gpio_init() > in the ./board/enbw/enbw_cmc/enbw_cmc.c() file, and also move ... > before I write here a lot of text, here the patch, based on yours, > please add

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

2012-01-11 Thread Christian Riesch
Hello Heiko, On Wed, Jan 11, 2012 at 8:21 AM, Heiko Schocher wrote: > 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

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

2012-01-11 Thread Christian Riesch
building the main u-boot >> > image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard >> > to reflect the same. >> > >> > Signed-off-by: Sughosh Ganu >> > Cc: Heiko Schocher >> > Cc: Christian Riesch >> > Cc: Sudhakar Ra

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

2012-01-10 Thread Christian Riesch
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 --- MAINTAINERS |5 + board/omicron

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Christian Riesch
Hi, On Tue, Jan 10, 2012 at 8:13 AM, Prabhakar Lad wrote: > remove obsolete macro CONFIG_NET_MULTI, Now that none > of the core checks CONFIG_NET_MULTI, there's not much point > in boards defining it. > > Signed-off-by: Prabhakar Lad > Cc: Mike Frysinger > Cc: Tom Rini > --- >  include/configs

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

2012-01-10 Thread Christian Riesch
Hi Sughosh and Tom, On Tuesday, January 10, 2012, Sughosh Ganu wrote: > On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: >> On 01/09/2012 11:28 AM, Sughosh Ganu wrote: > > > >> > --- a/arch/arm/cpu/arm926ejs/davinci/Makefile >> > +++ b/arch/arm/cpu/arm926ejs/davinci/Makefile >> > @@ -38,

[U-Boot] [PATCH] arm, davinci: Change byte order of RTC kick register values

2011-12-21 Thread Christian Riesch
Now the values in the defines agree with those in the manuals. Signed-off-by: Christian Riesch Cc: Tom Rini Cc: Heiko Schocher --- arch/arm/include/asm/arch-davinci/hardware.h |4 ++-- board/enbw/enbw_cmc/enbw_cmc.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions

Re: [U-Boot] [PATCH v4 1/5] arm, davinci: move davinci_rtc struct to hardware.h

2011-12-21 Thread Christian Riesch
Hello Heiko, On Tue, Nov 29, 2011 at 1:33 PM, Heiko Schocher wrote: > move struct davinci_rtc to arch/arm/include/asm/arch-davinci/hardware.h > and add RTC_KICK0R_WE, RTC_KICK1R_WE defines, > so they are global useable. > > Signed-off-by: Heiko Schocher > Cc: Sandeep Paulraj [...] > diff --gi

Re: [U-Boot] arm, da850: Question about start point

2011-12-17 Thread Christian Riesch
Hi Gabriele, On Friday, December 16, 2011, Gabriele Filosofi wrote: > Hi all, > > I'm new to this mailing-list and to u-boot. > I've to port the TI SDK_5.02 to a LogicPD_SOM_AM1808 -based application board. > The SDK_5.02 is based on PSP_03.21.00.04, whose u-boot was developed on git u-boot 2010.

[U-Boot] [PATCH] arm, davinci: Use a common configuration file for da850evm and da850_am18xxevm

2011-12-15 Thread Christian Riesch
boards.cfg. Signed-off-by: Christian Riesch Cc: Tom Rini --- boards.cfg|2 +- include/configs/da850_am18xxevm.h | 246 - 2 files changed, 1 insertions(+), 247 deletions(-) delete mode 100644 include/configs/da850_am18xxevm.h diff

Re: [U-Boot] [PATCH] da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

2011-12-15 Thread Christian Riesch
Hi Tom, On Thu, Dec 15, 2011 at 3:45 PM, Tom Rini wrote: > On 12/15/2011 12:31 AM, Christian Riesch wrote: >> The board config for the da850_am18xxevm board is missing >> the CONFIG_SPI_FLASH_STMICRO option and therefore the SPI flash >> on the AM1808 experimenter's

[U-Boot] [PATCH] da850evm: Remove CONFIG_SYS_xxCACHE_OFF defines

2011-12-15 Thread Christian Riesch
: Christian Riesch Cc: Tom Rini --- include/configs/da850evm.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index b30696a..fcbbace 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -44,9 +44,6

[U-Boot] [PATCH 1/2] da850_am18xxevm: Call board_early_init_f() for booting without UBL

2011-12-14 Thread Christian Riesch
. Signed-off-by: Christian Riesch Cc: Tom Rini --- include/configs/da850_am18xxevm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/da850_am18xxevm.h b/include/configs/da850_am18xxevm.h index 9b7bf1e..e486669 100644 --- a/include/configs/da850_am18xxevm.h

[U-Boot] [PATCH 2/2] da850_am18xxevm: Add an SPL for SPI boot

2011-12-14 Thread Christian Riesch
Commit 3ad51d2a0a0986da710d52c97298b66d336a66e7 added an SPL for booting from SPI flash memory to the da850evm configuration. This patch adds the same configuration also to the da850_am18xxevm. Signed-off-by: Christian Riesch Cc: Tom Rini --- include/configs/da850_am18xxevm.h | 87

[U-Boot] [PATCH 0/2] da850_am18xxevm: Add an SPL to boot from SPI flash

2011-12-14 Thread Christian Riesch
CONFIG_SPI_FLASH_STMICRO to the board config http://patchwork.ozlabs.org/patch/131528/ To build the SPL, run make da850_am18xxevm_config make u-boot.ais and flash the resulting u-boot.ais file to the SPI flash. Regards, Christian Cc: Tom Rini Christian Riesch (2): da850_am18xxevm: Call

[U-Boot] [PATCH] da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

2011-12-14 Thread Christian Riesch
The board config for the da850_am18xxevm board is missing the CONFIG_SPI_FLASH_STMICRO option and therefore the SPI flash on the AM1808 experimenter's kit could not be detected. Signed-off-by: Christian Riesch Cc: Tom Rini --- include/configs/da850_am18xxevm.h |1 + 1 files chang

[U-Boot] [PATCH v6 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-14 Thread Christian Riesch
Hi Tom, thanks for your reply. On Wed, Dec 14, 2011 at 8:15 PM, Tom Rini wrote: > On 12/14/2011 12:09 PM, Christian Riesch wrote: >> I applied the changes that I did in include/configs/da850evm.h before to >> da850_am18xxevm.h as well. I expected this to work on my board since

[U-Boot] [PATCH v6 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-14 Thread Christian Riesch
Hi, On Wed, Dec 14, 2011 at 3:09 PM, Tom Rini wrote: > On Tue, Dec 13, 2011 at 11:33 PM, Christian Riesch > wrote: >> Hi, >> >> On Friday, December 9, 2011, Christian Riesch < christian.rie...@omicron.at> >> wrote: >>> Signed-off-by: Christian Ri

[U-Boot] [PATCH] arm, davinci: Fix build warnings for cam_enc_4xx

2011-12-14 Thread Christian Riesch
This patch fixes a build warning for the cam_enc_4xx board introduced by commit d6ec0c0dfc70447cf615ae80a952da81f73f16b4: spl.c:35:13: warning: 'gdata' defined but not used spl.c:36:13: warning: 'bdata' defined but not used Signed-off-by: Christian Riesch Cc: Tom Rini

Re: [U-Boot] [PATCH v6 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-13 Thread Christian Riesch
Hi, On Friday, December 9, 2011, Christian Riesch wrote: > Signed-off-by: Christian Riesch > Cc: Heiko Schocher > Cc: Sandeep Paulraj > Cc: Tom Rini > Cc: Sudhakar Rajashekhara > --- > board/davinci/da8xxevm/da850evm.c |4 +- > board/davinci/da8xxe

[U-Boot] [PATCH v6 5/6] mkimage: Fix variable length header support

2011-12-09 Thread Christian Riesch
image file was copied nevertheless. Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Acked-by: Stefano Babic --- tools/mkimage.c | 97 --- 1 files changed, 49 insertions(+), 48 deletions(-) diff --git a/tools/mkimage

[U-Boot] [PATCH v6 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Cc: Mike Frysinger --- .gitignore |1 + Makefile | 13 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index ff4bae0..e4e95e2 100644 --- a/.gitignore +++ b

[U-Boot] [PATCH v6 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c |4 +- board/davinci/da8xxevm/u-boot-spl.lds | 73 +++ doc/README.davinci|9

[U-Boot] [PATCH v6 3/6] arm, davinci: Add SPL support for DA850 SoCs

2011-12-09 Thread Christian Riesch
This code adds an SPL for booting from SPI flash on DA850 SoCs. Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Acked-by: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 +- arch/arm/cpu/arm926ejs/davinci/spl.c| 34

[U-Boot] [PATCH v6 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger Cc: Scott Wood Acked-by: Mike Frysinger --- doc/README.SPL |1 + drivers/mtd/spi/Makefile |4 +++ drivers/mtd/spi/spi_spl_load.c | 58 include

[U-Boot] [PATCH v6 1/6] spl: display_options.o is required for SPI flash support in SPL

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger --- lib/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 54708c2..35ba7ff 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -50,6 +50,8 @@ COBJS-$(CONFIG_SHA1

[U-Boot] [PATCH v6 0/6] Add an SPL to boot the da850evm from SPI

2011-12-09 Thread Christian Riesch
rds, Christian Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Christian Riesch (6): spl: display_options.o is required for SPI flash support in SPL sf: Add spi_boot() to allow booting from SPI flash in an SPL arm, davinci: Add SPL support for DA850 SoCs arm, da850evm: Add an SPL fo

[U-Boot] [PATCH 2/2] post/post.c: Use lldiv for 64-bit divisions

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Tom Rini Cc: Heiko Schocher Cc: Wolfgang Denk --- post/post.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/post/post.c b/post/post.c index 0e67ad7..45e08f8 100644 --- a/post/post.c +++ b/post/post.c @@ -24,6 +24,7 @@ #include

[U-Boot] [PATCH 1/2] arm, davinci: Use lldiv for the 64-bit divisions in timer.c

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Tom Rini Cc: Heiko Schocher Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/davinci/timer.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/timer.c b/arch/arm/cpu/arm926ejs/davinci/timer.c index

[U-Boot] [PATCH 0/2] Use lldiv from div64.h for 64-bit divisions

2011-12-09 Thread Christian Riesch
nction from div64.h and thus fix the linker problem. Regards, Christian Cc: Tom Rini Cc: Heiko Schocher Cc: Wolfgang Denk Christian Riesch (2): arm, davinci: Use lldiv for the 64-bit divisions in timer.c post/post.c: Use lldiv for 64-bit divisions arch/arm/cpu/arm926ejs/davinci/tim

[U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-09 Thread Christian Riesch
Hi again, On Wed, Dec 7, 2011 at 10:32 AM, Christian Riesch wrote: > Hi Tom, > > On Tue, Dec 6, 2011 at 11:17 PM, Tom Rini wrote: >> On Tue, Dec 6, 2011 at 10:34 AM, Tom Rini wrote: > [...] >>> OK, thanks, I'll chalk it up to my toolchain then. >> >>

[U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-07 Thread Christian Riesch
Hi Tom, On Tue, Dec 6, 2011 at 11:17 PM, Tom Rini wrote: > On Tue, Dec 6, 2011 at 10:34 AM, Tom Rini wrote: [...] >> OK, thanks, I'll chalk it up to my toolchain then. > > After talking with Wolfgang and Albert, we (OK, Wolfgang) found that > ELDK 4.2 toolchain also shows this issue, so please g

Re: [U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-06 Thread Christian Riesch
On Tue, Dec 6, 2011 at 6:14 PM, Tom Rini wrote: > On 12/06/2011 10:08 AM, Christian Riesch wrote: >> Hi Tom, >> >> On Tue, Dec 6, 2011 at 5:46 PM, Tom Rini wrote: >>> On Mon, Dec 5, 2011 at 1:05 PM, Tom Rini wrote: >>>> On Mon, Dec 5, 201

Re: [U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-06 Thread Christian Riesch
Hi Tom, On Tue, Dec 6, 2011 at 5:46 PM, Tom Rini wrote: > On Mon, Dec 5, 2011 at 1:05 PM, Tom Rini wrote: >> On Mon, Dec 5, 2011 at 3:58 AM, Christian Riesch >> wrote: >>> >>> Hi, >>> this is v5 of the last part of my recent patchset >> >>

[U-Boot] [PATCH v5 1/6] spl: display_options.o is required for SPI flash support in SPL

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger --- lib/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 54708c2..35ba7ff 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -50,6 +50,8 @@ COBJS-$(CONFIG_SHA1

[U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-05 Thread Christian Riesch
starts it. To build run make da850evm_config make u-boot.ais Then program u-boot.ais to the SPI flash on the da850evm. Best regards, Christian Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Christian Riesch (6): spl: display_options.o is required for SPI flash support in SPL

[U-Boot] [PATCH v5 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Cc: Mike Frysinger --- .gitignore |1 + Makefile | 13 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index ff4bae0..e4e95e2 100644 --- a/.gitignore +++ b

[U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger Cc: Scott Wood Acked-by: Mike Frysinger --- doc/README.SPL |1 + drivers/mtd/spi/Makefile |4 +++ drivers/mtd/spi/spi_spl_load.c | 58 include

[U-Boot] [PATCH v5 3/6] arm, davinci: Add SPL support for DA850 SoCs

2011-12-05 Thread Christian Riesch
This code adds an SPL for booting from SPI flash on DA850 SoCs. Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Acked-by: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 +- arch/arm/cpu/arm926ejs/davinci/spl.c| 34

[U-Boot] [PATCH v5 5/6] mkimage: Fix variable length header support

2011-12-05 Thread Christian Riesch
image file was copied nevertheless. Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Acked-by: Stefano Babic --- tools/mkimage.c | 97 --- 1 files changed, 49 insertions(+), 48 deletions(-) diff --git a/tools/mkimage

[U-Boot] [PATCH v5 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c |4 +- board/davinci/da8xxevm/u-boot-spl.lds | 73 +++ doc/README.davinci|9

Re: [U-Boot] [PATCH v3 13/15] arm, da850evm: Add an SPL for SPI boot

2011-12-05 Thread Christian Riesch
Hi Tom, On Sat, Dec 3, 2011 at 6:49 AM, Christian Riesch wrote: > Hi Tom, > Thanks for your comments. > > > On Friday, December 2, 2011, Tom Rini wrote: >> On 12/02/2011 09:12 AM, Christian Riesch wrote: >> >> [snip] >>>  in

Re: [U-Boot] [PATCH v3 13/15] arm, da850evm: Add an SPL for SPI boot

2011-12-02 Thread Christian Riesch
Hi Tom, Thanks for your comments. On Friday, December 2, 2011, Tom Rini wrote: > On 12/02/2011 09:12 AM, Christian Riesch wrote: > > [snip] >> include/configs/da850evm.h| 87 + > [snip] >> +#define CONFIG_SYS_DA850_DDR2_SDTIM

Re: [U-Boot] [PATCH v4 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-02 Thread Christian Riesch
Hi Mike, Thanks for your comments. On Friday, December 2, 2011, Mike Frysinger wrote: > On Friday 02 December 2011 11:12:10 Christian Riesch wrote: >> +$(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin >> + $(obj)tools/mkimage -s -n /dev/n

[U-Boot] [PATCH v4 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-02 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger Cc: Scott Wood --- doc/README.SPL |1 + drivers/mtd/spi/Makefile |4 +++ drivers/mtd/spi/spi_spl_load.c | 58 include/spi_flash.h|3

[U-Boot] [PATCH v4 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-02 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Cc: Mike Frysinger --- .gitignore |1 + Makefile | 13 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index ff4bae0..e4e95e2 100644 --- a/.gitignore +++ b

[U-Boot] [PATCH v4 1/6] spl: display_options.o is required for SPI flash support in SPL

2011-12-02 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger --- lib/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 54708c2..35ba7ff 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -50,6 +50,8 @@ COBJS-$(CONFIG_SHA1

[U-Boot] [PATCH v4 0/6] Add an SPL to boot the da850evm from SPI

2011-12-02 Thread Christian Riesch
Paulraj Cc: Tom Rini Christian Riesch (6): spl: display_options.o is required for SPI flash support in SPL sf: Add spi_boot() to allow booting from SPI flash in an SPL arm, davinci: Add SPL support for DA850 SoCs arm, da850evm: Add an SPL for SPI boot mkimage: Fix variable length header

[U-Boot] [PATCH v4 5/6] mkimage: Fix variable length header support

2011-12-02 Thread Christian Riesch
image file was copied nevertheless. Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Acked-by: Stefano Babic --- tools/mkimage.c | 97 --- 1 files changed, 49 insertions(+), 48 deletions(-) diff --git a/tools/mkimage

[U-Boot] [PATCH v4 3/6] arm, davinci: Add SPL support for DA850 SoCs

2011-12-02 Thread Christian Riesch
This code adds an SPL for booting from SPI flash on DA850 SoCs. Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 +- arch/arm/cpu/arm926ejs/davinci/spl.c| 34 ++- 2 files

[U-Boot] [PATCH v4 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-02 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c |4 +- board/davinci/da8xxevm/u-boot-spl.lds | 73 +++ doc/README.davinci|9

Re: [U-Boot] [PATCH v3 11/15] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-02 Thread Christian Riesch
Hello Mike, thanks for your comments! On Fri, Nov 25, 2011 at 10:32 PM, Mike Frysinger wrote: > On Friday 25 November 2011 07:37:40 Christian Riesch wrote: >> --- a/drivers/mtd/spi/Makefile >> +++ b/drivers/mtd/spi/Makefile >> >> +ifdef CONFIG_SPL_BUILD >> +ifde

Re: [U-Boot] [PATCH v3 13/15] arm, da850evm: Add an SPL for SPI boot

2011-12-02 Thread Christian Riesch
Hello Heiko, thanks for your comments! On Mon, Nov 28, 2011 at 11:00 AM, Heiko Schocher wrote: > Hello Christian, > > Christian Riesch wrote: >> Signed-off-by: Christian Riesch >> Cc: Heiko Schocher >> Cc: Sandeep Paulraj >> Cc: Sudhakar Rajashekhara

[U-Boot] [PATCH v6] arm, arm926ejs: Fix clear bss loop for zero length bss

2011-12-01 Thread Christian Riesch
This patch fixes the clear bss loop for bss sections that have zero length, i.e., where __bss_start == __bss_end__. Signed-off-by: Christian Riesch Cc: Albert Aribaud --- Hi, this is v6 of a patch out of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI http

Re: [U-Boot] [PATCH v5] arm: Fix clear bss loop for zero length bss

2011-11-30 Thread Christian Riesch
Hi Albert, On Wed, Nov 30, 2011 at 9:13 PM, Albert ARIBAUD wrote: > Le 29/11/2011 11:58, Christian Riesch a écrit : >> This patch fixes the clear bss loop for bss sections that have >> zero length, i.e., where __bss_start == __bss_end__. [...] >> diff --git a/arch/arm/cpu/a

[U-Boot] [PATCH v5] arm: Fix clear bss loop for zero length bss

2011-11-30 Thread Christian Riesch
Hi Albert, On Wednesday, November 30, 2011, Albert ARIBAUD wrote: > Hi Christian, > > Le 29/11/2011 11:58, Christian Riesch a écrit : >> >> This patch fixes the clear bss loop for bss sections that have >> zero length, i.e., where __bss_start == __bss_end__. > &g

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Christian Riesch
Hi Tom, On Wed, Nov 30, 2011 at 3:18 PM, Tom Rini wrote: > On Wed, Nov 30, 2011 at 12:22 AM, Christian Riesch > wrote: >> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: >>> On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>> wrote: >>>> This code

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Christian Riesch
Hi Tom, On Wed, Nov 30, 2011 at 3:18 PM, Tom Rini wrote: > On Wed, Nov 30, 2011 at 12:22 AM, Christian Riesch > wrote: >> Hi Tom, >> >> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: >>> On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>> wrote: &

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-30 Thread Christian Riesch
Hello Heiko, On Wed, Nov 30, 2011 at 8:41 AM, Heiko Schocher wrote: > Christian Riesch wrote: >> On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: >>> On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch >>> wrote: >>>> This code adds an SPL f

Re: [U-Boot] [PATCH v3 12/15] arm, davinci: Add SPL support for DA850 SoCs

2011-11-29 Thread Christian Riesch
Hi Tom, On Tue, Nov 29, 2011 at 7:27 PM, Tom Rini wrote: > On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch > wrote: >> This code adds an SPL for booting from SPI flash on DA850 SoCs. >> >> Signed-off-by: Christian Riesch >> Cc: Heiko Schocher >> Cc: Sande

Re: [U-Boot] [PATCH v4 0/5] arm, davinci: add am1808 based enbw_cmc board

2011-11-29 Thread Christian Riesch
- patchset from Christian Riesch: > [U-Boot] [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI > http://lists.denx.de/pipermail/u-boot/2011-November/82.html Actually, your patches don't need the full patchset but only patches 1 to 7. I split my patchset into smaller pie

[U-Boot] [PATCH v5] arm: Fix clear bss loop for zero length bss

2011-11-29 Thread Christian Riesch
This patch fixes the clear bss loop for bss sections that have zero length, i.e., where __bss_start == __bss_end__. Signed-off-by: Christian Riesch Cc: Albert Aribaud --- Hi, this is v5 of a patch out of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI http

Re: [U-Boot] [PATCH v4] arm, davinci: Fix clear bss loop for zero length bss

2011-11-29 Thread Christian Riesch
On Tue, Nov 29, 2011 at 11:48 AM, Christian Riesch wrote: > This patch fixes the clear bss loop for bss sections that have > zero length, i.e., where __bss_start == __bss_end__. > > Signed-off-by: Christian Riesch > Cc: Albert Aribaud Oh, wrong subject line, this is for arm, no

[U-Boot] [PATCH v4] arm, davinci: Fix clear bss loop for zero length bss

2011-11-29 Thread Christian Riesch
This patch fixes the clear bss loop for bss sections that have zero length, i.e., where __bss_start == __bss_end__. Signed-off-by: Christian Riesch Cc: Albert Aribaud --- Hi, this is v4 of a patch out of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI http

[U-Boot] [PATCH v4] arm: printf() is not available in some SPL configurations

2011-11-29 Thread Christian Riesch
This patch avoids build breakage for SPLs that do not support printf. Signed-off-by: Christian Riesch Cc: Wolfgang Denk Cc: Albert Aribaud Acked-by: Tom Rini Acked-by: Andreas Bießmann --- Hi, this v4 of a patch out of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from

[U-Boot] [PATCH v4 4/7] arm, da850: Add pinmux configurations to the arch tree

2011-11-29 Thread Christian Riesch
Up to now nearly every davinci board has separate code for the definition of pinmux configurations. This patch adds pinmux configurations for the DA850 SoCs to the arch tree which may later be used for all DA850 based boards. Signed-off-by: Christian Riesch Cc: Sandeep Paulraj Cc: Heiko

[U-Boot] [PATCH v4 6/7] arm, hawkboard: Use the pinmux configurations defined in the arch tree

2011-11-29 Thread Christian Riesch
own. Signed-off-by: Christian Riesch Cc: Sandeep Paulraj Cc: Heiko Schocher Cc: Syed Mohammed Khasim Cc: Sughosh Ganu Cc: Mike Frysinger Acked-by: Heiko Schocher --- board/davinci/da8xxevm/hawkboard_nand_spl.c | 51 -- include/configs/hawkboard.h

[U-Boot] [PATCH v4 1/7] arm, davinci: Move pinmux functions from board to arch tree

2011-11-29 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Sandeep Paulraj Cc: Heiko Schocher Cc: Sudhakar Rajashekhara Cc: Syed Mohammed Khasim Cc: Sughosh Ganu Cc: Nick Thompson Cc: Stefano Babic Acked-by: Heiko Schocher Acked-by: Nick Thompson --- arch/arm/cpu/arm926ejs/davinci/Makefile|2

[U-Boot] [PATCH v4 5/7] arm, da850evm: Use the pinmux configurations defined in the arch tree

2011-11-29 Thread Christian Riesch
. Signed-off-by: Christian Riesch Cc: Sandeep Paulraj Cc: Heiko Schocher Cc: Sudhakar Rajashekhara Cc: Mike Frysinger Acked-by: Heiko Schocher --- board/davinci/da8xxevm/da850evm.c | 153 ++--- include/configs/da850_am18xxevm.h |1 + include/configs

[U-Boot] [PATCH v4 2/7] arm, hawkboard: Remove obsolete struct pinmux_config i2c_pins

2011-11-29 Thread Christian Riesch
The configuration in struct pinmux_config i2c_pins does not configure the pins for i2c but for uart. Since this function is already configured by struct pinmux_config uart2_pins the i2c_pins struct is obsolete. Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Syed Mohammed Khasim Cc

[U-Boot] [PATCH v4 3/7] arm, da850evm: Do pinmux configuration for EMAC together with other pinmuxes

2011-11-29 Thread Christian Riesch
Pinmux configuration for the EMAC was done in a separate call of davinci_configure_pin_mux(). This patch moves all the pinmux configuration that is done for this board to a common place. Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Sudhakar Rajashekhara Acked-by

[U-Boot] [PATCH v4 0/7] Remove duplication of pinmux configuration code

2011-11-29 Thread Christian Riesch
gards, Christian Cc: Sandeep Paulraj Cc: Heiko Schocher Christian Riesch (7): arm, davinci: Move pinmux functions from board to arch tree arm, hawkboard: Remove obsolete struct pinmux_config i2c_pins arm, da850evm: Do pinmux configuration for EMAC together with other pinmuxes arm,

[U-Boot] [PATCH v4 7/7] arm, davinci: Remove duplication of pinmux configuration code

2011-11-29 Thread Christian Riesch
This patch replaces the pinmux configuration code in arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c by the code from arch/arm/cpu/arm926ejs/davinci/pinmux.c. Signed-off-by: Christian Riesch Cc: Sandeep Paulraj Cc: Heiko Schocher Acked-by: Heiko Schocher --- arch/arm/cpu/arm926ejs/davinci

Re: [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC

2011-11-28 Thread Christian Riesch
Hi Ilya, On Mon, Nov 28, 2011 at 5:02 PM, Ilya Yanok wrote: > Hi Christian, > > On 28.11.2011 19:43, Christian Riesch wrote: >>>> What do you mean by "broken"? Is it "never working" or is it "working >>>> sometimes" or "not wor

Re: [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC

2011-11-28 Thread Christian Riesch
Wolfgang, On Mon, Nov 28, 2011 at 4:59 PM, Wolfgang Denk wrote: > Dear Christian Riesch, > > In message > you > wrote: > ... >> Then I commented out the lines >> #define CONFIG_SYS_ICACHE_OFF >> #define CONFIG_SYS_DCACHE_OFF >> #define CONFIG_SYS_L2

Re: [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC

2011-11-28 Thread Christian Riesch
Hi Tom, On Mon, Nov 28, 2011 at 3:53 PM, Tom Rini wrote: > On Mon, Nov 28, 2011 at 5:06 AM, Christian Riesch > wrote: >> On Sun, Nov 27, 2011 at 5:41 PM, Tom Rini wrote: >>> On Sun, Nov 27, 2011 at 8:09 AM, Wolfgang Denk wrote: >>>> In message <

Re: [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC

2011-11-28 Thread Christian Riesch
Hi, On Sun, Nov 27, 2011 at 5:41 PM, Tom Rini wrote: > On Sun, Nov 27, 2011 at 8:09 AM, Wolfgang Denk wrote: >> In message <1321048618-20616-1-git-send-email-ya...@emcraft.com> you wrote: >>> DaVinci EMAC driver has no support for running with D-Cache enabled so >>> disable D-Cache on all DaVinc

Re: [U-Boot] [PATCH v3 15/15] arm, davinci: Add support for generating AIS images to the Makefile

2011-11-25 Thread Christian Riesch
On Fri, Nov 25, 2011 at 1:37 PM, Christian Riesch wrote: > diff --git a/board/davinci/da8xxevm/config.mk > b/board/davinci/da8xxevm/config.mk > new file mode 100644 > index 000..05cf77f > --- /dev/null > +++ b/board/davinci/da8xxevm/config.mk > @@ -0,0 +1,5 @@ > +# re

[U-Boot] [PATCH v3 08/15] arm, davinci: Fix clear bss loop for zero length bss

2011-11-25 Thread Christian Riesch
This patch fixes the clear bss loop for bss sections that have zero length, i.e., where __bss_start == __bss_end__. Signed-off-by: Christian Riesch Cc: Albert Aribaud Cc: Heiko Schocher --- arch/arm/cpu/arm926ejs/start.S |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH v3 04/15] arm, da850: Add pinmux configurations to the arch tree

2011-11-25 Thread Christian Riesch
Up to now nearly every davinci board has separate code for the definition of pinmux configurations. This patch adds pinmux configurations for the DA850 SoCs to the arch tree which may later be used for all DA850 based boards. Signed-off-by: Christian Riesch Cc: Sandeep Paulraj Cc: Heiko

<    1   2   3   4   >