[U-Boot] Pull request: u-boot-sh

2011-02-03 Thread Nobuhiro Iwamatsu
Dear Wolfgang Denk, Please pull the following changes. Best regards, Nobuhiro The following changes since commit 6f918bd46482f889f4d94623b09daf659a1974bd: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2011-01-31 23:20:32 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH] NAND: add more watchdog resets

2011-02-03 Thread Jaap de Jong
My testresults: unpatched ~~~ nand read 0x2000 0x0010 0x0300 no problem nand write 0x2000 0x0010 0x00c0 no problem nand write 0x2000 0x0010 0x00d0 the watchdog will reset the processor

Re: [U-Boot] BSS footprint of FAT very high - SPL issues

2011-02-03 Thread Graeme Russ
On 03/02/11 18:01, Aneesh V wrote: Hello Graeme, On Thursday 03 February 2011 02:31 AM, Graeme Russ wrote: [snip ..] Yes. These are variables that otherwise would go to BSS. I do this because I need them before SDRAM initialization. One of this is the gd structure. I allocate gd structure

Re: [U-Boot] spi subystem maintainer?

2011-02-03 Thread Kumar Gala
On Feb 2, 2011, at 3:30 AM, Reinhard Meyer wrote: Dear Stefano Babic: On 02/02/2011 08:23 AM, Kumar Gala wrote: Wanted to see if anyone had input on how to deal with the SPI controller on some of our newer parts. It expects command data xfer's to happen together. However our current code

Re: [U-Boot] BSS footprint of FAT very high - SPL issues

2011-02-03 Thread Aneesh V
Hello Albert, On Wednesday 02 February 2011 08:44 PM, Albert ARIBAUD wrote: [snip ..] However, there is one minor issue that I would like to report. Making .bss disjoint from the rest of the image may break the relocation code in start.S. Currently the assumption is that '__bss_start'

Re: [U-Boot] spi subystem maintainer?

2011-02-03 Thread Stefano Babic
On 02/03/2011 11:36 AM, Kumar Gala wrote: That's correct, and with the newer FSL controller's we dont have direct control over the CS. I know. You are probably talking about PowerPC, but it is the same for the i.MX processors. I'm thinking we need to have the command and response dealt with

[U-Boot] [PATCH] EfikaMX: switch to MACH_TYPE_MX51_EFIKAMX

2011-02-03 Thread Loïc Minier
Upstream linux moved from MACH_TYPE_MX51_LANGE51 to MACH_TYPE_MX51_EFIKAMX. --- board/efikamx/efikamx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c index 4efbeaf..f735260 100644 --- a/board/efikamx/efikamx.c +++

[U-Boot] [PATCH 0/3] MIPS: Fix failed run of MAKEALL mips script

2011-02-03 Thread daniel . schwierzeck
Currently MAKEALL mips covers 21 boards and 15 of them have compile errors with gcc-4.3.3. This patch series fixes these boards. Daniel Schwierzeck (3): MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled MIPS: Purple: Fix multiple definition error on

[U-Boot] [PATCH 1/3] MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled

2011-02-03 Thread daniel . schwierzeck
Some VCT boards lacks the support of networking or USB. Additionally that support is disabled in small image configurations. If CONFIG_CMD_NET should not used the CONFIG_CMD_NFS option have to be disabled too. Otherwise the linker fails with unresolved symbols. If CONFIG_VCT_SMALL_IMAGE is set

[U-Boot] [PATCH 2/3] MIPS: Purple: Fix multiple definition error on final linking of u-boot binary

2011-02-03 Thread daniel . schwierzeck
The linker of recent toolchains complains about multiple definitions on final linking of u-boot binary. This patch removes all redundant object files from u-boot.lds those are already added to .text section by the linker. That patch could not be tested but the resulting u-boot.map still looks

[U-Boot] [PATCH 3/3] MIPS: dbau1x00: Disable compilation of flash driver stub

