Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-21 Thread Teh Kok How
[mailto:w...@denx.de] Sent: Friday, February 12, 2010 11:28 PM To: Teh Kok How Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix Dear "Teh Kok How", In message <89d4e2cb6b654b3fb0da6a0ce6650...@smartbridges.com> you wrote: > > --- u-boot

Re: [U-Boot] [PATCH]: common/cmd_flash.c: Fix mtdparts usage in "erase" and "protect"

2010-02-12 Thread Teh Kok How
Fixes wrong argument to mtd_id_parse that affects u-boot command `erase` and `protect` . This fix passes the correct part-id to the commands so that `erase rootfs` and `protect rootfs` work. Signed-off-by: Kok How, Teh --- u-boot-2009.11.1.orig/common/cmd_flash.c2010-01-25 16:35:12.0

Re: [U-Boot] [PATCH] net/eth.c: bug-fix

2010-02-12 Thread Teh Kok How
Fixes: Board_eth_init() calls pci_eth_init() (include/netdev.h) and if ethernet is soc, CONFIG_PCI is not defined, pci_eth_init() returns 0. This patch allows cpu_eth_init() to be called. Signed-off-by: Kok How, Teh --- u-boot-2009.11.1.orig/net/eth.c 2010-01-25 16:35:12.0 +0800 +++

[U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-12 Thread Teh Kok How
- What exactly are you trying to fix? Please add a small description on what's broken and how your patch fixes it. => Fixes wrong argument to mtd_id_parse that affects u-boot command `erase` and `protect` . This fix passes the correct part-id to the commands so that `erase rootfs` and `protect ro

[U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-12 Thread Teh Kok How
--- u-boot-2009.11.1.orig/common/cmd_flash.c2010-01-25 16:35:12.0 +0800 +++ u-boot-2009.11.1.new/common/cmd_flash.c 2010-02-12 16:18:10.565540182 +0800 @@ -43,6 +43,7 @@ #ifndef CONFIG_SYS_NO_FLASH extern flash_info_t flash_info[]; /* info for FLASH chips */ +extern s

Re: [U-Boot] [PATCH] net/eth.c: bug-fix

2010-02-11 Thread Teh Kok How
, February 12, 2010 1:54 PM To: Teh Kok How Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] net/eth.c: bug-fix On 2/11/2010 8:08 PM, Teh Kok How wrote: > --- u-boot-2009.11.1.orig/net/eth.c 2010-01-25 16:35:12.0 +0800 > > +++ u-boot-2009.11.1/net/eth.c 2010-02-12 11:18:23.

[U-Boot] [PATCH] net/eth.c: bug-fix

2010-02-11 Thread Teh Kok How
--- u-boot-2009.11.1.orig/net/eth.c 2010-01-25 16:35:12.0 +0800 +++ u-boot-2009.11.1/net/eth.c 2010-02-12 11:18:23.558229895 +0800 @@ -199,7 +199,7 @@ #endif /* Try board-specific initialization first. If it fails or isn't * present, try the cpu-specific initial

[U-Boot] IXP425 ethernet & NPE microcode

2009-08-05 Thread Teh Kok How
Hi; My ixdp425 board boots without Ethernet. The only piece missing is the NPE ucode. Where can I download the NPE microcode that works with u-boot-2009.08-rc1? Thanks. Regards, Teh ___ U-Boot mailing list U-Boot@lists.denx.de http://li

Re: [U-Boot] IXP425 TEXT_BASE

2009-08-04 Thread Teh Kok How
e are some GPIO pins which I have not initialized properly. -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Teh Kok How Sent: Wednesday, August 05, 2009 11:22 AM To: 'Wolfgang Denk'; 'Darius Augulis' Cc: u-boot@list

Re: [U-Boot] IXP425 TEXT_BASE

2009-08-04 Thread Teh Kok How
Hi; I understand Wolfgang's argument but setting the TEXT_BASE to this arbitrary high address (DRAM_end - U-boot_size(_end - _start)) does not make sense. I am new to ARM arch but in PowerPC and MIPS, the TEXT_BASE is always set to the reset vector and in ARM, the reset vector is at 0 or 0x

[U-Boot] IXP425 TEXT_BASE

2009-08-04 Thread Teh Kok How
Hi; I am trying to bring up u-boot-2009-08-rc1 on IXP425 board. May I know what's the reason that the TEXT_BASE is 0x00f8 instead of 0 or 0x5000? Thanks. Regards, KH ___ U-Boot mailing list U-Boot@lists.denx.de http