![NXP Semiconductors ASUG Скачать руководство пользователя страница 1](http://html1.mh-extra.com/html/nxp-semiconductors/asug/asug_user-manual_1721768001.webp)
1 Overview
This document describes how to build Android Pie 9.0 platform for the i.MX 8
series devices. It provides instructions for:
• Configuring a Linux
®
OS build machine.
• Downloading, patching, and building the software components that create
the Android
™
system image.
• Building from sources and using pre-built images.
• Copying the images to boot media.
• Hardware/software configurations for programming the boot media and
running the images.
For more information about building the Android platform, see
source.android.com/source/building.html
.
2 Preparation
2.1 Setting up your computer
To build the Android source files, use a computer running the Linux OS. The Ubuntu 16.04 64-bit version and openjdk-8-jdk is
the most tested environment for the Android Pie 9.0 build.
After installing the computer running Linux OS, check whether all the necessary packages are installed for an Android build. See
"Setting up your machine" on the Android website
source.android.com/source/initializing.html
.
In addition to the packages requested on the Android website, the following packages are also needed:
$ sudo apt-get install uuid uuid-dev
$ sudo apt-get install zlib1g-dev liblz-dev
$ sudo apt-get install liblzo2-2 liblzo2-dev
$ sudo apt-get install lzop
$ sudo apt-get install git-core curl
$ sudo apt-get install u-boot-tools
$ sudo apt-get install mtd-utils
$ sudo apt-get install android-tools-fsutils
$ sudo apt-get install openjdk-8-jdk
$ sudo apt-get install device-tree-compiler
$ sudo apt-get install gdisk
$ sudo apt-get install m4
$ sudo apt-get install libz-dev
Contents
1 Overview................................................1
2 Preparation............................................ 1
3 Building the Android platform for i.MX... 2
4 Running the Android Platform with a
Prebuilt Image..................................... 7
5 Programming Images............................ 9
6 Booting.................................................13
7 Over-The-Air (OTA) Update.................17
8 Customized Configuration................... 21
9 Revision History...................................30
ASUG
Android
™
User's Guide
Rev. P9.0.0_2.3.2 — 6 March 2020
User's Guide