Datasheet
Table continued from the previous page...
Logic 5 (Extended
3)
SYSTEM Follow Recovery 800MB EXT4. Mount as /
system
Android system
files under /
system/ dir
Logic 6 (Extended
3)
CACHE Follow SYSTEM 512MB EXT4. Mount as /
cache
Android cache, for
image store for
OTA
Logic 7
(Extended 3)
Device Follow CACHE 8MB
Ext4.
Mount at /device
For Store MAC
address files.
Logic 8
(Extended 3)
Misc
Follow
Device
6MB N/A For recovery
storage bootloader
message, reserve.
Logic 9
(Extended 3)
DATAFOOTER Follow Misc 2MB N/A For crypto footer of
DATA partition
encryption
Primary 4 DATA Follow Misc Total - Other
images
EXT4. Mount at /
data
Application data
storage for system
application. And
for internal media
partition, in /mnt/
sdcard/ dir.
To create these partitions, you can use MFGTool, or use format tools in prebuilt directory.
The script below can be used to partition a sdcard and download image to them as shown in the partition table above:
$ cd ~/myandroid/
$ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f <soc_name> /dev/sdX
# <soc_name> can be as imx6q or imx6sx.
● The minimum size of SD card is 2G bytes ● /dev/sdxN, the x is the disk index from 'a' to 'z', that
may be different on each Linux PC. ● Unmount all the SD card partitions before running the script.
● Put related bootloader, boot image, system image, recovery image in your current directory. ●
This script need simg2img tool to be installed in your PC. simg2img is a tool which convert sparse
system image to raw system image on linux host PC. The android-tools-fsutils package includes
the simg2img command for Ubuntu Linux.
NOTE
5.1.2 Download Images with MFG Tool
MFGTool can be used to download all the images into target device. It’s a quick and easy tool to download images.
5.1.3
Download Images with dd utility
The linux utility "dd" on Linux PC can be used to download the images into the MMC/SD/TF card. Before downloading, make
sure your MMC/SD/TF card partitions are created as described in section 4.1.1.
All partitions can be recognized by Linux PC. To download all images into the card, please use the commands below:
Download the uboot image:
# sudo dd if=u-boot.imx of=/dev/sdx bs=1K seek=1; sync
Download the boot image:
# sudo dd if=boot.img of=/dev/sdx1; sync
Programming Images
SCM i.MX 6 Series Android User's Guide
14
NXP Semiconductors