Skip to content

compulab-yokneam/meta-bsp-imx8mm

Repository files navigation

Quick Start Guide

Supported Compulab machines:

Setup Yocto Environment

  • Install the repo utility:
mkdir ~/bin
curl https://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