Datasheet

**************************************************************
Success: Now you can build android code for FSL i.MX platform
**************************************************************
The patch script (and_patch.sh) requires some basic utilities like awk/sed. If they are not available
on your Linux PC, install them in advance.
NOTE
3.3 Build Android Image
Building the Android image is performed when the source code has been downloaded (Section 3.1) and patched (Section
3.2). Two commands are executed to build: one is lunch <buildName-buildType> to set up the build configuration, and the
other is make to start the build process. The build configuration command lunch can be issued with an argument Build
Name – Build Type string, such as lunch qwks_6scm-user, or can be issued without the argument presenting a menu of
selection.
The Build Name is the Android device name found directory ~/myandroid/device/fsl/. The following table lists the Freescale
build names.
Build name Description
qwks_6scm SCM i.MX6DQ Quick Start Board (QWKS)
evb_6sxscm SCM i.MX6SX Evaluation Board (EVB)
The build type is used to specify what debug options are provided in the final image. The following table lists the build types.
Build type Description
user Production ready image, no debug
userdebug Provides image with root access and debug, similar to "user"
eng Development image with debug tools
Android build steps are as follows:
1. Change t
o the top level build directory.
$ cd ~/myandroid
2. Set up the environment for building. This only configures the current terminal.
$ source build/envsetup.sh
3. Execute the Android lunch command. In this example, the setup is for the production image of SCM i.MX6DQ QWKS
Board/Platform device.
$ lunch qwks_6scm -user
4. Execute the make command to generate the image.
$ make 2>&1 | tee build-log.txt
Build Android for i.MX
SCM i.MX 6 Series Android User's Guide
6
NXP Semiconductors