[U-Boot] current ARM development head

2010-10-27 Thread Alexander Stein
Hello, I noticed that there is a lot of changes in ARM part of u-boot. Especially the new relocation is a bit tricky. So I'm wondering what and where is the current ARM development head, especially the at91 part. Is it u-boot master branch or some other repository/branch? Best regards, Alexand

Re: [U-Boot] arm, omap3, beagle: initial stack pointer setup

2010-10-27 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4cc7c628.70...@denx.de> you wrote: > > CONFIG_SYS_INIT_RAM_ADDR (SRAM_VECT_CODE) > ^ > 0x4020f800 > CONFIG_SYS_INIT_RAM_SIZE 0x7f0 Why that? From the current settings I would expect somet

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-27 Thread Stefano Babic
On 10/26/2010 12:35 PM, Jason Liu wrote: >>> static int fec_set_hwaddr(struct eth_device *dev) >>> @@ -414,9 +410,6 @@ static int fec_init(struct eth_device *dev, bd_t* bd) >>> uint32_t base; >>> struct fec_priv *fec = (struct fec_priv *)dev->priv; >>> >>> - /* Initialize MAC addre

Re: [U-Boot] SPI on PPC MPC85xx

2010-10-27 Thread Wolfgang Denk
Dear Matthias Dunda, In message <6a334922-e6ee-4dc3-ae44-f43157006...@t1817.greatnet.de> you wrote: > > unfortunately I have to push this message, as I received no comment on it, > yet. See http://catb.org/esr/faqs/smart-questions.html#id586288 Best regards, Wolfgang Denk -- DENX Software

Re: [U-Boot] [PATCH 2/2] MX5: board version not printed corretly on MX51EVK

2010-10-27 Thread Stefano Babic
On 10/26/2010 12:29 PM, Jason Liu wrote: >> As this is a cpu revision and not a board revision, it is not correct. >> If the board revision cannot be determined correctly at runtime, we >> should return a fixed value. but certainly not the cpu revision. > > Yes, agree. Then we need clean up the co

Re: [U-Boot] current ARM development head

2010-10-27 Thread Wolfgang Denk
Dear Alexander Stein, In message <201010270907.54241.alexander.st...@systec-electronic.com> you wrote: > > I noticed that there is a lot of changes in ARM part of u-boot. Especially > the > new relocation is a bit tricky. So I'm wondering what and where is the > current > ARM development head

[U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Darius Augulis
Hi list, the code for clearing bss section for most ARM cores looks like this or very similar: clear_bss: #ifndef CONFIG_PRELOADER ldr r0, _bss_start_ofs ldr r1, _bss_end_ofs ldr r3, _TEXT_BASE /* Text base */ mov r4, r7 /*

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-27 Thread Jason Liu
2010/10/27 Stefano Babic : > On 10/26/2010 12:35 PM, Jason Liu wrote:  static int fec_set_hwaddr(struct eth_device *dev) @@ -414,9 +410,6 @@ static int fec_init(struct eth_device *dev, bd_t* bd)       uint32_t base;       struct fec_priv *fec = (struct fec_priv *)dev->priv;

Re: [U-Boot] [PATCH] sparc: add asm/unaligned.h

2010-10-27 Thread Daniel Hellstrom
Wolfgang Denk wrote: >Dear Daniel Hellstrom, > >In message <4cc54d00.6040...@gaisler.com> you wrote: > > >>Mike Frysinger wrote: >> >> >> >>>It isn't possible to build any sparc boards without this ... >>> >>> >>> >>> >>I'm working on a new patch set with some of the patches going thr

Re: [U-Boot] current ARM development head

2010-10-27 Thread Reinhard Meyer
Dear Alexander Stein, > I noticed that there is a lot of changes in ARM part of u-boot. Especially > the > new relocation is a bit tricky. So I'm wondering what and where is the > current > ARM development head, especially the at91 part. Is it u-boot master branch or > some other repository/b

[U-Boot] Pull request: sparc

2010-10-27 Thread Daniel Hellstrom
Dear Wolfgang, Please pull the master branch of the sparc repository. Thanks, Daniel The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: Stefano Babic (1): FAT: buffer overflow with FAT12/16 are available in the git repository at: git://www.denx.de/git/u-

Re: [U-Boot] SPI on PPC MPC85xx

2010-10-27 Thread Stefan Roese
Hi Matthias, On Wednesday 27 October 2010 08:55:42 Matthias Dunda wrote: > unfortunately I have to push this message, as I received no comment on it, > yet. > > Is there a reason why the immap_t is not implemented for mpc85xx? > > I tried to copy it from mpc8360 but there are so many dependent m

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Sughosh Ganu
hi, On Wed Oct 27, 2010 at 10:26:06AM +0300, Darius Augulis wrote: > IMO, if relocation is skipped, r4 should be loaded with value of > _TEXT_BASE, not reloc address? > It seems like r3 is prepared for this but, it's somehow missing? It's > not used at all. > Maybe it could be reason why I'm faci

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Darius Augulis
Hi, On Wed, Oct 27, 2010 at 11:01 AM, Sughosh Ganu wrote: > hi, > > On Wed Oct 27, 2010 at 10:26:06AM +0300, Darius Augulis wrote: > >> IMO, if relocation is skipped, r4 should be loaded with value of >> _TEXT_BASE, not reloc address? >> It seems like r3 is prepared for this but, it's somehow mis

[U-Boot] [PATCH 1/6] GRETH: removed unneccesary register write and one clean up.

2010-10-27 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom --- drivers/net/greth.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 79bc4d9..4f1973c 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c @@ -45,7 +45,7 @@ /* ByPass Cache when r

[U-Boot] [PATCH 4/6] GRETH: Added extra RESET, this is needed if GRETH was stopped during an ethernet frame reception.

2010-10-27 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom --- drivers/net/greth.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index cb68d45..f081855 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c @@ -152,6 +152,16 @@ int greth_ini

[U-Boot] [PATCH 5/6] GRETH: fixed 2 decriptor table typos

2010-10-27 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom --- drivers/net/greth.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index f081855..0566e68 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c @@ -168,7 +168,7 @@ int greth_init(struct

[U-Boot] [PATCH 3/6] GRETH: Added autodetection of PHY address, or let BSP hardcode it.

2010-10-27 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom --- drivers/net/greth.c | 78 --- 1 files changed, 55 insertions(+), 23 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 788aac8..cb68d45 100644 --- a/drivers/net/greth.c +++ b/drivers/net/

[U-Boot] [PATCH 2/6] GRETH: made debug printouts use common debug() macro.

2010-10-27 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom --- drivers/net/greth.c | 66 +++--- 1 files changed, 25 insertions(+), 41 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 4f1973c..788aac8 100644 --- a/drivers/net/greth.c +++ b/drivers/net/g

[U-Boot] [PATCH 6/6] GRETH: removed space in network driver device name.

2010-10-27 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom --- drivers/net/greth.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 0566e68..6c32226 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c @@ -644,9 +644,9 @@ int greth_initialize(

[U-Boot] [PATCH] mcu25: fix out of tree building

2010-10-27 Thread Wolfgang Denk
Out of tree building of the Netstal hcu4 and hcu5 boards failed like that: Configuring for mcu25 board... Assembler messages: Fatal error: can't create /work/wd/tmp-ppc/board/netstal/mcu25/../common/fixed_sdram.o: No such file or directory Assembler messages: Fatal error: can't create /work/wd/

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-27 Thread Stefano Babic
On 10/27/2010 09:40 AM, Jason Liu wrote: > Yes, I haved looked it before and I also tested this patch on > MX51babbage 3.0 board. It will printting some confusing information > with floating value of MAC address when the board boot up after you > set the ethaddr enviorment. The reason is that, whe

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Sughosh Ganu
hi, On Wed Oct 27, 2010 at 11:22:17AM +0300, Darius Augulis wrote: > Hi, > > On Wed, Oct 27, 2010 at 11:01 AM, Sughosh Ganu > wrote: > > > >  Not sure which core are you referring to. I checked for arm926ejs, > >  and we have conditional code inclusion based on the definition of > >  CONFIG_SY

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Darius Augulis
On Wed, Oct 27, 2010 at 11:54 AM, Sughosh Ganu wrote: > hi, > > On Wed Oct 27, 2010 at 11:22:17AM +0300, Darius Augulis wrote: >> Hi, >> >> On Wed, Oct 27, 2010 at 11:01 AM, Sughosh Ganu >> wrote: > >> > >> >  Not sure which core are you referring to. I checked for arm926ejs, >> >  and we have c

[U-Boot] [PATCH] env_sf: updated to the new environment code

2010-10-27 Thread Stefano Babic
Functions to store/retrieve the environment from a SPI flash was not updated to the new environment code. The non-redundant case was not working correctly, reporting ""Environment SPI flash not initialized" and the code was not compiled clean in the redundant case. The patch fixes these issue and

[U-Boot] Your Mail ID Has Won £1,000,000.0 0. in The BT PROMO.Send

2010-10-27 Thread sharon-sharp
Name:Country___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Makefile: fix dependencies for building NAND_SPL

2010-10-27 Thread Wolfgang Denk
Building of NAND based boards failed sometimes (especially on MP systems) because of incorrect / missing dependencies. Signed-off-by: Wolfgang Denk --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index b50830a..5c83b07 100644 --- a/Makef

Re: [U-Boot] [PATCH] Makefile: fix dependencies for building NAND_SPL

2010-10-27 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > Building of NAND based boards failed sometimes (especially on MP > systems) because of incorrect / missing dependencies. > > Signed-off-by: Wolfgang Denk > --- > Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Tested on the tx25 boa

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Sughosh Ganu
On Wed Oct 27, 2010 at 11:58:30AM +0300, Darius Augulis wrote: > No, there could be several different relocation methods - with and > without preloader etc. > There is another definition CONFIG_SKIP_RELOCATE_UBOOT which changes > boot sequence dramatically. > And it isn't CONFIG_SYS_ARM_WITHOUT_RE

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-27 Thread Jason Liu
Hi, Stefano, 2010/10/27 Stefano Babic : > On 10/27/2010 09:40 AM, Jason Liu wrote: > >> Yes, I haved looked it before and I also tested this patch on >> MX51babbage 3.0 board. It will printting some confusing information >> with floating value of MAC address when the board boot up after you >> set

[U-Boot] [PATCH v2] [RFC] kirkwood: get rid of config.mk files

2010-10-27 Thread Prafulla Wadaskar
After moving the definition of CONFIG_SYS_TEXT_BASE to the respective board config files, all Marvell kirkwood board have just a single and common entry in their config.mk files: KWD_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/kwbimage.cfg Replace the only reference to KWD_CONFIG in the top lev

[U-Boot] [PATCH 2/5] Serial: Add UART support for Marvell ARMADA 100 SoCs.

2010-10-27 Thread Prafulla Wadaskar
From: Prafulla WADASKAR ARMADA 100 SoCs has NS16550 compatible UART peripheral This patch enables the same for ARMADA100 platforms Signed-off-by: Mahavir Jain Signed-off-by: Prafulla WADASKAR --- drivers/serial/ns16550.c | 16 drivers/serial/serial.c |3 +++ 2 files ch

[U-Boot] [PATCH 3/5] gpio: Add Multi-Function-Pin configuration driver for Marvell SoCs

2010-10-27 Thread Prafulla Wadaskar
Most of the Marvell SoCs has Multi Function Pin (MFP) configuration registers For ex. ARMADA100. These registers are programmed to expose the specific functionality associated with respective SoC Pins This driver provides configuration APIs, using them, configuration need to be done in board spec

[U-Boot] [PATCH 1/5] arm: Add Support for Marvell ARMADA 100 Familiy SoCs.

2010-10-27 Thread Prafulla Wadaskar
From: Prafulla WADASKAR ARMADA 100 Family processors are highly integrated SoCs based on Sheeva_88SV331x-v5 PJ1 cpu core. Ref: http://www.marvell.com/products/processors/applications/armada_100 SoC versions Supported: 1) ARMADA168/88AP168(Aspen P) 2) ARMADA166/88AP166(Aspen M) 3) ARMADA1

[U-Boot] [PATCH 0/5] Add Marvell New Soc Support ARMADA100

2010-10-27 Thread Prafulla Wadaskar
This patch series adds basic ARMADA100 support, with minimal drivers (UART, MFP) support and Aspenite-DB board support for simple boot Prafulla WADASKAR (3): arm: Add Support for Marvell ARMADA 100 Familiy SoCs. Serial: Add UART support for Marvell ARMADA 100 SoCs. Armada100: Add Board Suppo

[U-Boot] [PATCH 4/5] add Multi Fnction Pin configuration support for ARMADA100

2010-10-27 Thread Prafulla Wadaskar
This patch adds the support MFP support for Marvell ARMADA100 SoCs Signed-off-by: Prafulla Wadaskar --- arch/arm/include/asm/arch-armada100/mfp.h | 218 + 1 files changed, 218 insertions(+), 0 deletions(-) create mode 100755 arch/arm/include/asm/arch-armada100/mfp.h

[U-Boot] [PATCH 5/5] Armada100: Add Board Support for Marvell Aspenite-DB

2010-10-27 Thread Prafulla Wadaskar
From: Prafulla WADASKAR Aspenite is a Development Board for ASPEN/ARMADA168 (88AP168) Processor upto 1.2GHz with * Parallel 1Gb x8 DDR2-1066 MHz * 16 Mb x16 NOR, 4Gb x8 SLC NAND, footprint for SPI NOR * Footprints for eMMC/eSD NAND & MMC x8 card * 4-in-1 card read

Re: [U-Boot] [PATCH 2/5] Serial: Add UART support for Marvell ARMADA 100 SoCs.

2010-10-27 Thread Stefan Roese
Hi Prafulla, On Wednesday 27 October 2010 15:53:21 Prafulla Wadaskar wrote: > ARMADA 100 SoCs has NS16550 compatible UART peripheral > This patch enables the same for ARMADA100 platforms > > Signed-off-by: Mahavir Jain > Signed-off-by: Prafulla WADASKAR > --- > drivers/serial/ns16550.c | 16

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Darius Augulis
On Wed, Oct 27, 2010 at 12:09 PM, Sughosh Ganu wrote: > On Wed Oct 27, 2010 at 11:58:30AM +0300, Darius Augulis wrote: > >> No, there could be several different relocation methods - with and >> without preloader etc. >> There is another definition CONFIG_SKIP_RELOCATE_UBOOT which changes >> boot s

[U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
This patch is to fix build breakage and support new relocatoin scheme for mx51evk. - Correct IRAM base address and add size definition The IRAM starts from 0x1FFE on final revsion i.mx51 than 0x1FFE8000 which is for older revision. - Include imx-regs.h in mx51evk.h Definitions like CS

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Wolfgang Denk
Dear Darius Augulis, In message you wrote: > > > I don't think we can define CONFIG_SKIP_RELOCATE_UBOOT with > > relocation enabled unless we ensure that the TEXT_BASE would be same > > as the relocation address. > > in case of nand_spl you don't need to to relocation twice because it's > done

Re: [U-Boot] [PATCH 2/5] Serial: Add UART support for Marvell ARMADA 100 SoCs.

2010-10-27 Thread Prafulla Wadaskar
> -Original Message- > From: Stefan Roese [mailto:s...@denx.de] > Sent: Wednesday, October 27, 2010 3:24 PM > To: u-boot@lists.denx.de; Prabhanjan Sarnaik > Cc: Prafulla Wadaskar; Manas Saksena; Lei Wen; Eric Miao > Subject: Re: [U-Boot] [PATCH 2/5] Serial: Add UART support for Marvell >

Re: [U-Boot] [PATCH] mcu25: fix out of tree building

2010-10-27 Thread Wolfgang Denk
In message <1288168304-2717-1-git-send-email...@denx.de> you wrote: > Out of tree building of the Netstal hcu4 and hcu5 boards failed like > that: > > Configuring for mcu25 board... Please s/hcu4 and hcu5 boards/mcu25 board/ in the first line of the commit message. [not resending; will fix w

Re: [U-Boot] [RFC] [PATCH 0/4] Add support for Freescale's 85xx and P1/P2xxx eSPI controller

2010-10-27 Thread Can Aydin
On 13/10/2010 9:25 PM, Xie Shaohui-B21989 wrote: > Hi Can, > > Are there any differences between your patches and > http://lists.denx.de/pipermail/u-boot/2009-March/049093.html ? > > > Best Regards, > Shaohui Xie > Hello Shaohui, Firstly, I apologize for responding so late, we've been having so

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Darius Augulis
On 10/27/2010 01:40 PM, Wolfgang Denk wrote: > Dear Darius Augulis, > > In message you > wrote: >> >>> I don't think we can define CONFIG_SKIP_RELOCATE_UBOOT with >>> relocation enabled unless we ensure that the TEXT_BASE would be same >>> as the relocation address. >> >> in case of nand_spl you

Re: [U-Boot] [PATCH] mx51evk: consolidate env for mmcboot and netboot

2010-10-27 Thread Shawn Guo
Copy Linaro for comments, as Linaro may be concerned by this patch. On Mon, Oct 25, 2010 at 11:20 PM, Shawn Guo wrote: > This patch is to consolidate default mx51evk env for two primary > boot modes, mmcboot and netboot. > > It also cleans some unused env like netdev, uboot and redundant > env li

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Stefano Babic
On 10/27/2010 12:12 PM, Shawn Guo wrote: > This patch is to fix build breakage and support new relocatoin > scheme for mx51evk. > > - Correct IRAM base address and add size definition > > The IRAM starts from 0x1FFE on final revsion i.mx51 than > 0x1FFE8000 which is for older revision. >

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Jason Liu
2010/10/27 Shawn Guo : > This patch is to fix build breakage and support new relocatoin > scheme for mx51evk. What's change is for the build breakage fix? Please state it clearly. > > - Correct IRAM base address and add size definition > >  The IRAM starts from 0x1FFE on final revsion i.mx51

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
On Wed, Oct 27, 2010 at 7:29 PM, Jason Liu wrote: > 2010/10/27 Shawn Guo : >> This patch is to fix build breakage and support new relocatoin >> scheme for mx51evk. > > What's change is for the build breakage fix? Please state it clearly. > The new relocation scheme requires the definition of CONFI

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Wolfgang Denk
Dear Darius Augulis, In message <4cc80609.6040...@gmail.com> you wrote: > > > Maybe, maybe not. The preloader is usually very simple and may not be > > clever enough to adjust the oad address to the avalable memory and > > such; also, U-Boot features like protected RAM, shared video buffers > > or

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Jason Liu
2010/10/27 Shawn Guo : > On Wed, Oct 27, 2010 at 7:29 PM, Jason Liu wrote: >> 2010/10/27 Shawn Guo : >>> This patch is to fix build breakage and support new relocatoin >>> scheme for mx51evk. >> >> What's change is for the build breakage fix? Please state it clearly. >> > The new relocation scheme

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Wolfgang Denk
Dear Shawn Guo, In message <1288174358-14896-1-git-send-email-shawn@gmail.com> you wrote: > This patch is to fix build breakage and support new relocatoin > scheme for mx51evk. > > - Correct IRAM base address and add size definition > > The IRAM starts from 0x1FFE on final revsion i.mx

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
On Wed, Oct 27, 2010 at 7:46 PM, Wolfgang Denk wrote: > Dear Shawn Guo, > > In message <1288174358-14896-1-git-send-email-shawn@gmail.com> you wrote: >> This patch is to fix build breakage and support new relocatoin >> scheme for mx51evk. >> >> - Correct IRAM base address and add size definiti

Re: [U-Boot] arm, omap3, beagle: initial stack pointer setup

2010-10-27 Thread Steve Sakoman
On Wed, 2010-10-27 at 09:14 +0200, Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <4cc7c628.70...@denx.de> you wrote: > > > > CONFIG_SYS_INIT_RAM_ADDR(SRAM_VECT_CODE) > > ^ > > 0x4020f800 > > CONFIG_SYS_INIT_RAM_SIZ

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Stefano Babic
On 10/27/2010 01:54 PM, Shawn Guo wrote: > On Wed, Oct 27, 2010 at 7:46 PM, Wolfgang Denk wrote: >> Dear Shawn Guo, >> >> In message <1288174358-14896-1-git-send-email-shawn@gmail.com> you wrote: >>> This patch is to fix build breakage and support new relocatoin >>> scheme for mx51evk. >>> >>>

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Wolfgang Denk
Dear Shawn Guo, In message you wrote: > > > Please use something like > > > > #define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - > > GENERATED_GBL_DATA_SIZE) > > #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + > > CONFIG_SYS_INIT_SP_OFFSET) > > > If the automatic calcul

Re: [U-Boot] arm, omap3, beagle: initial stack pointer setup

2010-10-27 Thread Heiko Schocher
Hello Steve, Steve Sakoman wrote: > On Wed, 2010-10-27 at 09:14 +0200, Wolfgang Denk wrote: >> Dear Heiko Schocher, >> >> In message <4cc7c628.70...@denx.de> you wrote: >>> CONFIG_SYS_INIT_RAM_ADDR(SRAM_VECT_CODE) >>> ^ >>> 0x40

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
On Wed, Oct 27, 2010 at 8:23 PM, Wolfgang Denk wrote: > Dear Shawn Guo, > > In message you > wrote: >> >> > Please use something like >> > >> > #define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - >> > GENERATED_GBL_DATA_SIZE) >> > #define CONFIG_SYS_INIT_SP_ADDR  (CONFIG_SYS_INIT_RAM_

Re: [U-Boot] arm, omap3, beagle: initial stack pointer setup

2010-10-27 Thread Wolfgang Denk
Dear Steve Sakoman, In message <1288181563.2342.98.ca...@quadra> you wrote: > > > Why that? From the current settings I would expect something like > > > > CONFIG_SYS_INIT_RAM_ADDR0x4020f800 > > CONFIG_SYS_INIT_RAM_SIZE0x800 > > > > I see no reason to substract the top 16

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Wolfgang Denk
Dear Shawn Guo, In message you wrote: > > > But the stack pointer will not start at the end of the initial ram > > area, but below the global data area which lies at the end. > > > I thought the manual definition of CONFIG_SYS_INIT_SP_ADDR is the near > term solution, since it will be replaced b

Re: [U-Boot] arm, omap3, beagle: initial stack pointer setup

2010-10-27 Thread Steve Sakoman
On Wed, 2010-10-27 at 14:23 +0200, Heiko Schocher wrote: > Hello Steve, > > Steve Sakoman wrote: > > On Wed, 2010-10-27 at 09:14 +0200, Wolfgang Denk wrote: > >> Dear Heiko Schocher, > >> > >> In message <4cc7c628.70...@denx.de> you wrote: > >>> CONFIG_SYS_INIT_RAM_ADDR (SRAM_VECT_CODE) > >>>

Re: [U-Boot] Mail list threading problem or mailer problem?

2010-10-27 Thread Detlev Zundel
Hi Shawn, > Let's look at this example. Here is what I see on > http://lists.denx.de/pipermail/u-boot/2010-October/thread.html. [...] > Is this some problem with u-boot mail list threading itself or the gmail > mailer? This is a _feature_ of the pipermail component of GNU mailman. It intenti

Re: [U-Boot] arm, omap3, beagle: initial stack pointer setup

2010-10-27 Thread Heiko Schocher
Hello Steve, Steve Sakoman wrote: > On Wed, 2010-10-27 at 14:23 +0200, Heiko Schocher wrote: >> Hello Steve, >> >> Steve Sakoman wrote: >>> On Wed, 2010-10-27 at 09:14 +0200, Wolfgang Denk wrote: Dear Heiko Schocher, In message <4cc7c628.70...@denx.de> you wrote: > CONFIG_SYS_IN

Re: [U-Boot] [PATCH] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-10-27 Thread Anatolij Gustschin
Hi Remy, On Wed, 1 Sep 2010 10:49:22 +0200 Remy Bohmer wrote: ... > 2010/8/31 Anatolij Gustschin : > > Checking the status field of the qTD token in the current code > > do not take into acount cases where endpoint stall (halted) bit > > is set together with some other status bits. As a result cl

[U-Boot] [PATCH v2] omap3evm: Support for quick boot

2010-10-27 Thread Sanjeev Premi
Default configuration enables multiple features that are great for intial development work. But many of them are not useful when time taken to boot kernel is important - and uboot is frozen. This patch attempts to reduce the size of u-boot binary by excluding unused/not-so-commonly used features/c

Re: [U-Boot] [PATCH v2] omap3evm: Support for quick boot

2010-10-27 Thread Wolfgang Denk
Dear Sanjeev Premi, In message <1288186611-30656-1-git-send-email-pr...@ti.com> you wrote: > Default configuration enables multiple features > that are great for intial development work. But > many of them are not useful when time taken to > boot kernel is important - and uboot is frozen. > > Thi

Re: [U-Boot] [PATCH v2] omap3evm: Support for quick boot

2010-10-27 Thread Premi, Sanjeev
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Wednesday, October 27, 2010 7:19 PM > To: Premi, Sanjeev > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v2] omap3evm: Support for quick boot > [snip]...[snip] > > +#undef CONFIG_QUICK_BOOT > > +#undef CO

[U-Boot] [PATCH RFC] ARMV7: OMAP: Fix build after introduction of GENERATED_GBL_DATA_SIZE

2010-10-27 Thread Steve Sakoman
This patch fixes the issue by defining and using CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR. Based on an email discussion with Wolfgang Denk and Heiko Schocher. Signed-off-by: Steve Sakoman --- Tested on Overo. Will test on all available boards later today. diff --git a/include/conf

[U-Boot] [PATCH] da850evm: remove GENERATED_GBL_DATA_SIZE from initial stack

2010-10-27 Thread Ben Gardiner
Commit 25ddd1fb0a2281b182529afbc8fda5de2dc16d96 broke the da850evm build. The introduction of GENERATED_GBL_DATA_SIZE led to: $make mrproper ; make da850evm_config ; make -j9 all|grep -E '( error| warning)' Generating include/autoconf.mk Generating include/autoconf.mk.dep awk '(NF && $1 !~ /^#/) {

Re: [U-Boot] [PATCH RFC] ARMV7: OMAP: Fix build after introduction of GENERATED_GBL_DATA_SIZE

2010-10-27 Thread Heiko Schocher
Hello Steve, Steve Sakoman wrote: > This patch fixes the issue by defining and using CONFIG_SYS_INIT_RAM_SIZE and > CONFIG_SYS_INIT_RAM_ADDR. Based on an email discussion with Wolfgang Denk and > Heiko Schocher. > > Signed-off-by: Steve Sakoman > --- > > Tested on Overo. Will test on all avail

[U-Boot] [PATCH V3] imx25: Fix reset

2010-10-27 Thread Matthias Weisser
This patch fixes the reset command on imx25. The watchdog registers are 16 bits in size and not 32. This patch also adds the service register codes as constants. Signed-off-by: Matthias Weisser --- Changes since V2 - Using 16 bit constants Changes since V1 - Corrected whitespace - Leavi

Re: [U-Boot] [PATCH] da850evm: remove GENERATED_GBL_DATA_SIZE from initial stack

2010-10-27 Thread Heiko Schocher
Hello Ben, Ben Gardiner wrote: > Commit 25ddd1fb0a2281b182529afbc8fda5de2dc16d96 broke the da850evm build. The > introduction of GENERATED_GBL_DATA_SIZE led to: > > $make mrproper ; make da850evm_config ; make -j9 all|grep -E '( error| > warning)' > Generating include/autoconf.mk > Generating in

Re: [U-Boot] [PATCH] da850evm: remove GENERATED_GBL_DATA_SIZE from initial stack

2010-10-27 Thread Ben Gardiner
Hello Heiko, On Wed, Oct 27, 2010 at 10:35 AM, Heiko Schocher wrote: > Hello Ben, > > Ben Gardiner wrote: >> Commit 25ddd1fb0a2281b182529afbc8fda5de2dc16d96 broke the da850evm build. The >> introduction of GENERATED_GBL_DATA_SIZE led to: > [...] > Not necessary, already fixed here: > > http://lis

Re: [U-Boot] [PATCH V3] imx25: Fix reset

2010-10-27 Thread Reinhard Meyer
Dear Matthias Weisser, > struct wdog_regs { > - u32 wcr;/* Control */ > - u32 wsr;/* Service */ > - u32 wrsr; /* Reset Status */ > - u32 wicr; /* Interrupt Control */ > - u32 wmcr; /* Misc Control */ > + u16 wcr;/* Control */ > +

