We are trying to implement the chain of trust using the HAB support for IMX6Q.
So far we followed the same instructions provided on this site https://boundarydevices.com/high-assurance-boot-hab-dummies/
The generation of fuses, the keys, signing, etc works just fine.. there is no error reported.
We are also considering that the following command:
hexdump -e '/4 "0x"' -e '/4 "%X""n"' < SRK_1_2_3_4_fuse.bin
Works for IMX6Q.
The problem: U-Boot signatures are OK, HAB reports no errors upon U-Boot entry.
U-Boot then loads the signed boot script from flash. Signature validation fails. These errors are displayed: (copy from a previous comment):
db 00 14 41
33 28 33 00 FAILURE, INV_CALL, CTX_TARGET
00 01 00 00
00 30 80 17
f0 00 00 00
db 00 24 41
33 30 ee 1d FAILURE, ENG_FAIL, CTX_EXIT, ENG_CAAM
00 04 00 02
00 00 00 00
55 55 00 03
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 06
Why ? What we are doing wrong ? We are using a board called Trizeps VII from K&K with IMX6Q (https://www.keith-koep.com/en/products/som-system-on-module/trizeps-product-family/trizeps-vii)