[U-Boot-Users] Setting strataflash lock bit accidentally

llandre r&d2 at dave-tech.it
Fri Jul 21 12:19:48 CEST 2006


Let's assume that, because a software bug, an application has 
accidentally set the lock bit of the flash sector used to store the 
U-Boot environment. In this case, when trying to store a new environment 
with the saveenv command, U-Boot would not be able to complete the 
operation. Is it enough to define CFG_FLASH_PROTECTION in order to 
handle this situation and to allow U-Boot to unlock the sector (same 
thing would happen in case the locked sectors fall in the memrory area 
devoted to store kernels or ramsisks)? If no, how do you suggest to 
manage this situation?



TIA,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it




More information about the U-Boot mailing list