Re: [U-Boot] [U-BOOT] [PATCH] arm: da830: moved pinmux configurations to the arch tree

2013-06-05 Thread Christian Riesch
-by: Christian Riesch Regards, Christian ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] da850evm: Use clrbits function with correct endianess

2013-06-14 Thread Christian Riesch
. Signed-off-by: Christian Riesch Cc: Nagabhushana Netagunte Cc: Rajashekhara, Sudhakar --- Hi, due to lack of hardware I only compile tested this code. I am looking forward to your comments. Regards, Christian board/davinci/da8xxevm/da850evm.c | 14 +++--- 1 file changed, 3 insertions

Re: [U-Boot] [PATCH] Consolidate bootcount code into drivers/bootcount

2012-06-01 Thread Christian Riesch
Hi Stefan, On Fri, Jun 1, 2012 at 11:52 AM, Stefan Roese wrote: > This patch moves all bootcount implementations into a common > directory: drivers/bootcount. The generic bootcount driver > (bootcount.c) is now usable not only by powerpc platforms, but > others as well. Highbank is already moved

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Christian Riesch
ic bootcount driver >> > is now usable not only by powerpc platforms, but others as well. >> > >> > Signed-off-by: Stefan Roese >> > Cc: Heiko Schocher >> > Cc: Valentin Longchamp >> > Cc: Christian Riesch >> > Cc: Manfred Rudigier

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Christian Riesch
Tested-by: Christian Riesch Thanks, Christian > > Signed-off-by: Stefan Roese > Cc: Heiko Schocher > Cc: Valentin Longchamp > Cc: Christian Riesch > Cc: Manfred Rudigier > Cc: Mike Frysinger > Cc: Rob Herring > Cc: Reinhard Meyer > --- > v2: > - Added C

Re: [U-Boot] [PATCH 1/7] da850/omap-l138: Add MMC support for DA850/OMAP-L138

2012-06-05 Thread Christian Riesch
Hi, On Fri, Jun 1, 2012 at 4:30 PM, Prabhakar Lad wrote: > From: Lad, Prabhakar > > This patch adds support for MMC/SD on DA850/OMAP-L138. > > Signed-off-by: Lad, Prabhakar > Signed-off-by: Rajashekhara, Sudhakar > Signed-off-by: Hadli, Manjunath > --- >  arch/arm/cpu/arm926ejs/davinci/da850_

Re: [U-Boot] [PATCH] da850/omap-l138: enable SPI flash in RMII mode

2012-06-05 Thread Christian Riesch
Hi, On Fri, Jun 1, 2012 at 3:48 PM, Prabhakar Lad wrote: > From: Rajashekhara, Sudhakar > > According to DA850/OMAP-L138 schematics, GP2[6] line has to be driven > high for RMII mode to work. In RMII mode, SPI flash becomes un-usable. > But during testing it was found out that, driving GP2[6] lo

Re: [U-Boot] [PATCH 6/7] da850/omap-l138: Add support for NAND SPL

2012-06-05 Thread Christian Riesch
Hi, On Fri, Jun 1, 2012 at 4:30 PM, Prabhakar Lad wrote: > From: Lad, Prabhakar > > This patch adds support for NAND SPL on DA850/OMAP-L138. > > Signed-off-by: Lad, Prabhakar > Signed-off-by: Rajashekhara, Sudhakar > Signed-off-by: Hadli, Manjunath > --- >  arch/arm/cpu/arm926ejs/davinci/spl.

Re: [U-Boot] [PATCH] da850/omap-l138: Enable auto negotiation in RMII mode

2012-06-05 Thread Christian Riesch
Hi, On Fri, Jun 1, 2012 at 3:34 PM, Prabhakar Lad wrote: > From: Rajashekhara, Sudhakar > > On DA850/OMAP-L138 it was observed that in RMII mode, > auto negotiation was not performed. This patch enables > auto negotiation in RMII mode. Without this patch, EMAC > initialization takes more time an

