Install the reop
utility:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
PATH=${PATH}:~/bin
WorkDir
mkdir compulab-fslc-bsp && cd compulab-fslc-bsp
Set CompuLab machine and repo name environmet varables:
Machine | Environment |
---|---|
ucm-imx8m-mini |
export MACHINE=ucm-imx8m-mini LREPO=compulab-bsp-setup-imx8mm.xml |
iot-gate-imx8 |
export MACHINE=iot-gate-imx8 LREPO=compulab-bsp-setup-iot.xml |
ucm-imx8m-plus |
export MACHINE=ucm-imx8m-plus LREPO=compulab-bsp-setup-imx8mp.xml |
iotdin-imx8p |
export MACHINE=iotdin-imx8p LREPO=compulab-bsp-setup-imx8mp.xml |
iot-gate-imx8plus |
export MACHINE=iot-gate-imx8plus LREPO=compulab-bsp-setup-imx8mp.xml |
FSL Community
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b scarthgap
CompuLab
wget --directory-prefix .repo/local_manifests https://raw.githubusercontent.com/compulab-yokneam/compulab-fslc-bsp/scarthgap/scripts/${LREPO}
Sync Them all
repo sync
NOTE | Use fslc-xwayland 'cause it enables systemd |
---|
Distro | Setup command | Image build command |
---|---|---|
fslc-xwayland | DISTRO=fslc-xwayland source compulab-setup-environment build-fslc-${MACHINE} | bitbake -k fsl-image-multimedia-full |
fslc-xwayland | DISTRO=fslc-xwayland source compulab-setup-environment build-fslc-${MACHINE} | bitbake -k fsl-image-network-full-cmdline |
source compulab-setup-env build-fslc-${MACHINE}