Difference between revisions of "Getting started with AI on NXP i.MX8M Plus/Introduction/Overview/Development tools"

From RidgeRun Developer Connection
Jump to: navigation, search
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= General dependencies =
+
<noinclude>
 +
{{Getting started with AI on NXP i.MX8M Plus/Head|previous=Introduction/Overview/i.MX8M Plus hardware specifications|next=Introduction/Development kit|metakeywords=i.MX8M Plus Development Tools}}
 +
</noinclude>
  
In this section we are going to install some dependencies required for development. In general terms, we are going to need:
+
 
 +
<!-- 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}}
 +
-->
 +
 
 +
== i.MX8M Plus Development Tools and dependencies ==
 +
 
 +
In this section, we are going to install some dependencies required for the development. In general terms, we are going to need:
  
 
<ol>
 
<ol>
   <li> Linux 18.04 LTS as development environment.
+
   <li> Ubuntu 18.04 LTS as a development environment.
 
   <li> Yocto (Hardknott or Gatesgarth) as the main development tool.
 
   <li> Yocto (Hardknott or Gatesgarth) as the main development tool.
 
   <li> Python for scripting.
 
   <li> Python for scripting.
   <li> gcc or g++
+
   <li> GNU gcc/g++ compiler.
 
</ol>
 
</ol>
  
Install some of the required dependencies with the commands below:
+
== Specific dependencies ==
 +
Once in Ubuntu, install some of the required dependencies with the commands below:
  
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
Line 26: Line 36:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
= Installing and Configuring 'repo' =
+
== Installing and Configuring 'repo' ==
  
In order to get the NXP based images, we are going to need '''repo''', so configure it by following the next steps:
+
In order to get the NXP-based images, we are going to need '''repo''', so configure it by following the next steps:
  
In case you do not have '''bin''' directory at $HOME, create please it:
+
In case you do not have '''bin''' directory at $HOME, please create it please:
  
  
Line 49: Line 59:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
If you had to make the '''bin''' directory, please add this folder to $PATH environment variable:
+
If you had to make the '''bin''' directory, please add this folder to the $PATH environment variable:
  
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
 
export PATH=~/bin:$PATH
 
export PATH=~/bin:$PATH
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
<noinclude>
 +
{{Getting started with AI on NXP i.MX8M Plus/Foot|Introduction/Overview/i.MX8M Plus hardware specifications|Introduction/Development kit}}
 +
</noinclude>

Latest revision as of 11:37, 21 March 2023




NXP Partner Program Registered Vertical.jpg NXP Partner Program Horizontal.jpg
Previous: Introduction/Overview/i.MX8M Plus hardware specifications Index Next: Introduction/Development kit




i.MX8M Plus Development Tools and dependencies

In this section, we are going to install some dependencies required for the development. In general terms, we are going to need:

  1. Ubuntu 18.04 LTS as a development environment.
  2. Yocto (Hardknott or Gatesgarth) as the main development tool.
  3. Python for scripting.
  4. GNU gcc/g++ compiler.

Specific dependencies

Once in Ubuntu, install some of the required dependencies with the commands below:

sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping libsdl1.2-dev xterm
sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev python-git \
sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 \
help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev \
mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils pv \
libncurses5 libncurses5-dev libncursesw5-dev libelf-dev zlib1g-dev bc rename bmap-tools

Installing and Configuring 'repo'

In order to get the NXP-based images, we are going to need repo, so configure it by following the next steps:

In case you do not have bin directory at $HOME, please create it please:


mkdir ~/bin

For downloading 'repo' use curl by executing the following command:

curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

Give 'repo' execution permissions by doing:

chmod a+x ~/bin/repo

If you had to make the bin directory, please add this folder to the $PATH environment variable:

export PATH=~/bin:$PATH


Previous: Introduction/Overview/i.MX8M Plus hardware specifications Index Next: Introduction/Development kit