Re: [U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin

2014-07-31 Thread Christian Riesch
Hi, On Thu, Jul 31, 2014 at 12:24 PM, wrote: > Hi, Albert: > > I am studying 2014.07 release u-boot package. > > I found u-boot.bin's first bytes were not code in start.S . For ARM processors, it's in arch/arm/lib/vectors.S. Regards, Christian > > Taken for compling smdkv310 as an example: >

Re: [U-Boot] [PATCH v1] arm: include config.h in vectors.S

2014-08-19 Thread Christian Riesch
Hi Albert, On Tue, Aug 5, 2014 at 10:30 AM, Chris Packham wrote: > On 14/07/14 17:01, Chris Packham wrote: >> In order to use configuration flags it is necessary to include config.h. >> Without this arm targets that use CONFIG_USE_IRQ or CONFIG_SPL_BUILD >> won't get the correct code. >> >> Signe

Re: [U-Boot] [PATCH] arm: fix missing exception handling

2014-08-20 Thread Christian Riesch
Benoît, On Tue, Aug 19, 2014 at 8:35 PM, Benoît Thébaudeau wrote: > Commit 41623c9 'arm: move exception handling out of start.S files' missed some > linker scripts. Hence, some boards no longer had exception handling linked > since > this commit. Restore the original behavior by adding the .vect

Re: [U-Boot] [PATCH] arm: fix missing exception handling

2014-08-20 Thread Christian Riesch
Benoît, On Wed, Aug 20, 2014 at 12:47 PM, Benoît Thébaudeau wrote: > On Wed, Aug 20, 2014 at 9:21 AM, Christian Riesch > wrote: >> On Tue, Aug 19, 2014 at 8:35 PM, Benoît Thébaudeau >> wrote: >>> Commit 41623c9 'arm: move exception handling out of start.S fi

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,

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

[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 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

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
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 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

[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 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

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

[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-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

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 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 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-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-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-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] 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-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 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-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-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] 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] 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 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] [U-Boot-Users]-compilation error

2012-01-27 Thread Christian Riesch
Hi, On Fri, Jan 27, 2012 at 7:32 AM, periyasamy samy wrote: > hi.. >  i am new to u-boot and for my practice i compiled  arm720t impa7 source > code using abacus-anurag-linux compiler. i am getting the following I'm not familiar with abacus-anurag, but isn't that a different architecture? This i

Re: [U-Boot] Pull request: Davinci uboot

2012-01-27 Thread Christian Riesch
Hi Manju, On Fri, Jan 27, 2012 at 12:34 PM, Hadli, Manjunath wrote: > Hi Tom, > > These patches have been posted earlier and have gone necessary > reviews and I feel they are ready to be pulled. Please pull > these pathes. I think the last time you posted these patches was in September, right? S

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

2012-01-29 Thread Christian Riesch
Hi all, On Fri, Jan 27, 2012 at 7:33 PM, Tom Rini wrote: > So, what do we want to do here?  We really want to get this fix in so > we can get the hawkboard SPL changes in, and the other platforms / > fixups that are gated by that. > > If I can sum it up, in the relevant section of code we have in

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

2012-01-30 Thread Christian Riesch
Hi, On Monday, January 30, 2012, Heiko Schocher wrote: > Hello Christian, > > Christian Riesch wrote: >> Hi all, >> >> On Fri, Jan 27, 2012 at 7:33 PM, Tom Rini wrote: >>> So, what do we want to do here? We really want to get this fix in so >>> we

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

2012-01-30 Thread Christian Riesch
Hello Heiko, On Mon, Jan 30, 2012 at 7:39 AM, Heiko Schocher wrote: > Christian Riesch wrote: >> 2) The current version of Sughosh's patch does not change the logic >> behind the LOWLEVEL_INIT defines but just fixes the code to agree with >> ARM's manual. Instead o

[U-Boot] [PATCH v5 0/7] Change ARM926EJ-S startup code, hawkboard and calimain

2012-01-31 Thread Christian Riesch
Hi, In this patchset I tried to put everything from the discussion in http://lists.denx.de/pipermail/u-boot/2012-January/115212.html Although this is the first version of this patchset, the version number is v5 since Sughosh's patches were already v4. Regards, Christian Christian Ries

[U-Boot] [PATCH v5 5/7] arm, arm926ejs: Enable icache only if CONFIG_SYS_ICACHE_OFF is not defined

2012-01-31 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Albert Aribaud Cc: Tom Rini --- arch/arm/cpu/arm926ejs/start.S |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S index b350480..829065f 100644 --- a/arch/arm/cpu

[U-Boot] [PATCH v5 4/7] arm, arm926ejs: Do not clear the V bit on DA850 SoCs

2012-01-31 Thread Christian Riesch
The V bit of the c1 register of CP15 should not be cleared since the SoC has no valid memory at 0x. Signed-off-by: Christian Riesch Reported-by: Sughosh Ganu Cc: Albert Aribaud Cc: Tom Rini --- arch/arm/cpu/arm926ejs/start.S |5 - 1 files changed, 4 insertions(+), 1 deletions

