- WorkDir
mkdir compulab-bsp && cd compulab-bsp
- Set a CompuLab machine:
export MACHINE=ucm-imx8m-plus
- NXP
repo init -u git://source.codeaurora.org/external/imx/imx-manifest.git -b imx-linux-zeus -m imx-5.4.70-2.3.0.xml
repo sync
- CompuLab
mkdir -p .repo/local_manifests
cd .repo/local_manifests
wget https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mp/devel/scripts/meta-bsp-imx8mp.xml
cd -
- Sync Them all
repo sync
cd .repo/local_manifests
ln -sf ../../sources/meta-bsp-imx8mp/scripts/meta-bsp-imx8mp.xml .
cd -
- Initialize the build environment:
source sources/meta-bsp-imx8mp/tools/setup-env -b build-${MACHINE}
- Building the image:
bitbake -k imx-image-full
- Goto the
tmp/deploy/images/${MACHINE}
directory:
cd tmp/deploy/images/${MACHINE}
- Deploy the image:
sudo bmaptool copy imx-image-full-ucm-imx8m-plus.wic.bz2 --bmap imx-image-full-ucm-imx8m-plus.wic.bmap /dev/sdX