[U-Boot] [PATCH] fw_env: Make env flash lock optional

Andreas Fenkart afenkart at gmail.com
Thu Jun 2 11:12:22 CEST 2016


Hi,

I faced the same problem a while back, thanks for taking a look at this.
Does it have to be compiled in? Why not make it a command line option,
evtl. making the default a compile time option.

/Andi

2016-06-02 10:27 GMT+02:00 Dirk Eibach <dirk.eibach at gdsys.cc>:
> Hi Anatolij,
>
> 2016-06-02 10:14 GMT+02:00 Anatolij Gustschin <agust at denx.de>:
> ...
>> when MEMLOCK ist broken on a platform and disabled by your patch,
>> shouldn't MEMUNLOCK be isolated as well?
>
> There are  cornercases where lock/unlock works properly in the kernel
> but not in u-boot. So we might have an environment that was locked by
> u-boot and are able to unlock it with fw_env.
>
> Cheers
> Dirk


More information about the U-Boot mailing list