Files
meta-bsp-imx8mm/README.md
T
2023-10-02 19:41:47 +00:00

1.4 KiB

Quick Start Guide

Supported CompuLab machines:

  • mcm-imx8m-mini
  • ucm-imx8m-mini

Setup Yocto Environment

  • Install the repo utility:
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