Difference between revisions of "Getting started with AI on NXP i.MX8M Plus/Introduction/Overview/Development tools"
Line 26: | Line 26: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | = Installing and | + | = 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: | ||
+ | |||
+ | |||
+ | <syntaxhighlight lang='bash'> | ||
+ | mkdir ~/bin | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | For downloading 'repo' use curl by executing the following command: | ||
+ | |||
+ | <syntaxhighlight lang='bash'> | ||
+ | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | ||
+ | </syntaxhighlight> |
Revision as of 19:29, 14 November 2021
General dependencies
In this section we are going to install some dependencies required for development. In general terms, we are going to need:
- Linux 18.04 LTS as development environment.
- Yocto (Hardknott or Gatesgarth) as the main development tool.
- Python for scripting.
- gcc or g++
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, create please it:
mkdir ~/bin
For downloading 'repo' use curl by executing the following command:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo