Hi!
I have a running/working imx93 A0 EVK running a typical "freescale imx93evk defconfig" combination of U-Boot, Kernel, and Buildroot. I have - on a previous ARM32-based platform used the following to combine kernel, rootfs, and DTB into a multi-image ("mxImage");
mkimage -A arm -O linux -T multi -a $ADDR -e $ADDR -C gzip -n "$MX_IMAGE_VERSION" -d zImage.gz:rootfs.ext2.zst:socfpga.dtb mxImage
Works great.
Now trying the same for the imx93 A0 EVK with the following combination
mkimage -A arm64 -O linux -T multi -a $ADDR -e $ADDR -C gzip -n "$MX_IMAGE_VERSION" -d Image.gz:rootfs.ext2.zst:imx93-11x11-evk.dtb mxImage
Results in the following error (note: mxImage resides on the boot'ed MMC-card)
u-boot=> run mmcboot-imx93
42832604 bytes read in 451 ms (90.6 MiB/s)
## Booting kernel from Legacy Image at 80100000 ...
Image Name: IMX93 BSP ** preliminary **
Created: 2024-04-07 9:37:36 UTC
Image Type: ARM Linux Multi-File Image (gzip compressed)
Data Size: 42832540 Bytes = 40.8 MiB
Load Address: 00008000
Entry Point: 00008000
Contents:
Image 0: 13759602 Bytes = 13.1 MiB
Image 1: 29025887 Bytes = 27.7 MiB
Image 2: 47032 Bytes = 45.9 KiB
Verifying Checksum ... OK
## Loading init Ramdisk from multi component Legacy Image at 80100000 ...
## Flattened Device Tree from multi component Image at 80100000
Booting using the fdt at 0x00000000829cdb24
Working FDT set to 829cdb24
Uncompressing Multi-File Image
"Error" handler, esr 0xbe000011
elr: 00000000802a1570 lr : ffffffff81320000 (reloc)
elr: 00000000fef81570 lr : 0000000000000000
x0 : 00000000fced31d8 x1 : 0000000000000012
x2 : 0000000000040002 x3 : 0000000080113297
x4 : 00000000fcf26208 x5 : 000000000001d75e
x6 : 0000000000000000 x7 : 00000000fcf25720
x8 : 0000000080e1f4bc x9 : 0000000099a69993
x10: 0000000000000000 x11: 0000000004007efe
x12: 0000000000007fff x13: 000000000000003f
x14: 00000000000001ff x15: 00000000fcf25c70
x16: 00000000fcf26748 x17: 0000000000000001
x18: 00000000fcedfd70 x19: 0000000000000000
x20: 0000000000000000 x21: 0000000000000007
x22: 0000000000000007 x23: 0000000000000000
x24: 000000000003fff8 x25: 000000000000aa16
x26: 0000000000000016 x27: 0000000000d12d2b
x28: 00000000fcf257b0 x29: 00000000fced30a0
Code: 510005ce cb0c004c 8b0b004b 7100383f (54000148)
Resetting CPU ...
resetting ...
Anyone got this to work? If so - how?
Thanks.