[U-Boot] [PATCH 4/4] Support NAND and OneNAND memories on the OMAP3 EVM.

2009-05-26 Thread Josh Karabin
This change detects the boot configuration of an OMAP3 device, and uses that information on OMAP3 EVM builds to support NAND or OneNAND. Signed-off-by: Josh Karabin --- board/omap3/evm/evm.c | 24 +++ board/omap3/evm/evm.h |4 +- cpu/arm_cortexa8

[U-Boot] [PATCH 3/4] Support run-time disabling of u-boot commands.

2009-05-26 Thread Josh Karabin
Change the command parsing code to ignore command table entries with NULL names. This makes it possible to disable a command (say, for a supported but not connected memory) at run time. Signed-off-by: Josh Karabin --- common/command.c | 43 +-- 1 files

[U-Boot] [PATCH 2/4] Support run-time disabling of NAND and OneNAND memories.

2009-05-26 Thread Josh Karabin
he correct memory type is used by called the disable function(s) of memory types that are supported at run time, but aren't present on the board. Signed-off-by: Josh Karabin --- drivers/mtd/nand/nand.c | 10 ++ drivers/mtd/onenand/onenand_uboot.c |9 +

[U-Boot] [PATCH 1/4] Support multiple CONFIG_ENV options in a single build.

2009-05-26 Thread Josh Karabin
. Mechanisms for selection will be provided in later patches. Tested on an OMAP3 EVM with OneNAND memory. Review and testing is particularly needed for the remainder of the persistent memory types. Signed-off-by: Josh Karabin --- common/cmd_nvedit.c|4 +-- common/env_common.c| 64

[U-Boot] [PATCH 0/4] Support NAND and OneNAND memories on the OMAP3 EVM

2009-05-26 Thread Josh Karabin
mpile them. Josh Karabin (4): Support multiple CONFIG_ENV options in a single build. Support run-time disabling of NAND and OneNAND memories. Support run-time disabling of u-boot commands. Support NAND and OneNAND memories on the OMAP3 EVM. board/omap3/evm/evm.c | 24

Re: [U-Boot] Ethernet not working on OMAP3 board with

2009-05-26 Thread Josh Karabin
Pillai, Manikandan wrote: > Hi Dirk, > > I have already tried this patch it does not work on EVM. > Was any other patch applied along with this ? That was the only one that I needed, on top of the arm/next branch from last week. The last commit was 86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf : "OM

Re: [U-Boot] Ethernet not working on OMAP3 board with

2009-05-20 Thread Josh Karabin
Dirk Behme wrote: > Pillai, Manikandan wrote: >> Hi , >> >> Tried the hints but they don't work. I still don't have a fix. Still >> investigating. > > Just two infos, maybe they help somehow: > > - We recently cleaned up OMAP3's clock code. But this was to _improve_ > network. If I remember co

Re: [U-Boot] Ethernet not working on OMAP3 board with

2009-05-20 Thread Josh Karabin
Pillai, Manikandan wrote: > Hi , > > Tried the hints but they don't work. I still don't have a fix. Still > investigating. On my omap3 evm, I see perpetual ARP requests sent from my board looking for my tftp server during a tftpboot comamnd. The server responds, but the evm doesn't appear to t

Re: [U-Boot] [PATCH 1/1] SMC911x driver fixed for NFS boot

2009-05-19 Thread Josh Karabin
Manikandan Pillai wrote: > eth_halt() function in the smc911x drivers used to call the > smc911x_reset() function. eth_halt() used to be called after > tftp transfers. This used to put the ethernet chip in reset > while the linux boots up resulting in the ethernet driver > not coming up. NFS boot

[U-Boot] [PATCH] Add a + prefix form to nand commands.

2009-05-18 Thread Josh Karabin
Permit the use of a + prefix to sizes in nand commands to extend operations to multiples of the appropriate page or erase block size. Signed-off-by: Josh Karabin --- common/cmd_nand.c | 122 +++-- 1 files changed, 99 insertions(+), 23 deletions

Re: [U-Boot] [PATCH] Add +size syntax to nand commands to pad lengths to page sizes.

2009-05-11 Thread Josh Karabin
Thanks for the review! I have some questions below that'll help me get rev 2 correct. Scott Wood wrote: > On Fri, May 01, 2009 at 04:24:20PM -0400, Josh Karabin wrote: >> @@ -119,8 +121,12 @@ arg_off_size(int argc, char *argv[], nand_info_t *nand, >> ulon

[U-Boot] [PATCH] Add +size syntax to nand commands to pad lengths to page sizes.

2009-05-01 Thread Josh Karabin
f the caller. Signed-off-by: Josh Karabin --- common/cmd_nand.c | 41 +++-- 1 files changed, 31 insertions(+), 10 deletions(-) diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 1992531..f094101 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -