!IMPORTANT!
This is a development branch, that is not relelased by CompuLab officially yet
Supported Compulab Products
CompuLab Yocto configuration mapping
mkdir compulab-nxp-bsp && cd compulab-nxp-bsp
Download NXP and CompuLab source:
source <(curl -L https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mp/refs/heads/scarthgap/tools/run.me)
Issue this command to init Yocto build environment:
source compulab-setup-env build-imx8mp
Target
Command
The target file location
full image
bitbake -k imx-image-full
${BUILDDIR}/tmp/deploy/images/${MACHINE}/imx-image-full-${MACHINE}.rootfs.wic.zst
boot loader
bitbake -k imx-boot
${BUILDDIR}/tmp/deploy/images/${MACHINE}/imx-boot-tagged
Other available targets (no desktop environment):
Target
Command
The target file location
fsl network image
bitbake -k fsl-image-network-full-cmdline
${BUILDDIR}/tmp/deploy/images/${MACHINE}/fsl-image-network-full-cmdline-${MACHINE}.wic.zst
oe core image
bitbake -k core-image-full-cmdline
${BUILDDIR}/tmp/deploy/images/${MACHINE}/core-image-full-cmdline-${MACHINE}.wic.zst
Special purpose targets (for alt-boot only):
Target
Command
The target file location
U-Boot update image
bitbake -k uboot-update-image
${BUILDDIR}/tmp/deploy/images/${MACHINE}/uboot-update-image-${MACHINE}-${DRAM_CONF}.wic
Goto the tmp/deploy/images/${MACHINE} directory:
cd tmp/deploy/images/${MACHINE}
sudo bmaptool copy --bmap imx-image-full-${MACHINE}.rootfs.wic.bmap imx-image-full-${MACHINE}.rootfs.wic.zst /dev/sdX
Turn off the device
Insert the created sd-card
Turn on the device and issue AltBoot
Goto the tmp/deploy/images/${MACHINE} directory:
cd tmp/deploy/images/${MACHINE}
Issue uuu command with the root credentials:
sudo uuu -v -b emmc_all imx-boot-tagged imx-image-full-${MACHINE}.rootfs.wic.zst
NOTE
The target device must be in SDP or FB mode
MODE
Procedure to turn on
note
SDP
mmc dev 2 1; mmc erase 0x0 0x1000; reset
For advanced users only
FB
fastboot 0