Downloading Yocto images for NXP based BSP
Getting started with AI on NXP i.MX8M Plus RidgeRun documentation is currently under development. |
NXP Yocto Images
In order to have compatible libraries with the board and some optimized software modules, is better to use Gatesgarth or Hardknott as the main Yocto versions.
If you have built a core-image-minimal in the previous steps, then the steps are very similar.
Downloading the Gatesgarth or Hardknott Yocto Versions
By 2021 the most recent supported and recommended Yocto Versions are listed in this section.
Keeping the $HOME directory as our root directory, please go there and create the following build folder:
cd $HOME mkdir imx8-yocto-variscite cd imx8-yocto-variscite
For downloading either of these versions you can execute:
# For Gatesgarth: repo init -u https://github.com/varigit/variscite-bsp-platform.git -b fsl-gatesgarth -m imx-5.10.9-1.0.0-var01.xml # For Hardknott: repo init -u https://github.com/varigit/variscite-bsp-platform.git -b fsl-hardknott -m imx-5.10.35-2.0.0-var01.xml
Finally you can synchronize your local repo with the remote one:
repo sync -j4
As we mentioned in previous sections, you need to specify a certain distribution and device:
DISTRO=fsl-imx-xwayland MACHINE=imx8mp-var-dart mkdir build_xwayland source var-setup-release.sh -b build_xwayland
If you already had an environment, you just need to execute
source setup-environment build_xwayland
After having configured the environment you can build the minimal NXP image:
bitbake imx-image-core