From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ladislav Michl Date: Mon, 1 Aug 2016 22:38:50 +0200 Subject: [U-Boot] Disable command at runtime In-Reply-To: <9c257c71-97b6-a83e-3d9d-e3a8459fc080@elnico.cz> References: <1f085e1d-378c-5f29-2f35-988b8d110da8@elnico.cz> <20160729133133.GL17970@bill-the-cat> <232d6d3e-c07a-09ee-d0d1-00bea9f7e1b2@elnico.cz> <20160729145940.GP17970@bill-the-cat> <9c257c71-97b6-a83e-3d9d-e3a8459fc080@elnico.cz> Message-ID: <20160801203850.GA28517@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jul 29, 2016 at 05:57:58PM +0200, Petr Kubiz???k wrote: > Ok, I get it, then I'll have to deal with two defconfigs and reflashing for > now. > > Anyway, at least a user feedback / feature request... I believe it would be > useful for many users to have a manufacturing mode, which they would escape > permanently by e.g. executing some command. In normal mode, some commands > would be disabled. Logic would be similar to CONFIG_OVERWRITE_ETHADDR_ONCE. You can still download U-Boot standalone application implementing whatever you need to do in production, so in "normal mode" your manufacturing secrets are not even part of your product. Best regards, ladis