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

2010-11-26 Thread Dirk Behme
On 26.11.2010 21:55, Wolfgang Denk wrote: > In message<20101126202955.b087d11d9...@gemini.denx.de> you wrote: >> The following changes since commit 6163f5b4c8873848ed023054bc401727301ea537: >> >>malloc: Fix issue with calloc memory possibly being non-zero (2010-11-17 >> 22:06:40 +0100) >> >>

Re: [U-Boot] [PATCH] bugfix: image header pointer change.

2010-11-26 Thread Mike Frysinger
On Friday, November 26, 2010 22:03:26 Baidu Boy wrote: > I get your point. So I need to re-send a patch? again, please stop top posting. it'd probably be good to send a new patch that didnt touch the boot progress line. -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH] bugfix: image header pointer change.

2010-11-26 Thread Baidu Boy
I get your point. So I need to re-send a patch? 2010/11/27 Mike Frysinger : > On Friday, November 26, 2010 20:08:07 Baidu Boy wrote: >> Hi,Mike: > > please do not top post > >> the purpose of below code is to copy the image header to the static > > please read the exact text i quoted > -mike >

Re: [U-Boot] [PATCH] bugfix: image header pointer change.

2010-11-26 Thread Mike Frysinger
On Friday, November 26, 2010 20:08:07 Baidu Boy wrote: > Hi,Mike: please do not top post > the purpose of below code is to copy the image header to the static please read the exact text i quoted -mike signature.asc Description: This is a digitally signed message part. _

Re: [U-Boot] [PATCH] bugfix: image header pointer change.

2010-11-26 Thread Baidu Boy
Hi,Mike: the purpose of below code is to copy the image header to the static variable images.legacy_hdr_os_copy, and then the images.legacy_hdr_os points to the image header in the static variable images. -- memmove (&images->legacy_hdr_os_copy, hdr, sizeof(image_header_t));

Re: [U-Boot] [PATCH] bugfix: image header pointer change.

2010-11-26 Thread Mike Frysinger
On Friday, November 26, 2010 18:59:42 Baidu Boy wrote: > - show_boot_progress (6); > + show_boot_progress (6); this doesnt seem to actually be changing anything. you should avoid unrelated syntax changes with functional changes. -mike signature.asc Description: This is

[U-Boot] [PATCH] bugfix: image header pointer change.

2010-11-26 Thread Baidu Boy
images.legacy_hdr_os should point to the new copied structure, not the original structure which may be over written. Signed-off-by: Baidu Boy --- common/cmd_bootm.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 1a024f1.

Re: [U-Boot] [PATCH] BLOCK: Add freescale IMX51 PATA driver

2010-11-26 Thread Wolfgang Denk
Dear Marek Vasut, In message <1290810494-26936-1-git-send-email-marek.va...@gmail.com> you wrote: > Signed-off-by: Marek Vasut > --- > drivers/block/Makefile |1 + > drivers/block/mxc_ata.c | 139 > +++ > 2 files changed, 140 insertions(+), 0 de

[U-Boot] [PATCH] BLOCK: Add freescale IMX51 PATA driver

2010-11-26 Thread Marek Vasut
Signed-off-by: Marek Vasut --- drivers/block/Makefile |1 + drivers/block/mxc_ata.c | 139 +++ 2 files changed, 140 insertions(+), 0 deletions(-) create mode 100644 drivers/block/mxc_ata.c diff --git a/drivers/block/Makefile b/drivers/block/Make

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

2010-11-26 Thread Wolfgang Denk
Dear Remy Bohmer, In message you wrote: > The following changes since commit c70e7ddb7e15e768d79edcbc4322d735e65ec31f: > > Blackfin: tweak objects specified before embedded environment > (2010-11-19 19:30:59 -0500) > > are available in the git repository at: > git://git.denx.de/u-boot-usb.

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

