Difference between revisions of "Getting started with AI on NXP i.MX8M Plus/Introduction/Quick getting started/Yocto minimal image"

From RidgeRun Developer Connection
Jump to: navigation, search
Line 37: Line 37:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 +
Inside our development directory, we need to set a build directory:
  
 +
<syntaxhighlight lang='bash'>
 +
mkdir build_xwayland
 +
</syntaxhighlight>
  
 +
At first time configuring the environment we need to execute the bash script called '''var-setup-release.sh''', and specify the build folder:
 +
 +
<syntaxhighlight lang='bash'>
 +
source var-setup-release.sh -b build_xwayland
 +
</syntaxhighlight>
  
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 16:49, 21 November 2021

Downloading and downloading Gatesgarth

Let's suppose we are working in $HOME as the root directory for this process.

So, move into that directory and create folder in which the download will be performed:

cd $HOME
mkdir imx8-yocto-variscite
cd imx8-yocto-variscite

Initialize the repository using repo installed before:

repo init -u https://github.com/varigit/variscite-bsp-platform.git -b fsl-gatesgarth -m imx-5.10.9-1.0.0-var01.xml

Synchronize the local repo with the remote one:

repo sync

Configuring the environment for image building from XWayland distribuition

Here we need to define distribuitions and the device by setting the following variables:

  • DISTRO
  • MACHINE

In this case, we have a i.MX8M Plus from variscite, and the chosen distro is xwayland, so the parameters are:

DISTRO=fsl-imx-xwayland
MACHINE=imx8mp-var-dart

Inside our development directory, we need to set a build directory:

mkdir build_xwayland

At first time configuring the environment we need to execute the bash script called var-setup-release.sh, and specify the build folder:

source var-setup-release.sh -b build_xwayland