2011-02-03 Thread daniel . schwierzeck
All dbau1x00 boards use the CFI driver so this stub driver is useless and should not be compiled. This patch fixes the error: u-boot-git/board/dbau1x00/flash.c:34: multiple definition of `flash_init' drivers/mtd/libmtd.o:u-boot-git/drivers/mtd/cfi_flash.c:2084: first defined here

Re: [U-Boot] [PATCH 1/3] MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled

2011-02-03 Thread Stefan Roese
Hi Daniel, On Thursday 03 February 2011 12:59:50 daniel.schwierz...@googlemail.com wrote: Some VCT boards lacks the support of networking or USB. Additionally that support is disabled in small image configurations. If CONFIG_CMD_NET should not used the CONFIG_CMD_NFS option have to be

Re: [U-Boot] [PATCH 3/3] MIPS: dbau1x00: Disable compilation of flash driver stub

2011-02-03 Thread Stefan Roese
Hi Daniel, On Thursday 03 February 2011 12:59:52 daniel.schwierz...@googlemail.com wrote: All dbau1x00 boards use the CFI driver so this stub driver is useless and should not be compiled. This patch fixes the error: u-boot-git/board/dbau1x00/flash.c:34: multiple definition of `flash_init'

Re: [U-Boot] [PATCH 1/3] MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled

2011-02-03 Thread Daniel Schwierzeck
Hi Stefan, * Only Premium/Platinum have ethernet support right now */ -#if defined(CONFIG_VCT_PREMIUM) || defined(CONFIG_VCT_PLATINUM) +#if (defined(CONFIG_VCT_PREMIUM) || defined(CONFIG_VCT_PLATINUM)) \ + !defined CONFIG_VCT_SMALL_IMAGE I would prefer consistent style with braces

Re: [U-Boot] [PATCH 3/3] MIPS: dbau1x00: Disable compilation of flash driver stub

2011-02-03 Thread Daniel Schwierzeck
Hi Stefan, 2011/2/3 Stefan Roese s...@denx.de: Hi Daniel, On Thursday 03 February 2011 12:59:52 daniel.schwierz...@googlemail.com wrote: All dbau1x00 boards use the CFI driver so this stub driver is useless and should not be compiled. This patch fixes the error:

[U-Boot] [PATCH] Fix misc spelling errors found by lintian

2011-02-03 Thread Loïc Minier
--- arch/arm/cpu/arm920t/at91rm9200/ether.c |2 +- arch/sparc/cpu/leon2/cpu_init.c |4 ++-- arch/sparc/cpu/leon3/cpu_init.c |4 ++-- common/cmd_usb.c|2 +- common/usb_storage.c|2 +- drivers/net/at91_emac.c

Re: [U-Boot] [PATCH] Fix gunzip to work for any gzipped uImage size Signed-off-by: Catalin Radu cata...@virtualmetrix.com

2011-02-03 Thread Sergei Shtylyov
Hello. On 02-02-2011 19:41, Catalin Radu wrote: diff --git a/lib/gunzip.c b/lib/gunzip.c index 482a476..18cb45b 100644 --- a/lib/gunzip.c +++ b/lib/gunzip.c @@ -106,12 +106,16 @@ int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, s.avail_in = *lenp - offset;

Re: [U-Boot] [PATCH] Fix gunzip to work for any gzipped uImage size Signed-off-by: Catalin Radu cata...@virtualmetrix.com

2011-02-03 Thread Sergei Shtylyov
Your signoff line got pasted to the subject. WBR, Sergei ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2 0/3] MIPS: Fix failed run of MAKEALL mips script

2011-02-03 Thread daniel . schwierzeck
Currently MAKEALL mips covers 21 boards and 15 of them have compile errors with gcc-4.3.3. This patch series fixes these boards. Changes for v2: - make brace style consistent in vct.h - delete unused board/dbau1x00/flash.c Daniel Schwierzeck (3): MIPS: VCT: Fix enabling of unwanted options if

[U-Boot] [PATCH v2 1/3] MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled

2011-02-03 Thread daniel . schwierzeck
Some VCT boards lacks the support of networking or USB. Additionally that support is disabled in small image configurations. If CONFIG_CMD_NET should not used the CONFIG_CMD_NFS option have to be disabled too. Otherwise the linker fails with unresolved symbols. If CONFIG_VCT_SMALL_IMAGE is set

[U-Boot] [PATCH v2 2/3] MIPS: Purple: Fix multiple definition error on final linking of u-boot binary

2011-02-03 Thread daniel . schwierzeck
The linker of recent toolchains complains about multiple definitions on final linking of u-boot binary. This patch removes all redundant object files from u-boot.lds those are already added to .text section by the linker. That patch could not be tested but the resulting u-boot.map still looks

[U-Boot] [PATCH v2 3/3] MIPS: dbau1x00: Remove unused flash driver stub

