In iMX6UL, we are getting the Kernel hab Authentication failure.
uBoot version: imx_v2019.04_4.19.35_1.1.0
Cross compiler: AArch32 target with hard float (arm-linux-gnueabihf); gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
Kernel version: Linux 4.19.35_1.1.0
Fuse ‘CLOSED’ state:
The platform reach the terminal after autoboot as mentioned below,
/***************************************************/
NXP i.MX Release Distro 4.19-warrior imx6ul7d ttymxc0 imx6ul7d login:
/***************************************************/
If we stop the autoboot and check the hab status, we get the below error,
/***************************************************/
=> hab_status
Secure boot enabled
HAB Configuration: 0xcc, HAB State: 0x99
No HAB Events Found!
=> load mmc 1 80800000 zImage
7743652 bytes read in 370 ms (20 MiB/s)
=> hab_auth_img 80800000 762000 0
Authenticate image from DDR location 0x80800000...
bad magic magic=0x0 length=0xa000 version=0xe1
bad length magic=0x0 length=0xa000 version=0xe1
bad version magic=0x0 length=0xa000 version=0xe1
Error: Invalid IVT structure
Allowed IVT structure:
IVT HDR = 0x4X2000D1
IVT ENTRY = 0xXXXXXXXX
IVT RSV1 = 0x0 IVT DCD = 0x0
IVT BOOT_DATA = 0xXXXXXXXX
IVT SELF = 0xXXXXXXXX
IVT CSF = 0xXXXXXXXX IVT RSV2 = 0x0
/***************************************************/
Please provide your inputs to resolve the error.