Hello,
I have followed document at
https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx8m_mx8mm_secure_boo...
I have programmed SRK hash table fuses and verified after programming the values were correct.
I have tried with an unsigned image on SD card and verified that u-boot hab_status command was reporting errors in hab status.
I have then put an SD card with signed image and verified that u-boot hab_status was reporting :
u-boot=> hab_status
Secure boot disabled
HAB Configuration: 0xf0, HAB State: 0x66
No HAB Events Found!
Then I have proceeded with next step in the document : 1.9 Closing the device :
=> fuse prog 1 3 0x2000000
after this now I can't boot the device anymore from the same SD card that was reported with hab no events found and HAB state 0x66.
the board gets stuck at boot with this message :
U-Boot SPL 2019.04-imx_v2019.04_4.19.35_1.0.0+g85bdcc7 (Jan 04 2021 - 11:15:40 )
power_bd71837_init
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
Authenticate image from DDR location 0x401fcdc0..
so HAB looks is working correctly as it launches what is signed correctly.
But u-boot for some reason gets stuck.
The same image, if processor is not locked to run only in secure mode, works.
what could be wrong or missing ?
thank you