Hi,
We were planning to do AHAB implementation in iMX8QXP-MEK. We downloaded Yocto 5.10.35 from NXP and enabled AHAB_BOOT in Bootloader. We were able to get binaries signed using the CST tool. We were getting only AHAB_BAD_KEY_HASH_IND which is expected when e-fuse is not done. Now we need to build a kernel image that will have AHAB security. We created and copied a signed os_cntr.bin file to SD. When we run auth_cntr, we get the below error.
Is it expected? If expected, is there a way to check that a secure boot is available in the kernel before e-fuse and close?
=> auth_cntr 0x98000000
Authenticate OS container at 0x98000000
sc_seco_authenticate: res:3
Authenticate container hdr failed, return -22
=> ahab_status
Lifecycle: 0x0020, NXP closed
SECO Event[0] = 0x0087FA00
CMD = AHAB_AUTH_CONTAINER_REQ (0x87)
IND = AHAB_BAD_KEY_HASH_IND (0xFA)
SECO Event[1] = 0x0087FA00
CMD = AHAB_AUTH_CONTAINER_REQ (0x87)
IND = AHAB_BAD_KEY_HASH_IND (0xFA)
SECO Event[2] = 0x0087F729
CMD = AHAB_AUTH_CONTAINER_REQ (0x87)
IND = Unknown Indicator (0xF7)
sc_seco_get_event: idx: 3, res:3