[U-Boot] [PATCH v5 1/7] arm, davinci: Add lowlevel_init for SoCs other than DM644X

2012-01-31 Thread Christian Riesch
The low level initialization code in arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S was written for DM644X SoCs only. This patch makes the lowlevel_init function in this file a dummy function for SoCs other than DM644X. Signed-off-by: Christian Riesch Cc: Tom Rini Cc: Sergey Kubushyn --- arch

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

2012-01-31 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

[U-Boot] [PATCH v5 3/7] arm, arm926ejs: Flush the data cache before disabling it

2012-01-31 Thread Christian Riesch
flushed instead. Also fix the comments to match code. Signed-off-by: Sughosh Ganu Rebased and corrected commit message. Signed-off-by: Christian Riesch Cc: Albert Aribaud Cc: Tom Rini --- arch/arm/cpu/arm926ejs/start.S | 12 1 files changed, 8 insertions(+), 4 deletions

[U-Boot] [PATCH v5 2/7] arm, arm926ejs: Do cpu critical inits only for boards that require it

2012-01-31 Thread Christian Riesch
the board configurations that need low level initialization. Signed-off-by: Christian Riesch Cc: Albert Aribaud Cc: Tom Rini Cc: Heiko Schocher --- arch/arm/cpu/arm926ejs/start.S |6 -- include/configs/cam_enc_4xx.h |6 -- include/configs/da850evm.h |1 - include/configs/

[U-Boot] [PATCH v5 6/7] Changes to move hawkboard to the new spl infrastructure

2012-01-31 Thread Christian Riesch
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 Acked-by: Christian Riesch --- arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c| 24 ++- arch/arm/cpu/arm926ejs

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

2012-01-31 Thread Christian Riesch
Hi Tom, On Mon, Jan 30, 2012 at 6:03 PM, Tom Rini wrote: > On Sun, Jan 29, 2012 at 6:36 AM, Christian Riesch > wrote: > >> 3) As Sughosh pointed out, the current code changes the V bit >> (location of exceptions). Sughosh's patch removes this code that does >> th

[U-Boot] slow flash write with Freescale P1020 and PC28F256J3 NOR-flash

2012-01-31 Thread Christian Riesch
Hi Daniel, On Tuesday, January 31, 2012, Daniel Nilsson wrote: > I am bringing up a board that has a Freescale P1020 (PowerPC e500v2) > and a 16-bit PC28F256J3 NOR-flash on it. > > My problem is that both erases and programming takes very long time. > Reading from the flash on the other hand, is

[U-Boot] [PATCH 1/2] SPL: Add YMODEM over UART load support

2012-01-31 Thread Christian Riesch
Hi Tom, Hi Matt, On Tuesday, January 31, 2012, Tom Rini wrote: > From: Matt Porter > > Adds support for loading U-Boot from UART using YMODEM protocol. > If YMODEM support is enabled in SPL and the romcode indicates > that SPL loaded via UART then SPL will wait for start of a > YMODEM transfer v

Re: [U-Boot] [PATCH v5 4/7] arm, arm926ejs: Do not clear the V bit on DA850 SoCs

2012-02-02 Thread Christian Riesch
Hello Heiko and Sughosh, On Wed, Feb 1, 2012 at 8:33 AM, Heiko Schocher wrote: > Sughosh Ganu wrote: >> On Tue, Jan 31, 2012 at 7:26 PM, Christian Riesch < >> christian.rie...@omicron.at> wrote: >> >>> The V bit of the c1 register of CP15 should not be cl

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

2012-02-02 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

[U-Boot] [PATCH v6 5/7] arm, arm926ejs: Enable icache only if CONFIG_SYS_ICACHE_OFF is not defined

2012-02-02 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Albert Aribaud Cc: Tom Rini Acked-by: Heiko Schocher Tested-by: Heiko Schocher --- arch/arm/cpu/arm926ejs/start.S |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S

[U-Boot] [PATCH v6 0/7] Change ARM926EJ-S startup code, hawkboard and calimain

2012-02-02 Thread Christian Riesch
duced CONFIG_SYS_EXCEPTION_VECTORS_HIGH as requested by Sughosh and Heiko - added Acked-bys and Tested-bys Regards, Christian Christian Riesch (5): arm, davinci: Add lowlevel_init for SoCs other than DM644X arm, arm926ejs: Do cpu critical inits only for boards that require it arm, arm926ejs: Add o

