Re: [U-Boot] Crash nand init UPMA - NAND flash MPC832x

2009-12-20 Thread Ben Warren
Koteswar, A few things: First of all, please don't top post. On Sun, Dec 20, 2009 at 9:55 PM, KoteswarK wrote: > > Hi > What are those "I/O accessor functions"? API present in > Look in include/asm-ppc/io.h. You'll find lots of wonderful accessor functions. They're always preferable to the a

Re: [U-Boot] Crash nand init UPMA - NAND flash MPC832x

2009-12-20 Thread KoteswarK
Hi What are those "I/O accessor functions"? API present in ./drivers/mtd/nand/fsl_upm.c file??? I am also getting crash while doing dummy write to NAND_BASE. Code is follows void UPMA_prog() { int i=0; /* OP set to write to RAM array command*/ *(int *)(MAMR) = 0x1000; /* Wr

[U-Boot] UBoot porting to cortex-m3 based SoC

2009-12-20 Thread Shawn Jin
Before starting the project I'd like to have some advices from the community about the feasibility of porting U-Boot/ucLinux to a cortex-m3 based SoC with limited resources (up to 512K flash, up to 64K SRAM). I limit my questions to U-Boot only and will post similar ones to ucLinux mailing-list. Bu

Re: [U-Boot] [PATCH][RESEND]: Fix for U-Boot build failure with CONFIG_SYS_NO_FLASH defined for qemu-mips.

2009-12-20 Thread Shinya Kuribayashi
Himanshu Chauhan wrote: > May be I really want that CONFIG_SYS_NO_FLASH defined then build should at > least not break. Isn't it? Correct, it should build even with CONFIG_SYS_NO_FLASH. >>> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c >>> index efd6aec..5bd3af0 100644 >>> --- a/common/cm

Re: [U-Boot] Remove board specific code from ENC28J60 network driver?

2009-12-20 Thread Mike Frysinger
On Sunday 20 December 2009 14:30:35 Dirk Behme wrote: > For TI OMAP3 Beagle based Zippy expansion board from TinCanTools [1] > I'm currently looking into reusing spi based ENC28J60 network driver > > drivers/net/enc28j60.c > > It seems to me that it uses LPC2292 specific macros > > IO1CLR, IO1SE

Re: [U-Boot] Remove board specific code from ENC28J60 network driver?

2009-12-20 Thread Ben Warren
Dirk, On Sun, Dec 20, 2009 at 11:30 AM, Dirk Behme wrote: > > For TI OMAP3 Beagle based Zippy expansion board from TinCanTools [1] > I'm currently looking into reusing spi based ENC28J60 network driver > > drivers/net/enc28j60.c > > It seems to me that it uses LPC2292 specific macros > > IO1CLR,

[U-Boot] Remove board specific code from ENC28J60 network driver?

2009-12-20 Thread Dirk Behme
For TI OMAP3 Beagle based Zippy expansion board from TinCanTools [1] I'm currently looking into reusing spi based ENC28J60 network driver drivers/net/enc28j60.c It seems to me that it uses LPC2292 specific macros IO1CLR, IO1SET and IO1DIR These macros are defined in asm-arm/arch-lpc2292/lpc2

Re: [U-Boot] Crash nand init UPMA - NAND flash MPC832x

2009-12-20 Thread Wolfgang Denk
Dear "nanda", In message <20091220172434.48360.qm...@f5mail-237-207.rediffmail.com> you wrote: > > Our development needs NAND to be implemented from u-boot level. And our > booting from FLASH depends of NOR flash using the GPCM. > > We are facing in the initialization of the nand_init, a crash

[U-Boot] Crash nand init UPMA - NAND flash MPC832x

2009-12-20 Thread nanda
Our development needs NAND to be implemented from u-boot level. And our booting from FLASH depends of NOR flash using the GPCM. We are facing in the initialization of the nand_init, a crash in the dummy write during the UPM program based on the UPM mode of freescale MPC8323 in the code below:

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

2009-12-20 Thread Remy Bohmer
The following changes since commit bb3bcfa2426cc6a0aecec7270e3ee67ca843a125: Wolfgang Denk (1): Merge branch 'next' of ../next are available in the git repository at: git://git.denx.de/u-boot-usb.git master Ajay Kumar Gupta (1): omap3evm: musb: add USB config Mahavir Jain (1):