
21 Jul
2006
21 Jul
'06
1:02 p.m.
In message 44C0AA44.5050400@dave-tech.it you wrote:
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?
Use MTD tools under Linux to unlock the flash?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
All a hacker needs is a tight PUSHJ, a loose pair of UUOs, and a warm
place to shift.