[U-Boot] [PATCH 2/9] smi driver support for SPEAr SoCs

Vipin Kumar hasherror at gmail.com
Sat Dec 19 09:28:22 CET 2009


Hi Albert,

>
>>> Why don;t you protect sectors where the U-Bootimage and environment
>>> are stored?
>>
>> Since the code is being developed for a development board, erasing and
>> flashing the uboot is frequent. This is done only to save unprotect every
>> time before erasing/flashing uboot
>
> You could protect the sectors and then have a script in the default
> environment that automates unprotecting as well as erasing, loading new
> u-boot and flashing. This way you get the best of both worlds, protection
> against accidental erasures and simplicity of reflashing.
>

Yes, I also tend to think this way is better. Thanks

Regards
Vipin


More information about the U-Boot mailing list