[U-Boot-Users] latest u-boot (1.3.2-rc2) and dataflash vs CFG_NO_FLASH

Matt Gessner mgessner at Avidyne.com
Thu Feb 28 23:30:52 CET 2008


Hi, again,

OK, I've got a NAND flash, SPI Dataflash, and no "real" flash (NOR, I
suppose).

If I try to copy from Ram to dataflash, u-boot says "Copy to Flash..."
and the CPU pukes; it's detecting what it thinks is flash.

If I #define CFG_NO_FLASH, other stuff breaks.  If I fix that by
changing include/flash.h to remove the #ifndef CFG_NO_FLASH, then
everything compiles, but on the link, all of the flash stuff that I DO
need (flash_info, flash_erase, etc) isn't defined because of
CFG_NO_FLASH.

Has this been fixed ANYWHERE in someone's branch?

Wolfgang, I know you don't really care much about non-memory flash
"devices" but is there some vision as to where all this is supposed to
go?

Thanks in advance,

Matt Gessner
mgessner at avidyne.com
Avidyne Corp
Safety Systems Group
Columbus, OH




More information about the U-Boot mailing list