[U-Boot-Users] Erase error on dual P30 (CFI) flash chips

Stefan Roese sr at denx.de
Fri Jun 15 15:48:47 CEST 2007


On Friday 15 June 2007, w.wegner at astro-kom.de wrote:
> > Flash erase error at address ffd80000
> > Block Erase Error.
> > Block locked.
> >  done
> > Erased 1 sectors
>
> if I am not mistaken, you have to also set:
>
> #define CFG_FLASH_PROTECTION 1

And you will have to set the environment variable "unlock" to "yes". This will 
unlock all non U-Boot special sectors by default upon powerup.

=> setenv unlock yes
=> saveenv

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list