mkdir compulab-nxp-bsp && cd compulab-nxp-bsp
export MACHINE=ucm-imx93
NXP
repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml
CompuLab
mkdir -p .repo/local_manifests
wget --directory-prefix .repo/local_manifests https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx9/kirkstone-2.2.0/scripts/meta-bsp-imx9.xml
Sync Them all
repo sync
Initialize the build environment:
source compulab-setup-env -b build-${MACHINE}
bitbake -k imx-image-full
${BUILDDIR}/tmp/deploy/images/${MACHINE}/imx-image-full-${MACHINE}.wic.bz2
cd ${BUILDDIR}/tmp/deploy/images/${MACHINE}
sudo zstd -dc imx-image-full-${MACHINE}-*.rootfs.wic.zst | sudo dd bs=1M status=progress of=/dev/sdX
Building bootloader only:
Build command
bitbake -k imx-boot
binary file location :
${BUILDDIR}/tmp/deploy/images/${MACHINE}/imx-boot-tagged