[U-Boot] cp.b command not working for copy to flash

Dieter Kiermaier dk-arm-linux at gmx.de
Wed Jul 22 08:33:06 CEST 2009


Hi Nirav,
> 
> I am trying cp.b 22000000 10100000 180000 (i.e. copy from RAM to FLASH)
> Its showing me message flash can't Erase.
> 
> But when i tried cp.b 10100000 22000000 180000 its working. (i.e. copy from
> FLASH to RAM)
> Can please anybody tell me what's going wrong??

Maybe you have to unprotect your flash first?

Dieter




More information about the U-Boot mailing list