[U-Boot] [PATCH v6 3/7] arm, arm926ejs: Flush the data cache before disabling it

2012-02-02 Thread Christian Riesch
flushed instead. Also fix the comments to match code. Signed-off-by: Sughosh Ganu Rebased and corrected commit message. Signed-off-by: Christian Riesch Cc: Albert Aribaud Cc: Tom Rini Acked-by: Heiko Schocher Tested-by: Heiko Schocher --- arch/arm/cpu/arm926ejs/start.S | 12

[U-Boot] [PATCH v6 2/7] arm, arm926ejs: Do cpu critical inits only for boards that require it

2012-02-02 Thread Christian Riesch
the board configurations that need low level initialization. Signed-off-by: Christian Riesch Cc: Albert Aribaud Cc: Tom Rini Cc: Heiko Schocher Acked-by: Heiko Schocher Tested-by: Heiko Schocher --- arch/arm/cpu/arm926ejs/start.S |6 -- include/configs/cam_enc_4xx.h |6 -- inclu

[U-Boot] [PATCH v6 4/7] arm, arm926ejs: Add option CONFIG_SYS_EXCEPTION_VECTORS_HIGH

2012-02-02 Thread Christian Riesch
The V bit of the c1 register of CP15 should not be cleared on DA850 SoCs since they have no valid memory at 0x. This patch introduces a configuration option CONFIG_SYS_EXCEPTION_VECTORS_HIGH that allows setting the correct value for the V bit. Signed-off-by: Christian Riesch Reported-by

[U-Boot] [PATCH v6 6/7] Changes to move hawkboard to the new spl infrastructure

2012-02-02 Thread Christian Riesch
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 Acked-by: Christian Riesch --- arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c| 24 ++- arch/arm/cpu/arm926ejs

[U-Boot] [PATCH v6 1/7] arm, davinci: Add lowlevel_init for SoCs other than DM644X

2012-02-02 Thread Christian Riesch
The low level initialization code in arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S was written for DM644X SoCs only. This patch makes the lowlevel_init function in this file a dummy function for SoCs other than DM644X. Signed-off-by: Christian Riesch Cc: Tom Rini Cc: Sergey Kubushyn Acked-by

Re: [U-Boot] [PATCH 0/2] da850evm: add board specific functions

2012-02-02 Thread Christian Riesch
Hi, Thank you for re-submitting the patchset! On Thu, Feb 2, 2012 at 2:42 PM, Manjunath Hadli wrote: > There are two da850 SOC based EVMs, one from Spectrum digital > and other from Logic PD. Boards from Spectrum digital have mac > address stored in I2C EEPROM and they have spi flash manufactured

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

2012-02-18 Thread Christian Riesch
Hi Albert, On Saturday, February 18, 2012, Albert ARIBAUD wrote: > Le 14/01/2012 15:02, Sughosh Ganu a écrit : >> >> 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 enab

Re: [U-Boot] support for the coldfire M5234BCC

2011-11-21 Thread Christian Riesch
On Monday, November 21, 2011, Richard Cochran wrote: > I am running the very latest mainstream Linux kernel on the Freescale > M5234BCC. The kernel boots file (if I hack the root device in > drivers/mtd/maps/uclinux.c). > > However, I am getting really tired of the dBUG thing. It only can > fetch

Re: [U-Boot] [RFC PATCH v2 07/12] arm: printf() is not available in some SPL configurations

2011-11-21 Thread Christian Riesch
Hello Tom, On Mon, Nov 21, 2011 at 6:52 PM, Tom Rini wrote: > On Mon, Nov 21, 2011 at 9:33 AM, Christian Riesch > wrote: >> This patch avoids build breakage for SPLs that do not support printf. >> >> Signed-off-by: Christian Riesch >> Cc: Wolfgang Denk >> C

Re: [U-Boot] [RFC PATCH v2 03/12] arm, da850: Move the definitions of pinmux configurations to the arch tree

2011-11-21 Thread Christian Riesch
Hello Mike, Thank you for your comments. On Mon, Nov 21, 2011 at 8:03 PM, Mike Frysinger wrote: > On Monday 21 November 2011 11:33:38 Christian Riesch wrote: >> --- /dev/null >> +++ b/arch/arm/include/asm/arch-davinci/da850_pinmux.h >> >> +const str

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