Re: [U-Boot] [PATCH] make-asm-offsets: fix sed script

2010-10-27 Thread Ben Gardiner
On Wed, Oct 27, 2010 at 2:37 AM, Wolfgang Denk wrote: > When copying the "sed" script to generate the asm-offsets.h file from > the Linux Kbuild script into the make-asm-offsets file I missed the > fact that the former runs in a "make" context and thus uses double > "$$" to escape a single "$", wh

Re: [U-Boot] [PATCH] VoVPN-GW_100MHz: drop unsupported board configuration

2010-10-27 Thread Rogan Dawes
[looks like this message got lost, resending] On 2010/10/24 4:00 PM, Wolfgang Denk wrote: > The 100MHz configuation of the VoVPN-GW has never been supported, so > drop it now. > > Signed-off-by: Wolfgang Denk > --- > > This commit shows a problem with the concept of the "README.scrapyard" > fil

Re: [U-Boot] [PATCH RFC] ARMV7: OMAP: Fix build after introduction of GENERATED_GBL_DATA_SIZE

2010-10-27 Thread Paulraj, Sandeep
> > Hello Steve, > > Steve Sakoman wrote: > > This patch fixes the issue by defining and using > CONFIG_SYS_INIT_RAM_SIZE and > > CONFIG_SYS_INIT_RAM_ADDR. Based on an email discussion with Wolfgang > Denk and > > Heiko Schocher. > > > > Signed-off-by: Steve Sakoman > > --- > > > > Tested on Ov

