Hi All,
We have an i.MX6DL custom board with the following information:
CPU: Freescale i.MX6DL rev1.2 at 792 MHz
U-Boot 2017.11-imx6dl
Now we want to add the secure boot feature for this board.
I follow the instructions in the doc "AN4581.pdf" (Secure Boot on i.MX 50, i.MX 53, i.MX 6 and i.MX 7 Series using HABv4) to generate the signed u-boot image.
However, when I reprogram the signed u-boot.imx image to the flash and reboot the device to check the HAB status, it shows the following events:
=> hab_status
Secure boot disabled
HAB Configuration: 0xf0, HAB State: 0x66
--------- HAB Event 1 -----------------
event data:
0xdb 0x00 0x08 0x41 0x33 0x22 0x0a 0x00
STS = HAB_FAILURE (0x33)
RSN = HAB_INV_ADDRESS (0x22)
CTX = HAB_CTX_AUTHENTICATE (0x0A)
ENG = HAB_ENG_ANY (0x00)
--------- HAB Event 2 -----------------
event data:
0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00
0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x00
0x00 0x00 0x00 0x20
STS = HAB_FAILURE (0x33)
RSN = HAB_INV_ASSERTION (0x0C)
CTX = HAB_CTX_ASSERT (0xA0)
ENG = HAB_ENG_ANY (0x00)
--------- HAB Event 3 -----------------
event data:
0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00
0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x2c
0x00 0x00 0x02 0x38
STS = HAB_FAILURE (0x33)
RSN = HAB_INV_ASSERTION (0x0C)
CTX = HAB_CTX_ASSERT (0xA0)
ENG = HAB_ENG_ANY (0x00)
--------- HAB Event 4 -----------------
event data:
0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00
0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x20
0x00 0x00 0x00 0x01
STS = HAB_FAILURE (0x33)
RSN = HAB_INV_ASSERTION (0x0C)
CTX = HAB_CTX_ASSERT (0xA0)
ENG = HAB_ENG_ANY (0x00)
--------- HAB Event 5 -----------------
event data:
0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00
0x00 0x00 0x00 0x00 0x17 0x80 0x00 0x00
0x00 0x00 0x00 0x04
STS = HAB_FAILURE (0x33)
RSN = HAB_INV_ASSERTION (0x0C)
CTX = HAB_CTX_ASSERT (0xA0)
ENG = HAB_ENG_ANY (0x00)
During the testing, I notice that the same messages above are showed for both signed and unsigned u-boot.imx images.
Could anyone help advise what could be the root cause? Any suggestion to resolve the issue?
Here are more info for your reference:
1) i.MX 6 DualLite Silicon rev: 1.2 (not latest rev)
Below is Silicon rev vs HAB version abstracted from doc "AN4581.pdf":
------------------------------------------------------------------
Chip Silicon revision HAB version
i.MX 6 DualLite TO 1.2 HAB 4.1.1
TO 1.4 HAB 4.2.7
2) The IVT table from u-boot binary as below:
od -X -N 0x20 u-boot.imx
0000000 402000d1 17800000 00000000 177ff42c
0000020 177ff420 177ff400 1785f000 00000000
0000040
Thanks in advance for your any suggestions.
Best Regards,
Shunnian