[U-Boot] fw_setenv on protected flash

Stefan Roese sr at denx.de
Fri Feb 22 10:19:15 CET 2013


On 22.02.2013 10:15, Eibach, Dirk wrote:
>> Linux support for this enhanced sector protection (PPB) has 
>> just been accepted into mainline Linux. You need include this 
>> patch if you are working with an older kernel version:
>>
>> http://patchwork.ozlabs.org/patch/213602/
>>
>> And you also need to enable this feature in your dts file as 
>> described in the patch description.
> 
> Ah, thanks a lot.
> 
> So the recommended workflow (with patch and dts changes applied) would
> be:
> flash_unlock
> fw_setenv
> flash_lock
> ?

No. Unlocking and re-locking is already integrated into the fw_xxx tool.
So just apply the patch and everything should work as usually.

Thanks,
Stefan



More information about the U-Boot mailing list