Re: [U-Boot] [PATCH v2] omap3evm: Support for quick boot

2010-10-27 Thread Wolfgang Denk
Dear "Premi, Sanjeev", In message you wrote: > > > This has the additional benefit that you can actually build both > > configurations without the need to modify any source files. > > [sp] Was only concerned about possibility of multiple configurations > per platform. Keeping them in sync

Re: [U-Boot] [PATCH] VoVPN-GW_100MHz: drop unsupported board configuration

2010-10-27 Thread Wolfgang Denk
Dear Rogan Dawes, In message <4cc83d9d@dawes.za.net> you wrote: > [looks like this message got lost, resending] No, it was not lost, just unreplied. > Include the cmdline at the top of the scrapyard file, and it should be > fairly self-evident, I would hope. Agreed that this is one of the p

Re: [U-Boot] [PATCH RFC] ARMV7: OMAP: Fix build after introduction of GENERATED_GBL_DATA_SIZE

2010-10-27 Thread Wolfgang Denk
Dear "Paulraj, Sandeep", In message <0554bef07d437848af01b9c9b5f0bc5da9d89...@dlee01.ent.ti.com> you wrote: > > > Test this patch on my beagle board, works fine: > > > > Tested-by: Heiko Schocher > > > > Should I consider this a bug fix and add it to my tree? > > I believe the patch itself

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Eric Cooper
On Wed, Oct 27, 2010 at 10:26:06AM +0300, Darius Augulis wrote: > Maybe it could be reason why I'm facing strange problem, when after > relocating uboot with nand_spl no one command is not working. I > debugged that command table is empty. Maybe this is the same problem I reported here (commands

