AnsweredAssumed Answered

IMX8M UUU flashing kernel error

Question asked by Clement Name on Jul 5, 2019
Latest reply on Jul 8, 2019 by igorpadykov


I'm using the IMX8M mini evaluation kit.

I'm using the YOCTO BSP imx-4.14.98-2.0.0_ga and I'm able to build an image for the eMMC.


I'm trying to flash the eMMC (with UUU tool) using the script "example_kernel_emmc.uuu" (I found this script in the IMX8M eval kit prebuild image).

I edited the script to replace the kernel/dtb/rootfs file name with mine. The script is also expecting a initramfs file, which I don't have (YOCTO doesn't generate it) so I commented the line handling the initramfs.

The script start by loading the bootloader into the i.MX, then uboot start and download the kernel/dtb/rootfs and copy it in eMMC.

Unfortunately it doesn't work, I end up with an error during the flashing (right after the download of the image).

Here is the uboot log:

Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid

[ ... ]

## Loading ramdisk from FIT Image at 43000000 ...
Bad FIT ramdisk image format!

Do you know what is going wrong ?


NOTE: I attached the script "example_kernel_emmc.uuu" with some commentaries.

Thank you