
29 Jul
2016
29 Jul
'16
3:31 p.m.
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