Re: [U-Boot] [PATCH] VoVPN-GW_100MHz: drop unsupported board configuration

2010-10-27 Thread Rogan Dawes
On 2010/10/27 5:10 PM, Wolfgang Denk wrote: > Dear Rogan Dawes, > > In message <4cc83d9d@dawes.za.net> you wrote: >> [looks like this message got lost, resending] > > No, it was not lost, just unreplied. Ok, I didn't see it on gmane, so I assumed it had gone astray. Rogan __

Re: [U-Boot] ICACHE in core initialization to improve u-boot boot time: Breaks booting with i2c code while executing in flash.

2010-10-27 Thread Richard Retanubun
On 10/20/10 15:50, Wolfgang Denk wrote: > Dear Richard Retanubun, > > In message<4cbdc153.30...@ruggedcom.com> you wrote: >> >> It does not work on our platform (similar to MPC8360EMDS). I think this is >> specific to our platform because >> we need to initialize i2c and use i2c while still execu

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-27 Thread John Rigby
On Wed, Oct 27, 2010 at 5:21 AM, Jason Liu wrote: > Hi, Stefano, > > 2010/10/27 Stefano Babic : >> On 10/27/2010 09:40 AM, Jason Liu wrote: >> >>> Yes, I haved looked it before and I also tested this patch on >>> MX51babbage 3.0 board. It will printting some confusing information >>> with floating

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-27 Thread Wolfgang Denk
Dear John, In message you wrote: > > The patch fixes the particular case where you have no ethaddr in fuse, > nor persistent env. The case is a board where the only persistent > storage is an SD card and you set load a boot script from file in a Well, if ther eis no MAC address in the fuse, an