2010-11-26 Thread Wolfgang Denk
In message <20101126202955.b087d11d9...@gemini.denx.de> you wrote: > The following changes since commit 6163f5b4c8873848ed023054bc401727301ea537: > > malloc: Fix issue with calloc memory possibly being non-zero (2010-11-17 > 22:06:40 +0100) > > are available in the git repository at: > git:/

Re: [U-Boot] [PATCH] Introduce the Tertiary Program loader

2010-11-26 Thread Måns Rullgård
writes: > From: Haiying Wang > > TPL is introduced to enable a loader stub that boots out of some > type of RAM, after being loaded by an SPL or similar > platform-specific mechanism. > > One example of using this tpl loader is to initialize the ddr > through spd code in case the L2 SRAM size is

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

2010-11-26 Thread Remy Bohmer
The following changes since commit c70e7ddb7e15e768d79edcbc4322d735e65ec31f: Blackfin: tweak objects specified before embedded environment (2010-11-19 19:30:59 -0500) are available in the git repository at: git://git.denx.de/u-boot-usb.git master Anatolij Gustschin (1): usb: fix for US

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

2010-11-26 Thread Wolfgang Denk
The following changes since commit 6163f5b4c8873848ed023054bc401727301ea537: malloc: Fix issue with calloc memory possibly being non-zero (2010-11-17 22:06:40 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm.git master Albert Aribaud (2): arm: add ELF reloca

Re: [U-Boot] [PATCH] usb: Remove usb_dev_init() from ehci-ppc4xx.c

2010-11-26 Thread Remy Bohmer
Hi, 2010/11/26 Stefan Roese : > Calling usb_dev_init() from within the EHCI host driver is wrong. > The EHCI host driver should have no dependency/interconnection to the > USB device driver. > > Signed-off-by: Stefan Roese > Cc: Remy Bohmer > --- >  drivers/usb/host/ehci-ppc4xx.c |    1 - >  1 f

Re: [U-Boot] [PATCH] usb: Clear CMD_RUN while issuing CMD_RESET in ehci_reset()

2010-11-26 Thread Remy Bohmer
Hi, 2010/11/26 Stefan Roese : > This patch fixes a problem noticed on lwmon5 (PPC440EPx) using the > common EHCI driver, when "usb reset" is issued multiple times. > Upon the 2nd (and further) "usb reset" command, the command fails > with the following messages: > > => usb reset > (Re)start USB...

Re: [U-Boot] [PATCH] arm1176: bugfix: fix start.S for ELF relocation

2010-11-26 Thread Wolfgang Denk
Dear Albert Aribaud, In message <1290796930-4426-1-git-send-email-albert.arib...@free.fr> you wrote: > The start.S file was only half-rewritten for ELF relocations. > This bugfix completes the rewrite. > > Signed-off-by: Albert Aribaud > --- > > Build-tested on tnetv107x_evm > > arch/ar

Re: [U-Boot] [PATCH] usb: Add WATCHDOG_RESET call to polling loop

2010-11-26 Thread Remy Bohmer
Hi, 2010/11/26 Stefan Roese : > This watchdog reset call is needed here, otherwise the lwmon5 board > (PPC440EPx based) will reset upon the "usb reset" command. > > Signed-off-by: Stefan Roese > Cc: Remy Bohmer > --- >  drivers/usb/host/ehci-hcd.c |    2 ++ >  1 files changed, 2 insertions(+), 0

Re: [U-Boot] [PATCH] arm: add ELF relocation support to rest of cpus

2010-11-26 Thread Wolfgang Denk
Dear Albert Aribaud, In message <1290721502-410-1-git-send-email-albert.arib...@free.fr> you wrote: > bulk addition of ELF relocation support to ARM cpus > arm946es, arm720t,arm920t, arm925t, arm_intcm, ixp, > lh7a40x, s3c44b0, and sa1100. > > Signed-off-by: Albert Aribaud > --- > arch/arm/cpu/

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

2010-11-26 Thread Remy Bohmer
Hi, 2010/11/25 Anatolij Gustschin : > Hi Remy, > > On Tue, 02 Nov 2010 21:46:33 +0100 > Wolfgang Denk wrote: > >> Dear Remy Bohmer, >> >> In message >> you wrote: >> > >> > As U-boot project-owner you know you have the last word in this. >> >> This is a pretty precious resource that should be u

Re: [U-Boot] Pull request u-boot-marvell.git

2010-11-26 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message you wrote: > > Please pull > > The following changes since commit e81bb57f2d98a65aa1a3c61d54cf40294f9039c8= > : > Wolfgang Denk (1): > DaVinci: remove bogus DEF_BOOTM definition > > are available in the git repository at: > > u-boot-marvell.git

[U-Boot] [PATCH 15/25 V3] 83xx: Cleanup for partial linking and --gc-sections

2010-11-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Kim Phillips Cc: Haiying Wang --- Changes since V2: - fixed nand_spl/*/u-boot.lds as pointed out by Haiying arch/powerpc/cpu/mpc83xx/u-boot.lds | 53 -- nand_spl/board/freescale/mpc8313erdb/u-boot.lds |7 ++- nand_s

Re: [U-Boot] [PATCH 15/24 V2] 83xx: Cleanup for partial linking and--gc-sections

2010-11-26 Thread Wolfgang Denk
Dear Haiying Wang, In message <1290711414.2007.18.ca...@haiying-laptop> you wrote: > > I mean: > " > - *(.got2) > + KEEP(*(.got2)) I see. Of course you are right. Thanks for pointing out. I will post an updated patch. Best regards, Wolfgang Denk -- DENX Software En

[U-Boot] [PATCH] arm1176: bugfix: fix start.S for ELF relocation

2010-11-26 Thread Albert Aribaud
The start.S file was only half-rewritten for ELF relocations. This bugfix completes the rewrite. Signed-off-by: Albert Aribaud --- Build-tested on tnetv107x_evm arch/arm/cpu/arm1176/start.S | 47 +++-- 1 files changed, 13 insertions(+), 34 deletion

Re: [U-Boot] [PATCH] arm: add ELF relocation support to rest of cpus

2010-11-26 Thread Darius Augulis
On 11/26/2010 08:34 PM, Albert ARIBAUD wrote: > Le 26/11/2010 19:18, Darius Augulis a écrit : >> Hi, >> >> On 11/26/2010 08:12 PM, Albert ARIBAUD wrote: >>> Hi Darius, >>> >>> Le 26/11/2010 19:04, Darius Augulis a écrit : >>> Hi Albert, >>> how about arm1136 and arm1176? Perhaps they both

Re: [U-Boot] [PATCH] arm: add ELF relocation support to rest of cpus

2010-11-26 Thread Albert ARIBAUD
Le 26/11/2010 19:18, Darius Augulis a écrit : > Hi, > > On 11/26/2010 08:12 PM, Albert ARIBAUD wrote: >> Hi Darius, >> >> Le 26/11/2010 19:04, Darius Augulis a écrit : >> >>> Hi Albert, >> >>> how about arm1136 and arm1176? Perhaps they both have relocation code >>> but also they try to use _datare

Re: [U-Boot] [PATCH] ppc4xx/POST: Change ethernet test loop count to a default of 10

2010-11-26 Thread Wolfgang Denk
Dear Stefan Roese, In message <1290795460-7097-1-git-send-email...@denx.de> you wrote: > This patch changes the PPC4xx ethernet POST loop test count from > currently 192 (256 - 64) to a default of 10. While doing this the max > frame size is increased. Each loop run uses a different frame size, >

Re: [U-Boot] [PATCH] usb_ether: register usb ethernet gadget at each eth init

2010-11-26 Thread Vitaly Kuzmichev
Hi Lei, Lei Wen wrote: > Since the ether may not be the only one usb gadget would be used > in the uboot, it is neccessary to do the register each time the > eth begin to work to make usb gadget driver less confussed when > we want to use two different usb gadget at the same time. > [...] > @@ -17

Re: [U-Boot] [PATCH] arm: add ELF relocation support to rest of cpus

2010-11-26 Thread Darius Augulis
Hi, On 11/26/2010 08:12 PM, Albert ARIBAUD wrote: > Hi Darius, > > Le 26/11/2010 19:04, Darius Augulis a écrit : > >> Hi Albert, > >> how about arm1136 and arm1176? Perhaps they both have relocation code >> but also they try to use _datarel_* which are not exported by linker >> anymore. > > If I a

[U-Boot] [PATCH] ppc4xx/POST: Change ethernet test loop count to a default of 10

2010-11-26 Thread Stefan Roese
This patch changes the PPC4xx ethernet POST loop test count from currently 192 (256 - 64) to a default of 10. While doing this the max frame size is increased. Each loop run uses a different frame size, starting with a max of 1514 bytes, down to 64. The default loop count of 10 can be overriden usi

Re: [U-Boot] [PATCH] arm: add ELF relocation support to rest of cpus

2010-11-26 Thread Albert ARIBAUD
Hi Darius, Le 26/11/2010 19:04, Darius Augulis a écrit : > Hi Albert, > how about arm1136 and arm1176? Perhaps they both have relocation code > but also they try to use _datarel_* which are not exported by linker > anymore. If I am not mistaken, arm1136 and arm1176 are dealt with in v5 of my p

Re: [U-Boot] [PATCH] arm: add ELF relocation support to rest of cpus

2010-11-26 Thread Darius Augulis
Hi Albert, On 11/25/2010 11:45 PM, Albert Aribaud wrote: > bulk addition of ELF relocation support to ARM cpus > arm946es, arm720t,arm920t, arm925t, arm_intcm, ixp, > lh7a40x, s3c44b0, and sa1100. > > Signed-off-by: Albert Aribaud > --- > arch/arm/cpu/arm720t/start.S | 119

Re: [U-Boot] [PATCH] ppc4xx/POST: Change ethernet test loop count from 192 to 16

2010-11-26 Thread Wolfgang Denk
Dear Stefan Roese, In message <201011261627.25617...@denx.de> you wrote: > > I don't like this "l+=91" statement. How about making it a bit more flexible. > Something like this: > > #define MIN_PACKET_LENGTH 64 > #define MAX_PACKET_LENGTH 1518 > #ifndef CONFIG_SYS_POST_E

Re: [U-Boot] [PATCH] ppc4xx/POST: Change ethernet test loop count from 192 to 16

2010-11-26 Thread Stefan Roese
Hi Wolfgang, On Friday 26 November 2010 16:13:23 Wolfgang Denk wrote: > > -#define MIN_PACKET_LENGTH 64 > > -#define MAX_PACKET_LENGTH 256 > > +#define MIN_PACKET_LENGTH 256 > > +#define MAX_PACKET_LENGTH (256 + 16) > > Maybe it does indeed make sense to test a wider range of package > sizes.

Re: [U-Boot] [PATCH] ppc4xx/POST: Change ethernet test loop count from 192 to 16

2010-11-26 Thread Wolfgang Denk
Dear Stefan Roese, In message <1290782654-9242-1-git-send-email...@denx.de> you wrote: > This patch changes the PPC4xx ethernet POST loop test count from > currently 192 (256 - 64) to 16 which should be enough. The main reason > for this is to reduce the boot time on boards using this POST test, >

[U-Boot] [PATCH] ppc4xx: Update lwmon5 board support

2010-11-26 Thread Stefan Roese
This patch includes the following changes for the lwmon5 board support: - Enable cache in SDRAM - Use common EHCI driver instead of the PPC4xx specific OHCI driver This can be done since only high-speed devices are connected. - Remove cached TLB entry again after ECC setup - Use correct define f

[U-Boot] [PATCH] ppc4xx: Flush complete dcache in relocate_code()

2010-11-26 Thread Stefan Roese
When the cache is enabled in SDRAM we need to flush not only the global data area but also the bd_info struct in relocate_code. This patch now flushed the complete dcache (all dcache lines) via flush_dcache() instead of adding a flush_dcache_range() call for bd_info since this is faster. Signed-of

[U-Boot] [PATCH] ppc4xx/POST: Handle cached SDRAM correctly in Denali (440EPx) ECC POST

2010-11-26 Thread Stefan Roese
This patch fixes a problem in the Denali (440EPx) SDRAM ECC POST test. When cache is enabled in the SDRAM area, the values written to SDRAM need to be flushed from cache to SDRAM using the dcfb instruction. Without this patch the POST ECC test failed. Now its working again on platforms with cache

[U-Boot] [PATCH] ppc4xx/POST: Change ethernet test loop count from 192 to 16

2010-11-26 Thread Stefan Roese
This patch changes the PPC4xx ethernet POST loop test count from currently 192 (256 - 64) to 16 which should be enough. The main reason for this is to reduce the boot time on boards using this POST test, like the lwmon5 board. This change reduces the boot time by about 600ms on the lwmon5 board. S

[U-Boot] [PATCH] usb: Remove usb_dev_init() from ehci-ppc4xx.c

2010-11-26 Thread Stefan Roese
Calling usb_dev_init() from within the EHCI host driver is wrong. The EHCI host driver should have no dependency/interconnection to the USB device driver. Signed-off-by: Stefan Roese Cc: Remy Bohmer --- drivers/usb/host/ehci-ppc4xx.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) d

[U-Boot] [PATCH] usb: Clear CMD_RUN while issuing CMD_RESET in ehci_reset()

2010-11-26 Thread Stefan Roese
This patch fixes a problem noticed on lwmon5 (PPC440EPx) using the common EHCI driver, when "usb reset" is issued multiple times. Upon the 2nd (and further) "usb reset" command, the command fails with the following messages: => usb reset (Re)start USB... USB: Register NbrPorts 1 USB EHCI 1.

[U-Boot] [PATCH] usb: Add WATCHDOG_RESET call to polling loop

2010-11-26 Thread Stefan Roese
This watchdog reset call is needed here, otherwise the lwmon5 board (PPC440EPx based) will reset upon the "usb reset" command. Signed-off-by: Stefan Roese Cc: Remy Bohmer --- drivers/usb/host/ehci-hcd.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/e

[U-Boot] [PATCH] ppc4xx: Clarify comment about boot chip-select in start.S

2010-11-26 Thread Stefan Roese
Ths old comment was quite screwed up. Replace it with a new version that should be a bit more descriptive. Signed-off-by: Stefan Roese --- arch/powerpc/cpu/ppc4xx/start.S | 26 ++ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/cpu/ppc4xx/s

Re: [U-Boot] [PATCH] ppc4xx: Remove bogus comment from start.S

2010-11-26 Thread Stefan Roese
Hi Wolfgang, On Tuesday 23 November 2010 20:58:24 Wolfgang Denk wrote: > It appears that the old comment contained some information about how > booting and especially address resolution works on 4xx. Is there some > way to keep this (non-obvious, at least to me) information, instead of > just del

[U-Boot] Fwd: Hey bro

2010-11-26 Thread 丰 陈
Extra income is just a click away , sorry i missed you. Anyway, I remember you talkin about how much you hate your boss and I found this local news article that talks about how easy it is to do something from home. You should really check it out bcause i'm already makin money because of it: htt

[U-Boot] [PATCH] Fix for MPC8360 ATM Quad OC3 External Phys

2010-11-26 Thread Popa Stefan-R89990
* Changed the CS4 and CS5 addresses on Local Bus for matching the PMC0 and PMC1 addresses. Signed-off-by: Stefan Popa --- include/configs/MPC8360EMDS.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/MPC8360EMDS.h b/include/configs/MPC8360EMDS