1. format Key Catalogs success(nvmKeyCatalog and ramKeyCatalog_she)
2. import keys success(ecu_key and boot_mac_key)
3. config SHE secure boot
1) install SMR entry success
2) install CR entry success(Sanction in case SMR verification fails -- Disable individual keys)
3) after get attribute from hseAttrSmrCoreStatus_t,
smrStatus[0]:1
smrStatus[1]:1
coreBootStatus[0]:0
coreBootStatus[1]:0
smrEntryInstallStatus:1
4. enable secure boot by setting BOOT_SEQ = 1 in IVT
in startup_cm7.s add these
#ifndef BOOT_SEQ_ENABLE
#define BOOT_SEQ_ENABLE (1)
#endif
#define BOOT_SEQ_SHIFT (3)
......
.section ".boot_header","ax"
.long SBAF_BOOT_MARKER /* IVT marker */
.long (CM7_0_ENABLE << CM7_0_ENABLE_SHIFT) | (CM7_1_ENABLE << CM7_1_ENABLE_SHIFT) | (BOOT_SEQ_ENABLE << BOOT_SEQ_SHIFT) /* Boot configuration word */
.long 0 /* Reserved */
5. after power cycle,device can't debug and result is like [run failed.png]
6. we used jflash to connect, the result is [connect failed.png]
Sanctions We didn't choose reset core Why did this happen?Please tell me what cause it and how to fix?