Re: [U-Boot] [PATCH] post/drivers/i2c.c: fix compile error

2010-10-27 Thread Wolfgang Denk
In message <1288128370-2556-1-git-send-email...@denx.de> you wrote: > Commit 7e263ce "post/i2c: Clean up detection logic" added a "const" > qualifier to the declaration of i2c_addr_list[], missing the fact that > the list gets modified later in the code, which results in build > errors like these:

Re: [U-Boot] Most ARM CPU's have buggy clear_bss?

2010-10-27 Thread Darius Augulis
Hi Eric, On 10/27/2010 06:12 PM, Eric Cooper wrote: > On Wed, Oct 27, 2010 at 10:26:06AM +0300, Darius Augulis wrote: >> Maybe it could be reason why I'm facing strange problem, when after >> relocating uboot with nand_spl no one command is not working. I >> debugged that command table is empty.

Re: [U-Boot] [PATCH] mcu25: fix out of tree building

2010-10-27 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1288168304-2717-1-git-send-email...@denx.de> you wrote: > Out of tree building of the Netstal hcu4 and hcu5 boards failed like > that: > > Configuring for mcu25 board... > Assembler messages: Fatal error: can't create > /work/wd/tmp-ppc/board/netstal/mcu25/../comm

Re: [U-Boot] [PATCH] make-asm-offsets: fix sed script

