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
m
Line 1: Line 1:
 +
<noinclude>
 +
{{Getting started with AI on NXP i.MX8M Plus/Head|previous=|next=|keywords=}}
 +
</noinclude>
 +
 +
 +
<!-- If you want a custom title for the page, un-comment and edit this line:
 +
{{DISPLAYTITLE:Getting started with AI on NXP i.MX8M Plus - <descriptive page name>|noerror}}
 +
-->
 +
 +
 
== Downloading and downloading Gatesgarth ==
 
== Downloading and downloading Gatesgarth ==
  
Line 73: Line 83:
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
<noinclude>
 +
{{Getting started with AI on NXP i.MX8M Plus/Foot||}}
 +
</noinclude>

Revision as of 08:24, 22 November 2021




NXP Partner Program Registered Vertical.jpg NXP Partner Program Horizontal.jpg
  Index  





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

At this point, some files will be created in $HOME/imx8-yocto-variscite/build_xwayland. Inside the build directory, a folder called conf contains two files:

  • local.conf
  • bblayers.conf

Go to local.conf and at the end of this file add the following lines (This is optional, this will add some protocols recommended by Variscite):

IMAGE_INSTALL_append = " \
    tcf-agent \
    openssh-sftp-server \
    "

Finally we are ready to build the minimal image for testing the process explained:

bitbake core-image-minimal

Note: take into account that the process of building an image at first time you could spend from 2 up to 6 hours or more, ensure your laptop is connected/charged and your internet connection is stable.


  Index