From: Tom Rini Date: Thu, 2 Jun 2016 15:26:28 -0400 Subject: [U-Boot] [PATCH] fw_env: Make env flash lock optional In-Reply-To: References: <1464851354-26470-1-git-send-email-dirk.eibach@gdsys.cc> <20160602101459.71305f10@crub> <20160602133648.6F298100C66@atlas.denx.de> Message-ID: <20160602192628.GW7419@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 : > > ... > >> 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! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: