Apalis iMX8 boot - Did not find a cmdline Flattened Device Tree

Hi,

I’ve just built iMX8QM image and created bootable SD card, on the:

(patches from Errors with GLIBC2.27 while building current Yocto (QEMU and e2fsprogs) - Solution added, please check - Technical Support - Toradex Community were required)

Everything looks good, U-Boot is executed and .dtb read, but following error occurs just before starting the kernel:

reading fsl-imx8qm-apalis.dtb
78493 bytes read in 21 ms (3.6 MiB/s)
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
=>

What could be the problem and how to tackle it?

Thanks,
Piotr

hi @piotr

What changes have you done to the software?
Could you provide the complete u-boot log and .dtb file?

Thanks and best regards,
Jaski

Dear @jaski.tx

The only changes to the code that I made are the 2 patches described by alvaro.tx in the thread:

Files:
U-Boot log and DTB file

Thanks for the dtb file. I tested the file and it did not work. You could use this dtb file which is just from the bring up image or you can compile yourself the dtb file.