i.MX8 QXP MEK Yocto build won't boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX8 QXP MEK Yocto build won't boot

跳至解决方案
1,724 次查看
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 项奖励
回复
1 解答
1,706 次查看
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 项奖励
回复
2 回复数
1,707 次查看
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 项奖励
回复
1,721 次查看
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 项奖励
回复