[U-Boot-Users] Why the flash always say "flash not erased" in u-boot?

Hi,friends,
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"?
Thanks.
participants (1)
-
郭劲