Greetings all,
I’ve successfully integrated mender into Yocto build for iMX 6UL EVK and verified the update mechanism. Now, as I try to sign the generated u-boot and kernel
(with mender integration) it fails at kernel verification stage as follows,
Hit any key to stop autoboot: 0
37183 bytes read in 125 ms (290 KiB/s)
7738296 bytes read in 522 ms (14.1 MiB/s)
Kernel image @ 0x80800000 [ 0x000000 - 0x7613b8 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Authenticate image from DDR location 0x80800000...
bad magic magic=0x0 length=0x00 version=0x0
bad length magic=0x0 length=0x00 version=0x0
bad version magic=0x0 length=0x00 version=0x0
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
Authenticate zImage Fail, Please check
The attached file contains detailed log along with u-boot environment variables: https://github.com/danie007/imx6/blob/master/signed_failed.log.txt
Success log(No mender integration - same build configuration): https://github.com/danie007/imx6/blob/master/signed_passed.log.txt
It would be much helpful if you could point me where to look at or what would have gone wrong here.
Happy to provide more details, thanks in advance.