mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Breno Lima](/assets/img/avatar_default.png)
Add AHAB encrypted boot documentation for i.MX8/8x family devices covering the following topics: - How to encrypt and sign the 2nd container in flash.bin image. - How to encrypt and sign a standalone container image. Include a CSF example to encrypt 2nd container in flash.bin image. Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Catia Han <yaqian.han@nxp.com> Signed-off-by: Breno Lima <breno.lima@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
28 lines
715 B
Plaintext
28 lines
715 B
Plaintext
[Header]
|
|
Target = AHAB
|
|
Version = 1.0
|
|
|
|
[Install SRK]
|
|
# SRK table generated by srktool
|
|
File = "./release/crts/SRK_1_2_3_4_table.bin"
|
|
# Public key certificate in PEM format
|
|
Source = "./release/crts/SRK1_sha384_secp384r1_v3_usr_crt.pem"
|
|
# Index of the public key certificate within the SRK table (0 .. 3)
|
|
Source index = 0
|
|
# Type of SRK set (NXP or OEM)
|
|
Source set = OEM
|
|
# bitmask of the revoked SRKs
|
|
Revocations = 0x0
|
|
|
|
[Authenticate Data]
|
|
# Binary to be signed generated by mkimage
|
|
File = "flash.bin"
|
|
# Offsets = Container header Signature block (printed out by mkimage)
|
|
Offsets = 0x400 0x590
|
|
|
|
[Install Secret Key]
|
|
Key = "dek.bin"
|
|
Key Length = 128
|
|
#Key Identifier = 0x1234CAFE
|
|
Image Indexes = 0xFFFFFFFE
|