[U-Boot] Disable command at runtime

Tom Rini trini at konsulko.com
Fri Jul 29 15:31:33 CEST 2016


On Thu, Jul 28, 2016 at 04:40:29AM -0700, kubiznak.petr wrote:

> Hello,
> 
> I wonder whether it is possible to dynamically enable/disable a command. 
> Since u-boot does not provide any secure authentication method, it is 
> dangerous to keep some commands available to a potential hacker. E.g. 
> the "fuse" command. On the other hand, I need these commands during the 
> manufacturing process. So my idea is to enable/disable the commands 
> dynamically based on some obscure logic. Is there a way to do it without 
> need to deeply hack the code?

Well, there's a few ways to do this.  The first way would simply be to
install a different build of U-Boot onto the board than the one used
during flashing as part of the manufacturing process.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160729/5fe0dbdb/attachment.sig>


More information about the U-Boot mailing list