Datasheet
$ make mx6dqscm_1gb_interleaving_qwks_rev3_android_defconfig
# to build uboot.img which is used in MFGTOOL
$ make mx6dqscm_1gb_fix_qwks_rev3_defconfig
For SCM i.MX6DQ 1GB QWKS REVB (rev2):
# to build uboot.imx which is used in android
$ make mx6dqscm_1gb_interleaving_qwks_rev2_android_defconfig
# to build uboot.img which is used in MFGTOOL
$ make mx6dqscm_1gb_fix_qwks_rev2_defconfig
For SCM i.MX6SX 1GB EVB:
# to build uboot.imx which is used in android
$ make mx6sxscm_1gb_evb_android_defconfig
# to build uboot.img which is used in MFGTOOL
$ make mx6sxscm_1gb_evb_defconfig
$ make
"u-boot.imx" is generated if you have a successful build.
uboot.img in android should put in mfgtools\Profiles\Linux\OS Firmware\files\android\board
\.
uboot.img in MFGTOOL should put in mfgtools\Profiles\Linux\OS Firmware\firmware\.
Any image which should be loaded by uboot must have an unique image head, for example, some
data must be added at the head of the loaded image to tell uboot about the image (i.e., it's a kernel,
or ramfs, etc) and how to load the image (i.e., load/execute address).Before you can load any image
into RAM by uboot, you need a tool to add this information and generate a new image which can
be recognized by uboot. Fortunately, this tool is delivered together with uboot. After you set up uboot
using the steps above, you can find the tool (mkimage) under tools/. The process of how to use
mkimage for generating the image (for example kernel image, ramfs image), which is to be loaded
by uboot, is outlined in the subsequent sections of this document.
NOTE
3.5 Build Kernel Image
Kernel image will be automatically built out when building the android root file system. There are below ways to help build
out the kernel image independent default android build command.
$ cd ~/myandroid/kernel_imx
$ echo $ARCH && echo $CROSS_COMPILE
Make sure you have those 2 environment variables set
If the two variables have not set, please set the as:
$ export ARCH=arm
$ export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-linux-
androideabi-4.9/bin/arm-linux-androideabi-
# Generate ".config" according to default config file under arch/arm/configs.
# to build the kernel zImage for both SCM i.MX 6DQ and 6SX
$ make imx_v7_android_defconfig
$ make KCFLAGS=-mno-android
# to build the kernel uImage for SCM i.MX 6DQ QWKS board
$ make uImage LOADADDR=0x10008000 KCFLAGS=-mno-android
# to build the kernel uImage for SCM i.MX6SX EVB board
$ make uImage LOADADDR=0x80008000 KCFLAGS=-mno-android
# to build the zImage which is used in MFGTOOL
# zImage is under mfgtools\Profiles\Linux\OS Firmware\firmware\
Build Android for i.MX
SCM i.MX 6 Series Android User's Guide
NXP Semiconductors
9