NXP Semiconductors
UM11483
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Linux OS
4.2 Setting up the host
Install the packages and utilities to set up Ubuntu 16 Linux host machine. The hard disk
space required is about 50 GB. It is recommended that at least 120 GB is provided,
which is enough to compile all the backends. The recommended minimum Ubuntu
version is 16.04 or later.
4.2.1 Installing the host packages
Install the host packages on the build machine to set up the build environment.
ubuntu@ubuntu-desktop:/# sudo apt-get install gawk wget git-core
diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat libsdl1.2-dev
The configuration tool uses the default version of grep that is on your build machine.
4.2.2 Setting up
Repo
utility
Repo
is a tool built on top of Git that makes it easier to manage projects that contain
multiple repositories which do not need to be on the same server.
Follow these steps to install the
repo
utility:
•
Create a
bin
folder in the home directory
ubuntu@ubuntu-desktop:/# mkdir ~/bin (this step may not be needed if
the bin folder already exists)
ubuntu@ubuntu-desktop:/# curl https://storage.googleapis.com/git-repo-
downloads/repo > ~/bin/repo
ubuntu@ubuntu-desktop:/# chmod a+x ~/bin/repo
•
Add the following line to the
.bashrc
file to ensure that the
~/bin
folder is in your PATH
variable
ubuntu@ubuntu-desktop:/# export PATH=~/bin:$PATH
UM11483
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2021. All rights reserved.
User manual
Rev. 2 — 21 January 2021
25 / 41