Datasheet

Limited Android System image access for security reasons.
Lack of debugging tools.
Installation modules tagged with user.
APK’s and tools according to product definition files, which are found in PRODUCT_PACKAGES in the sources folder ~/
myandroid/device/fsl/imx6/imx6.mk. To add customized packages, add the package MODULE_NAME or
PACKAGE_NAME to this list.
The properties are set as: ro.secure=1 and ro.debuggable=0.
adb is disabled by default.
For building the SCM Android image use the next method:
Set environment first, use lunch command to config argument(see table below), then make.
An example for the QWKS board for SCM-i.MX 6D/Q is:
$ cd ~/myandroid
$ source build/envsetup.sh
$ lunch qwks_6scm-user
$ make
Table 1. Android system image production build method 2
Description Lunch configuration
SCM i.MX6DQ QWKS qwks_6scm -user
SCM i.MX6SX EVB evb_6sxscm -user
To create Android over-the-air, OTA, and package, the following make target is specified:
$ make otapackage
For more Android building information, see source.android.com/source/building.html.
3.3.3
Build Android image for SD2 card on QWKS Board
The default configuration in the source code package takes SD3 (micro SD slot) as the boot storage. It can be changed to
make the SD in Slot 2 as the boot storage as below steps:
1. remove /out/target/product/ qwks_6scm /root directory and boot*.img
2. remove /out/target/product/ qwks_6scm /recovery directory and recovery*.img
3. build the boot.img and recovery.img as below commands
make bootimage BUILD_TARGET_DEVICE=sd2
make recoveryimage BUILD_TARGET_DEVICE=sd2
3.4
Build U-Boot Images
$ cd ~/myandroid/bootable/bootloader/uboot-imx
$ export ARCH=arm
$ export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-linux-
androideabi-4.9/bin/arm-linux-androideabi-
Command to build are:
$ make distclean
For SCM i.MX6DQ 1GB QWKS REVC (rev3):
# to build uboot.imx which is used in android
Build Android for i.MX
SCM i.MX 6 Series Android User's Guide
8
NXP Semiconductors