Why the flash always say "flash not erased" in u-boot?

郭劲 guojin02 at tsinghua.org.cn
Sun May 18 07:43:15 EST 2008


I made two boards of MPC8360E with u-boot-1.3.0, the hardware on the board is the
same and the version of u-boot is also the same. One of the board is OK for erase
and cp.b command in u-boot,I can tftp the uImage,ramdisk,dtb,cfg.jffs2 to DDR,
then I used the cp.b command to write those file to flash, before the cp.b
command, I used the erase command to erase the flash first. But the second board
always told me"copy to flash ... flash not erased" when I used the cp.b command. I
used the "protect off all" command, I am sure that the erase command before cp.b
command is no problem. 
Even the cp.b command not work, the setenv command is always no problem, the new
parameter built by setenv can write to flash by saveenv. The USBTAP also can write
the file to flash. Why just only cp.b command not work? How can I make the flash
does not say "flash not erased"? 


More information about the Linuxppc-embedded mailing list