
On Thu, Jun 02, 2016 at 08:57:05PM +0200, Dirk Eibach wrote:
Hi Wolfgang,
2016-06-02 15:36 GMT+02:00 Wolfgang Denk wd@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.
So in sum, things are already in a bad state and this is the only way to correct things? Can you please make this a cli option instead with appropriately scary help/man text? Thanks!