Hello NXP Community,
Unfortunately, I couldn't find in forums the exact info I need, so I created this post.
In a nutshell:
I have AHAB-signed imx-boot and kernel for i.MX93.
u-boot boots, but kernel won't.
I haven't written anything in SRK fuses yet... so I expect at least to have a bootable signed kernel and AHAB events generated as a result of different key hashes in signed container and in (empty) SRK fuses. I left writing fuses as the penultimate step... the last one is closing the device.
Here are the problems/questions:
1. auth_cntr for OS (kernel) container times out... (at least I think so)
u-boot=> load mmc 0:3 ${kernel_addr_r} kernel_ahab_signed.bin
20331520 bytes read in 86 ms (225.5 MiB/s)
u-boot=> auth_cntr ${kernel_addr_r}
Authenticate OS container at 0x8ff00000
mu receive msg wait 1s
What does this reply/message mean?
2. There's a warning in offline image verification (see the attached file ahab_kernel_container_verification.txt), but I don't understand it and I can't tell if it causes error described in (1).
Is this warning a sign that something is not correct?
3. What is the proper command for/way of booting AHAB signed kernel?
booti (the one I use right now) gives an error when provided with OS container location in
memory:
u-boot=> booti ${kernel_addr_r}
Bad Linux ARM64 Image magic!
I tried bootm, just for check:
Wrong Image Type for bootm command
ERROR -91: can't get kernel image!
Any suggestion or hint is more than welcome, as are any links to documents explaining proper AHAB boot which I apparently missed
Thanks a lot to everyone in advance,
Mihajlo