mirror of
https://github.com/feyisay07/meta-bsp-imx8mm.git
synced 2026-09-24 06:10:13 +01:00
7221bd13713f49fd2818ed5077ae941d9cd6ccd3
Signed-off-by: Kirill Kapranov <kirill.kapranov@compulab.co.il>
Quick Start Guide
Supported CompuLab machines:
- mcm-imx8m-mini
- ucm-imx8m-mini
Setup Yocto Environment
- Install the
repoutility:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
PATH=${PATH}:~/bin
Set environmet varables:
export LREPO=imx_5.15.32-2.0.0-compulab.xml
export CLB_RELEASE=rel_imx_5.15.32-2.0.0-dev
Define COMPULAB_MACHINE environment variable
| Machine | Command Line |
|---|---|
| mcm-imx8m-mini | export COMPULAB_MACHINE=mcm-imx8m-mini |
| ucm-imx8m-mini | export COMPULAB_MACHINE=ucm-imx8m-mini |
Prepare NXP BSP
mkdir compulab-freescale-bsp && cd compulab-freescale-bsp
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.32-2.0.0.xml
Download CompuLab meta layer
mkdir -p .repo/local_manifests
wget --directory-prefix .repo/local_manifests https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mm/${CLB_RELEASE}/scripts/${LREPO}
Get entire BSP tree
repo sync
Build
Run CompuLab Linux Yocto Project setup
| NOTE | Refer to the NXP Readme for details about how to select a correct backend & distro. |
|---|
MACHINE=${COMPULAB_MACHINE} DISTRO=fsl-imx-xwayland source compulab-setup-env -b build-${COMPULAB_MACHINE}
Build image
bitbake -k imx-image-full
Languages
BitBake
88%
Shell
11.5%
C++
0.5%