2010-10-27 Thread Wolfgang Denk
In message <1288161467-2979-1-git-send-email...@denx.de> you wrote: > When copying the "sed" script to generate the asm-offsets.h file from > the Linux Kbuild script into the make-asm-offsets file I missed the > fact that the former runs in a "make" context and thus uses double > "$$" to escape a s

Re: [U-Boot] [PATCH] Makefile: fix dependencies for building NAND_SPL

2010-10-27 Thread Wolfgang Denk
In message <1288170898-3332-1-git-send-email...@denx.de> you wrote: > Building of NAND based boards failed sometimes (especially on MP > systems) because of incorrect / missing dependencies. > > Signed-off-by: Wolfgang Denk > --- > Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deleti

Re: [U-Boot] [PATCH v2] [RFC] kirkwood: get rid of config.mk files

2010-10-27 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1288187252-3341-1-git-send-email-prafu...@marvell.com> you wrote: > After moving the definition of CONFIG_SYS_TEXT_BASE to the respective > board config files, all Marvell kirkwood board have just a single and > common entry in their config.mk files: > >

Re: [U-Boot] [PATCH 4/5] add Multi Fnction Pin configuration support for ARMADA100

2010-10-27 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1288187604-3371-5-git-send-email-prafu...@marvell.com> you wrote: > This patch adds the support MFP support for Marvell ARMADA100 SoCs > > Signed-off-by: Prafulla Wadaskar > --- There is a typo in the Subject: please s/Fnction/Function/ [No need to repost be

Re: [U-Boot] [PATCH 5/5] Armada100: Add Board Support for Marvell Aspenite-DB

2010-10-27 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1288187604-3371-6-git-send-email-prafu...@marvell.com> you wrote: ... > --- > MAINTAINERS |1 + > MAKEALL |1 + > board/Marvell/aspenite/Makefile | 52 ++ > board/Marvell/aspenite/aspenite.

Re: [U-Boot] [PATCH] env_sf: updated to the new environment code

2010-10-27 Thread Wolfgang Denk
Dear Stefano Babic, In message <1288170380-32580-1-git-send-email-sba...@denx.de> you wrote: > Functions to store/retrieve the environment from a SPI flash was not updated > to the new environment code. The non-redundant case was > not working correctly, reporting ""Environment SPI flash not initi

Re: [U-Boot] Pull request: sparc

2010-10-27 Thread Wolfgang Denk
Dear Daniel Hellstrom, In message <4cc7da61.5010...@gaisler.com> you wrote: > > The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: > Stefano Babic (1): > FAT: buffer overflow with FAT12/16 > > are available in the git repository at: > > git://www.denx.de/gi

Re: [U-Boot] [PATCH V4] mmc: seperate block number into small parts for multi-write cmd

2010-10-27 Thread Wolfgang Denk
Dear Lei Wen, In message <1287034691-26278-1-git-send-email-lei...@marvell.com> you wrote: > Constraint the mmc framework to only send no more than 65535 > blocks in one go during the multi-write command. This constraint > comes due to the limitation of 16bit width block counter register > at some

Re: [U-Boot] [PATCH 3/3 v2] Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value

2010-10-27 Thread Wolfgang Denk
Dear Alessandro Rubini, In message <20101026214042.ga2...@morgana.i.gnudd.com> you wrote: > > I am not convinced, as we don't have an array context here. > > But sizeof(struct x) doesn't depend on how struct x is used. > You can declare a pointer and then allocate for an array. > > > I don't see

Re: [U-Boot] [PATCH 1/2] cmd_onenand.c: Fix command usage help.

2010-10-27 Thread Wolfgang Denk
Dear Enric Balletbo i Serra, In message <1287479602-21721-2-git-send-email-eballe...@iseebcn.com> you wrote: > Running the onenand command without arguments does nothing, with this > patch shows the command usage. > > Signed-off-by: Enric Balletbo i Serra > --- > common/cmd_onenand.c |3 +++

Re: [U-Boot] [PATCH 01/10 v2] net: rtl8169: Add initialized eth_device structure

2010-10-27 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message you wrote: > > Could you take in these patches? Are these bug fixes, or can they wait for the "next" branch? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-27 Thread John Rigby
On Wed, Oct 27, 2010 at 2:06 PM, Wolfgang Denk wrote: > Dear John, > > In message you > wrote: >> >> The patch fixes the particular case where you have no ethaddr in fuse, >> nor persistent env.  The case is a board where the only persistent >> storage is an SD card and you set load a boot scrip

  1   2   >