I am basically following the document (mx8m_secure_boot) to enable secure boot in imx8mq-evk board. I also follow the application note AN4581.
It seems I am missing some steps since the authentication does not seem to succeed irrespective of what certificates are used to sign them.
The message that i see is :
U-Boot SPL 2022.04 (Sep 25 2023 - 22:43:00 -0400)
PMIC: PFUZE100 ID=0x10
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3200MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from MMC1
hab fuse not enabled
Authenticate image from DDR location 0x401fcdc0...
and then the board proceeds to boot the TEE and subsequently u-boot starts.
The hab status command also does not show any thing interesting.
u-boot=> hab_status
Secure boot disabled
HAB Configuration: 0x00, HAB State: 0x00
The board is not locked since i am waiting for some hab events to show up before i lock it.
The values from fuse.bin are properly programmed in the fuse. I verified them by reading then over using the fuse command in uboot.
eg:
u-boot=> fuse read 6 0
Reading bank 6:
Word 0x00000000: 03d20485
Please let me know if there is any additional steps to be performed. Thanks.