2011-11-21 Thread Christian Riesch
Hello Mike, Thank you for your comments. On Mon, Nov 21, 2011 at 8:09 PM, Mike Frysinger wrote: > On Monday 21 November 2011 11:33:47 Christian Riesch wrote: >> --- a/Makefile >> +++ b/Makefile >> >> +$(obj)u-boot.ais:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin &

Re: [U-Boot] [RFC PATCH v2 08/12] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-11-21 Thread Christian Riesch
Hello Mike, Thank you for your comments. On Mon, Nov 21, 2011 at 8:07 PM, Mike Frysinger wrote: > On Monday 21 November 2011 11:33:43 Christian Riesch wrote: >> --- a/drivers/mtd/spi/Makefile >> +++ b/drivers/mtd/spi/Makefile >> >> +ifdef CONFIG_SPL_BUILD >> +if

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

2011-11-22 Thread Christian Riesch
This patch avoids build breakage for SPLs that do not support printf. Signed-off-by: Christian Riesch Cc: Wolfgang Denk Cc: Tom Rini Acked-by: Tom Rini --- Changes for v3: - Removed extra white space - Separated patch from patchset [1] [1] http://lists.denx.de/pipermail/u-boot/2011-November

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

2011-11-22 Thread Christian Riesch
Hi Andreas, Thank you for your comments! On Tue, Nov 22, 2011 at 9:49 AM, Andreas Bießmann wrote: > Dear Christian, > > sorry I haven't followed the discussion so far. I have a little pointer too. > > Am 22.11.2011 09:26, schrieb Christian Riesch: >> This patch avoi

[U-Boot] [PATCH v3 03/15] arm, da850evm: Do pinmux configuration for EMAC together with other pinmuxes

2011-11-25 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

[U-Boot] [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI

2011-11-25 Thread Christian Riesch
To build run make da850evm_config make u-boot.ais Then program u-boot.ais to SPI flash on the da850evm. Regards, Christian [1] http://lists.denx.de/pipermail/u-boot/2011-November/110727.html [2] http://lists.denx.de/pipermail/u-boot/2011-November/109997.html Cc: Heiko Schocher Cc: Sandeep Paulra

[U-Boot] [PATCH v3 02/15] arm, hawkboard: Remove obsolete struct pinmux_config i2c_pins

2011-11-25 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 v3 05/15] arm, da850evm: Use the pinmux configurations defined in the arch tree

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

[U-Boot] [PATCH v3 09/15] arm: printf() is not available in some SPL configurations

2011-11-25 Thread Christian Riesch
This patch avoids build breakage for SPLs that do not support printf. Signed-off-by: Christian Riesch Cc: Wolfgang Denk Cc: Tom Rini Cc: Andreas Bie�mann Cc: Scott Wood --- arch/arm/lib/eabi_compat.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/lib

[U-Boot] [PATCH v3 07/15] arm, davinci: Remove duplication of pinmux configuration code

2011-11-25 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 --- arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c | 36

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

2011-11-25 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 |6 drivers/mtd/spi/spi_spl_load.c | 58 include/spi_flash.h|3

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

2011-11-25 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Cc: Mike Frysinger --- .gitignore |1 + Makefile | 13 + board/davinci/da8xxevm/config.mk |5 + 3 files changed, 19 insertions(+), 0 deletions

[U-Boot] [PATCH v3 01/15] arm, davinci: Move pinmux functions from board to arch tree

2011-11-25 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 --- arch/arm/cpu/arm926ejs/davinci/Makefile|2 +- .../arm/cpu/arm926ejs/davinci/pinmux.c

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

2011-11-25 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 --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 +- arch/arm/cpu/arm926ejs/davinci/spl.c| 34 ++- 2 files changed, 35

[U-Boot] [PATCH v3 10/15] spl: display_options.o is required for SPI flash support in SPL

2011-11-25 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 v3 06/15] arm, hawkboard: Use the pinmux configurations defined in the arch tree

2011-11-25 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 --- board/davinci/da8xxevm/hawkboard_nand_spl.c | 51 -- include/configs/hawkboard.h |1 + nand_spl/board

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

2011-11-25 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c |4 +- board/davinci/da8xxevm/u-boot-spl.lds | 73 + include/configs/da850evm.h| 53

[U-Boot] [PATCH v3 14/15] mkimage: Fix variable length header support

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

[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

[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

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

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] [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
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 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

[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

[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 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 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 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 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

  1   2   3   4   >