diff options
| author | Patrick Delaunay <[email protected]> | 2021-06-28 14:56:03 +0200 |
|---|---|---|
| committer | Patrick Delaunay <[email protected]> | 2021-07-16 09:28:46 +0200 |
| commit | 80cfc6c692d2616d17ab4ed648fe93c4faec61d5 (patch) | |
| tree | ed38a1d6dcf836fa1d30e2706ed4af94dadceed3 /scripts/checkpatch.pl | |
| parent | d3551b8eef99f7d239ee7609a6c0d1b057c38a4f (diff) | |
stm32mp: cmd_stm32key: add subcommand close
The expected sequence to close the device
1/ Load key in DDR with any supported load command
2/ Update OTP with key: STM32MP> stm32key read <addr>
At this point the device is able to perform image authentication but
non-authenticated images can still be used and executed.
So it is the last moment to test boot with signed binary and
check that the ROM code accepts them.
3/ Close the device: only signed binary will be accepted !!
STM32MP> stm32key close
Warning: Programming these OTP is an irreversible operation!
This may brick your system if the HASH of key is invalid
This command should be deactivated by default in real product.
Signed-off-by: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
