- WorkDir:
mkdir compulab-nxp-bsp && cd compulab-nxp-bsp
- Set a CompuLab machine:
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}
- Build command
bitbake -k imx-image-full
- binary file location :
${BUILDDIR}/tmp/deploy/images/${MACHINE}/imx-image-full-${MACHINE}.wic.bz2
cd ${BUILDDIR}/tmp/deploy/images/${MACHINE}
- Deploy the image:
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