board/x/flash.c required calls
Brad,
there are bugs in the cfi code, and it also does not handle a 16bit flash operating as an 8bit chip on an 8 bit bus.
I have made some modifications to the cfi code and it now works for one of our boards, I am awaiting our other board to test it this week, at which point if it works I will send a patch, if anyone else would like to test the cfi code for me that would be great just let me know and I will send you the code
Daren
-----Original Message-----
From: Brad Kemp [mailto:Brad.Kemp at Seranoa.com]
Sent: 17 May 2004 16:12
To: Daren Hayward
Subject: RE: [U-Boot-Users] board/x/flash.c required calls
Daren,
Did cfi_flash.c see the cfi at all?
The cfi detect routine does not determine the type of flash only the capabilities.
If you send me the debug output I might be able to tell you what went wrong.
Brad
Quoted 40 lines
-----Original Message-----
From: Daren Hayward [mailto:darenh at 4bridgeworks.com]
Sent: Friday, May 14, 2004 4:24 AM
To: U-Boot User List
Subject: [U-Boot-Users]board/x/flash.crequired callsI have a custom board based on the walnut 405, I have managed to get U-Boot
up and running on the board until it tries to setup the Flash, I have code
that already works with for the flash (in house bootloader) and I need to
know what calls are required inflash.ci.e.flash_init(), is there a document containing this information?I have also tried to get CFI to detect the flash, but it is unable to determine the flash type (ATMEL AT49BV322A, operating as 4Mx8) , I have a
JTAG programmer that successfully reads the CFI data too.I #defined DEBUG 1 and can see the attempt of CFI to detect the flash, alas
no valid data is returned.Cheers
Daren-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users