2011-02-03 Thread daniel . schwierzeck
All dbau1x00 boards use the CFI driver so this stub driver is useless and should not be compiled. This patch fixes the error: u-boot-git/board/dbau1x00/flash.c:34: multiple definition of `flash_init' drivers/mtd/libmtd.o:u-boot-git/drivers/mtd/cfi_flash.c:2084: first defined here

[U-Boot] P2020 SPL L2 clearing

2011-02-03 Thread Fabian Cenedese
Hi I'm creating a SPL u-boot image for our board. In the file arch/powerpc/cpu/mpc85xx/cpu_init_nand.c is the setup for the L2 cache as SRAM. In the end is a loop that fills the cache with 0 (512KB in this case). /* Initialize L2 SRAM to zero */ l2srbar = (char

[U-Boot] [PATCH] Fix gunzip to work for any gziped uImage size

2011-02-03 Thread Catalin Radu
Signed-off-by: Catalin Radu cata...@virtualmetrix.com --- lib/gunzip.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/gunzip.c b/lib/gunzip.c index 482a476..2922608 100644 --- a/lib/gunzip.c +++ b/lib/gunzip.c @@ -106,12 +106,16 @@ int zunzip(void

Re: [U-Boot] [PATCH 3/3] MIPS: dbau1x00: Disable compilation of flash driver stub

2011-02-03 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message aanlktikffkjqhgo8s4973p919bcwc7fjwpj+8d_gy...@mail.gmail.com you wrote: I suggest that you not only disable the compilation of this file, but remove it completely. Ok I can do that if you and Wolfgang agree I do. Best regards, Wolfgang Denk --

Re: [U-Boot] [STATUS] v2011.03-rc1 released

2011-02-03 Thread Ben Gardiner
On Wed, Feb 2, 2011 at 4:55 PM, Wolfgang Denk w...@denx.de wrote: Hello  everybody: * U-Boot v2011.03-rc1 was released on Wed, 02 Feb 2011. * Release v2011.03 is scheduled in 39 days - on March 13, 2011. Please help testing, and check if all your relevant patches have been included. Hi

[U-Boot] MPC8536 - U-Boot - Serial Port baudrate

2011-02-03 Thread Fischer, Sven
Hi, I'm trying to get the NAND-Boot working. So far I was able to access the 4k-byte Bootloader and it is copying the whole U-Boot to L2-SRAM and it tries to start it from the new location. While loading the 4k-byte bootloader the serial interface is working fine. After loading from the new

Re: [U-Boot] Pull request: u-boot-sh

2011-02-03 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message aanlktikwvpmrmsytweoofwkwd2rzb_kexlmyobcml...@mail.gmail.com you wrote: Please pull the following changes. Thanks. [This message is just a feature test.] Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

[U-Boot] [PATCH] Drop config.h include in tools/imximage.h

2011-02-03 Thread Loïc Minier
make tools-all should allow building tools such as mkimage and the new imximage without any config, but imximage.c currently fails to build with: imximage.h:27:20: error: config.h: No such file or directory config.h is not needed in imximage.h nor in imximage.c, and imximage.h is only included

Re: [U-Boot] [PATCH] mpc83xx: Use correct register to calculate clocks.

2011-02-03 Thread Joakim Tjernlund
Ping? Kim are you maintaining 83xx or should I poke someone else? Jocke Use SPMR instead of HRCWL when calculating clocks as HCRWL may be changed and the CPU will not pick up all changes until there is a POR. u-boot will think SPMF has changed and get the clocks wrong. Signed-off-by:

[U-Boot] [PATCH V2] Fix misc spelling errors found by lintian

2011-02-03 Thread Loïc Minier
Signed-off-by: Loïc Minier loic.min...@linaro.org --- Changes for V2: * add Signed-off-by arch/arm/cpu/arm920t/at91rm9200/ether.c |2 +- arch/sparc/cpu/leon2/cpu_init.c |4 ++-- arch/sparc/cpu/leon3/cpu_init.c |4 ++-- common/cmd_usb.c|2

[U-Boot] [PATCH V2] EfikaMX: switch to MACH_TYPE_MX51_EFIKAMX

2011-02-03 Thread Loïc Minier
Upstream linux moved from MACH_TYPE_MX51_LANGE51 to MACH_TYPE_MX51_EFIKAMX. Signed-off-by: Loïc Minier loic.min...@linaro.org --- Changes for V2: * Add Signed-off-by board/efikamx/efikamx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/efikamx/efikamx.c

Re: [U-Boot] [PATCH V2] Fix misc spelling errors found by lintian

2011-02-03 Thread Andy Pont
Loic wrote... snip diff --git a/common/cmd_usb.c b/common/cmd_usb.c index b04a8df..7fcc61a 100644 --- a/common/cmd_usb.c +++ b/common/cmd_usb.c @@ -580,7 +580,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) break;

Re: [U-Boot] [PATCH] powerpc: Add cpu_secondary_init_r to allow for initialization post env setup

2011-02-03 Thread Kumar Gala
On Feb 2, 2011, at 12:21 PM, Kumar Gala wrote: We can simplify some cpu/SoC level initialization by moving it to be after the environment and non-volatile storage is setup as there might be dependancies on such things in various boot configurations. For example for FSL SoC's with QE if we

Re: [U-Boot] [STATUS] v2011.03-rc1 released

2011-02-03 Thread Michael Schwingen
Wolfgang Denk wrote: Hello everybody: * U-Boot v2011.03-rc1 was released on Wed, 02 Feb 2011. * Release v2011.03 is scheduled in 39 days - on March 13, 2011. Please help testing, and check if all your relevant patches have been included. Note that still a large number of ARM boards are

[U-Boot] [PATCH 1/3] ColdFire: Queued SPI driver

2011-02-03 Thread Richard Retanubun
This patch adds a driver for Freescale Colfire Queued SPI bus. Coded to work with 8 bits per transfer to use with SPI flash. CPOL, CPHA, and CS_ACTIVE_HIGH can be configured. Tested with MCF5270 which have 4 chip selects. Activate by #define CONFIG_CF_QSPI in board config. ---

Re: [U-Boot] [PATCH V2] Fix misc spelling errors found by lintian

2011-02-03 Thread Loïc Minier
On Thu, Feb 03, 2011, Andy Pont wrote: Should this be further amended to be all upper case or all words starting with an upper case character rather than the current random looking collection? I wasn't sure whether it was extra emphasis on NO, and there was no other similarly looking message

Re: [U-Boot] [STATUS] v2011.03-rc1 released

2011-02-03 Thread Alexander Holler
Hello, Am 02.02.2011 22:55, schrieb Wolfgang Denk: * U-Boot v2011.03-rc1 was released on Wed, 02 Feb 2011. * Release v2011.03 is scheduled in 39 days - on March 13, 2011. Please help testing, and check if all your relevant patches have been included. I'm missing my patch for the problem

Re: [U-Boot] [PATCH V2] Fix misc spelling errors found by lintian

2011-02-03 Thread Wolfgang Denk
Dear Andy Pont, In message 012501cbc3ae$ae525bf0$0af713d0$@p...@sdcsystems.com you wrote: - printf(*** NO Device avaiable ***\n); + printf(*** NO Device available ***\n); Should this be further amended to be all upper case or all words

Re: [U-Boot] [PATCH] powerpc: Add cpu_secondary_init_r to allow for initialization post env setup

2011-02-03 Thread Wolfgang Denk
Dear Kumar Gala, In message 1e454b65-b8dc-4276-b6dd-7d4a3f522...@kernel.crashing.org you wrote: Any comments on this, based on the discussion here: Not really. I mean, I don't object. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB

Re: [U-Boot] [STATUS] v2011.03-rc1 released

2011-02-03 Thread Wolfgang Denk
Dear Michael Schwingen, In message 4d4acba0.9030...@discworld.dascon.de you wrote: Note that still a large number of ARM boards are broken. I hope many people join the efforts and fix all the currently broken boards. Thanks in advance to everybody who lends a helping hand. What is

Re: [U-Boot] [PATCH] Fix NAND_SPL and ONENAND_IPL in Makefile

2011-02-03 Thread Haiying Wang
Dear Wolfgang, On Thu, 2011-01-27 at 09:44 -0500, haiying.w...@freescale.com wrote: From: Haiying Wang haiying.w...@freescale.com Signed-off-by: Haiying Wang haiying.w...@freescale.com Acked-by: Scott Wood scottw...@freescale.com --- Makefile | 30 ++ 1

[U-Boot] [PATCH V3] Fix misc spelling errors found by lintian

2011-02-03 Thread Loïc Minier
Signed-off-by: Loïc Minier loic.min...@linaro.org --- Changes for V3: * tweak casing of string in common/cmd_usb.c to No device available Changes for V2: * add Signed-off-by arch/arm/cpu/arm920t/at91rm9200/ether.c |2 +- arch/sparc/cpu/leon2/cpu_init.c |4 ++--

[U-Boot] [PATCH] arm relocation: Fix calculation of board_init_r

2011-02-03 Thread Alexander Stein
Signed-off-by: Alexander Stein alexander.st...@informatik.tu-chemnitz.de --- Hello, I just played a bit with my at91sam9g20ek and tried using a new u-boot. So I compiled 656b990daa84bfdd512407ee2e3d2610e305a455 (atmel/wip110202) load it into memory using jtag to 0x2200 while it was linked to

Re: [U-Boot] [STATUS] v2011.03-rc1 released

2011-02-03 Thread Michael Schwingen
Am 02/03/2011 08:27 PM, schrieb Wolfgang Denk: Dear Michael Schwingen, In message 4d4acba0.9030...@discworld.dascon.de you wrote: Note that still a large number of ARM boards are broken. I hope many people join the efforts and fix all the currently broken boards. Thanks in advance to

Re: [U-Boot] [PATCH] mpc83xx: Use correct register to calculate clocks.

2011-02-03 Thread Kim Phillips
On Thu, 3 Feb 2011 15:17:23 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Kim are you maintaining 83xx or should I poke someone else? no, I'm here - I'll get back to you by Monday. Kim ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] powerpc/85xx: Don't build read_tlbcam_entry for CONFIG_NAND_SPL

2011-02-03 Thread Kumar Gala
Slim down NAND SPL build a bit as we don't need read_tlbcam_entry. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc85xx/tlb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerpc/cpu/mpc85xx/tlb.c

Re: [U-Boot] [U-BOOT] [PATCH V2] bootm: replace blob_start with image_start

2011-02-03 Thread Lei Wen
Hi Albert, On Mon, Jan 10, 2011 at 6:21 PM, Lei Wen lei...@marvell.com wrote: For uImage always has a 64 bytes header, we couldn't expect to do the xip from the header but should xip from the image start. The latter logic in that section is also move the image from image_start to the load

[U-Boot] [PATCH] powerpc/8xxx: Fix LAW init to respect pre-initialized entries

2011-02-03 Thread Kumar Gala
If some pre-boot or earlier stage bootloader (NAND SPL) has setup LAW entries consider them good and mark them used. In the NAND SPL case we skip re-initializing based on the law_table since the SPL phase already did that. Signed-off-by: Kumar Gala ga...@kernel.crashing.org ---

[U-Boot] [U-BOOT] [PATCH] env: reduce the stack footprint for the env buf

2011-02-03 Thread Lei Wen
Original env buf directly locate at stack lead large stack footprint when call those env functions. It is not good when the system memory is critical or only want the uboot run at restrict range, that is not to touch the memory of other place at its best. So now this patch move the env buf to the

[U-Boot] Health insurance (2/3/2011)

2011-02-03 Thread Robert Moore
Hello, Our company is an authorized agent for a unique advertising opportunity, reaching over 36,000,000 consumers, 94% of which are US based. We're able to present our users with a preferred choice whenever they are looking for anything on the major search engines. I seek one source to send

Re: [U-Boot] [PATCH] powerpc/8xxx: Fix LAW init to respect pre-initialized entries

2011-02-03 Thread Timur Tabi
On Thu, Feb 3, 2011 at 8:36 PM, Kumar Gala ga...@kernel.crashing.org wrote: +        * Any LAWs that where setup before we booted assume they are meant to +        * be around and mark them used. I think you mean were set up. setup == noun, set up == verb. -- Timur Tabi Linux kernel

Re: [U-Boot] MPC8536 - U-Boot - Serial Port baudrate

2011-02-03 Thread Sinan Akman
Fischer, Sven wrote: Hi, I'm trying to get the NAND-Boot working. Are you doing this MPC8536RDK (aka csb1880) or for your custom design (or referring to current implementation in MPC8536DS) ? -- sinan ___ U-Boot mailing list

Re: [U-Boot] [PATCH] Fix gunzip to work for any gziped uImage size

2011-02-03 Thread Anthony Foiani
Catalin, greetings! Some very minor code style issues that I noticed. All cosmetic. Catalin Radu cata...@virtualmetrix.com writes: Signed-off-by: Catalin Radu cata...@virtualmetrix.com --- lib/gunzip.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff

Re: [U-Boot] [PATCH] pm9g45_v1.3: make ethernet works

2011-02-03 Thread RONETIX - Asen Dimov
Hello, Asen Dimov with Message-Id: 1296141314-9580-1-git-send-email-di...@ronetix.at wrote: Signed-off-by: Asen Dimov di...@ronetix.at --- board/ronetix/pm9g45/pm9g45.c | 15 +++ include/configs/pm9g45.h |5 + 2 files changed, 20 insertions(+), 0 deletions(-)