Changes between Version 43 and Version 44 of venice/secure_boot
- Timestamp:
- 10/07/2025 05:04:35 PM (7 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
venice/secure_boot
v43 v44 97 97 1. Creation of Code Signing Key: '''This is an example - read the CST documentation and tailor to your needs''' 98 98 a. Retrieve the NXP Code Signing Tool (CST): https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL_NEW (Account required on NXP site) 99 b. Unpack the CST : 99 b. Unpack the CST : (versions may change over time) 100 100 {{{#!bash 101 101 tar xvf cst-3.4.0.tgz … … 150 150 {{{#!bash 151 151 # setup env to point to the CST 152 export CST_DIR=/usr/src/nxp/cst-3.4.0 152 export CST_DIR=/usr/src/nxp/cst-3.4.0 #ADJUST TO POINT TO ACTUAL DIRECTORY 153 153 export CST_BIN=$CST_DIR/linux64/bin/cst 154 154 export CSF_KEY=$CST_DIR/crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem … … 167 167 cp $VENICE_BSP/atf/build/imx8mm/release/bl31.bin . # ATF 168 168 # configure for venice board 169 make imx8mm_venice_defconfig 169 make imx8mm_venice_defconfig #SEE NOTE BELOW FOR imx8mp 170 170 make menuconfig # select CONFIG_IMX_HAB=y 171 171 make flash.bin … … 180 180 < # CONFIG_CMD_DEKBLOB is not set 181 181 }}} 182 - notethat the above is for imx8mm (you need to copy the ATF from the imx8mp directory and use imx8mp_venice_defconfig if you are using imx8mp for example)183 3. create a signed_flash.bin (required prior to v2024.10; for v2024.10-venice branch you can skip this step as it signs it automatically182 - NOTE that the above is for imx8mm (you need to copy the ATF from the imx8mp directory and use imx8mp_venice_defconfig if you are using imx8mp for example) 183 3. Create a signed_flash.bin (required prior to v2024.10; for v2024.10-venice branch you can skip this step as it signs it automatically 184 184 {{{#!bash 185 185 # sign flash.bin (if U-Boot version is less than v2024.10 where automated signing was introduced if CONFIG_IMX_HAB=y) … … 226 226 No HAB Events Found! 227 227 }}} 228 - Note the 'hab fuse not enabled' message which means the SEC_CONFIG[1] fuse is not blown and the device is not locked228 - Note the 'hab fuse not enabled' message which means the !SEC_CONFIG[1] fuse is not blown and the device is not locked 229 229 - Note the 'Authenticate image from DDR location' messages which shows that image authentication is able to be used 230 230 5. Program SRK Hash fuses from Step 1 into IMX OTP (using U-Boot and the keys from fuse bin)
