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

Dirk Eibach dirk.eibach at gdsys.cc
Thu Jun 2 20:57:05 CEST 2016


Hi Wolfgang,

2016-06-02 15:36 GMT+02:00 Wolfgang Denk <wd at denx.de>:
> ...
>> 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.
>
> But then such a "fix" looks wrong to me.  If it works in Linux, why
> not fix the code so it works in U-Boot, too?  I mean, if you have a
> working example, that should be possible, or not?
> ...

Sometimes I simply need a tool to repair a device in the field where
updating u-boot or kernel is not an option.
But uploading modified fw_env tools is.

Cheers
Dirk


More information about the U-Boot mailing list