Hi I am use imx8qxpmek, and I follow i.MX Yocto Project User's Guide, to do the step.
DISTRO=fsl-imx-wayland MACHINE=imx8qmmek source imx-setup-release.sh -b build
bitbake imx-image-full
echo "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf
bitbake imx-image-full
At here I got an error
ERROR: imx-boot-1.0-r0 do_compile: Execution of 'build/tmp/work/imx8qxpmek-poky-linux/imx-boot/1.0-r0/temp/run.do_compile.3129740' failed with exit code 1
ERROR: Logfile of failure stored in:build/tmp/work/imx8qxpmek-poky-linux/imx-boot/1.0-r0/temp/log.do_compile.3129740build/tmp/deploy/images/imx8qxpmek/u-boot-imx8qxpmek.bin-emmc': No such file or directory
So I follow IMX8M error building uboot for emmc with Yocto
Add UBOOT_CONFIG[emmc] = "imx8qxp_mek_config,emmc" to meta-imx/meta-bsp/conf/machine/imx8qxpmek.conf
then
bitbake imx-image-full
uuu emmc_all imx-boot imx8qxpmek-20211224032647.rootfs.wic.bz2
And I got a fail
uuu (Universal Update Utility) for nxp imx chips -- lib1.4.182-5-g5397913
Success 0 Failure 1
3:9 1/ 1 [HID(W):LIBUSB_ERROR_NO_DEVICE ] SDPS: boot -scanterm -f ../../../imx-yocto-bsp/build/tmp/deploy/images/imx8qxpmek/imx-boot
I try to remove UBOOT_CONFIG[emmc] = "imx8qxp_mek_config,emmc" from meta-imx/meta-bsp/conf/machine/imx8qxpmek.conf
but uuu got same error : (
Any one coluld help me? By the way I run on ubuntu20.
Solved! Go to Solution.
For me, the fist problem, "do not" do "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf
Because default BSP build can support both SD card and eMMC storage.
The second issue is my ENV error(imx8qmmek and imx8qxpmek) : (
So the final loader not fit my board.
For me, the fist problem, "do not" do "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf
Because default BSP build can support both SD card and eMMC storage.
The second issue is my ENV error(imx8qmmek and imx8qxpmek) : (
So the final loader not fit my board.