Datasheet
Chapter 5
Programming Images
The images from the NXP prebuilt release package or created from source code contain the U-Boot bootloader, system
image, and recovery image. At a minimum, the storage devices (SD) on the NXP development system must be programmed
with the U-Boot bootloader. The i.MX 6 series boot process determines what storage device to access based on the switch
settings. When the boot loader is loaded and begins execution, the U-Boot environment space is then read to determine how
to proceed with the boot process. For U-Boot environment settings, see Section Booting.
The following download methods can be used to write the Android System Image:
• MFGTool to download all images to MMC/SD card storage.
• Using dd command to download all images to MMC/SD card.
5.1
System on MMC/SD
The images needed to create and Android system on MMC/SD can either be obtained from the release package or they can
be built from source.
The images needed to create an android system on MMC/SD are listed below:
• u-boot image: u-boot.imx
• boot image: boot.img
• Android system root image: system.img
• Recovery root image: recovery.img
5.1.1
Storage Partitions
The layout of the MMC/SD/TF card for Android system is shown below:
• [Partition type/index] is which defined in the MBR.
• [Name] is only meaningful in android. You can ignore it when creating these partitions.
• [Start Offset] shows where partition is started, unit in MB.
The SYSTEM partition is used to put the built out android system image. The DATA is used to put applications’ unpacked
codes/data, system configuration database, etc. In normal boot mode, the root file system is mounted from uramdisk. In
recovery mode, the root file system is mounted from the RECOVERY partition.
Partition Type/
Index
Name Start Offset Size File System Content
N/A BOOT Loader 1K 1MB N/A bootloader
Primary 1 Boot 8M 16MB boot.img format, a
kernel + ramdisk
boot.img
Primary 2 Recovery Follow Boot 16MB boot.img format, a
kernel + ramdisk
recovery.img
Table continues on the next page...
Programming Images
SCM i.MX 6 Series Android User's Guide
NXP Semiconductors
13