i.MX8 QXP MEK Yocto build won't boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8 QXP MEK Yocto build won't boot

Jump to solution
1,725 Views
robsingle
Contributor II

I received an imx8qxpmek board last week and it boots from the SD card that was in the package. It boots 4.14-sumo Linux 4.14.98-2.3.0 build date December 20, 2019.

I am trying to follow the instructions in "i.MX Yocto Project User's Guide" L5.4.24_2.1.0 6/2020 to build a new SD card image. After finding other posts that say to install Linux kernel headers on the build machine, I was able to build three different targets: core-image-base, imx-image-core, and fsl-image-machine-test. Unfortunately, none of these boot. There are no U-Boot messages on the serial port.

I have dd'd the following images (after bzip2 -d x.bz2):

core-image-base-imx8qxpmek-20200915132143.rootfs.wic
fsl-image-machine-test-imx8qxpmek-20200915142348.rootfs.wic
imx-image-core-imx8qxpmek-20200915135008.rootfs.wic

Any suggestions how to make an image bootable?

0 Kudos
Reply
1 Solution
1,707 Views
robsingle
Contributor II

Solved. The documentation doesn't make it clear that there is a Yocto build difference between B0 and C0 steppings of the CPU. Instead of MACHINE=imx8qxpmek, I had to use imx8qxpc0mek.

View solution in original post

0 Kudos
Reply
2 Replies
1,708 Views
robsingle
Contributor II

Solved. The documentation doesn't make it clear that there is a Yocto build difference between B0 and C0 steppings of the CPU. Instead of MACHINE=imx8qxpmek, I had to use imx8qxpc0mek.

0 Kudos
Reply
1,722 Views
robsingle
Contributor II

As a follow-up, here is the command I used to generate one of the images:

DISTRO=fsl-imx-wayland MACHINE=imx8qxpmek source imx-setup-release.sh -b initial_build_dir
bitbake fsl-image-machine-test

0 Kudos
Reply