2 Secure Boot Tasks
To enable a secure boot system:
- Prepare the cryptographic material. Keys and certificates must be generated and placed in the appropriate locations.
- Prepare the software to be loaded, including the Linux® kernel, Linux Device Tree and bootloader programs.
- Encrypt the second-stage bootloader (at91bootstrap) using AES-CBC, then compute the CMAC (or RSA signature) for the encrypted image.
- Configure the third-stage bootloader (U-Boot), and store, encrypt and sign the public keys.
- Package the Linux kernel and device tree into a signed FIT file and sign it properly.
- Configure the SAM9X7 Series MPU to operate in Secure Boot mode.
- Load the keys into the MPU.
- Optionally, permanently program the Secure Boot mode and keys into the device OTP matrix.
