mirror of
https://github.com/feyisay07/meta-bsp-imx8mm.git
synced 2026-09-24 14:20:07 +01:00
3a7ca98fa26baf960fd0449fe0d4696463f5c5d3
Quick Start Guide
Supported CompuLab machines:
IOT-GATE-iMX8
Setup Yocto Environment
- Install the
reoputility:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
PATH=${PATH}:~/bin
- Create a work directory
mkdir compulab-freescale-bsp && cd compulab-freescale-bsp
- Set environmet varables:
export COMPULAB_MACHINE=iot-gate-imx8
export LREPO=${COMPULAB_MACHINE}.xml
export CLB_RELEASE=iot-gate-imx8_r3.1
Prepare NXP BSP
repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-hardknott -m imx-5.10.72-2.2.1.xml
Download CompuLab meta layer
wget --directory-prefix .repo/manifests https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mm/github/iot-gate-imx8_r3.1/scripts/iot-gate-imx8.xml
Get entire BSP tree
repo init -m ${LREPO}
repo sync
Build
Run CompuLab Linux Yocto Project setup
- Initialize the build environment:
MACHINE=${COMPULAB_MACHINE} DISTRO=fsl-imx-xwayland source compulab-setup-env -b build
Build image
bitbake -k core-image-full-cmdline
Languages
BitBake
88%
Shell
11.5%
C++
0.5%