
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
4.2 Setting up the host
Install the packages and utilities to set up Ubuntu 16 Linux host machine. The Ubuntu
16.04 64-bit version is the most tested environment for the Android 10.0 build.
4.2.1 Installing the host packages
Establishing a Build Environment
on Android website and check that all the
necessary packages are installed for an Android 10 build.
Use the following command to install a set of additional packages:
ubuntu@ubuntu-desktop:/# sudo apt-get install uuid uuid-dev zlib1g-dev liblz-
dev liblzo2-2 liblzo2-dev lzop git-core curl u-boot-tools mtd-utils android-
tools-fsutils openjdk-8-jdk device-tree-compiler gdisk m4 libz-dev bison flex
libssl-dev gcc-multilib adb
4.2.2 Downloading and unpacking Android 10 release package
•
Accept the agreement to download
from NXP
website.
•
Run the command to unpack the Android 10 release package
ubuntu@ubuntu-desktop:/# tar xzvf imx-android-10.0.0_2.6.0.tar.gz
4.2.3 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
UM11558
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2021. All rights reserved.
User manual
Rev. 1 — 29 January 2021
27 / 78