This article help to create the bootable sd card from image files. There are three topics: device compatibility, partition description and create steps.
1. Compatibility
1.1 Hardware Device
- ICM/ICS-2010
- ICM/ICS-2011
1.2 OS
- Yocto 1.6.2 (U-boot 2014.04, Kernel 3.10.53)
- Ubuntu 12.04 (U-boot 2014.04, Kernel 3.10.53)
2. Create SD
2.1 Requirement
An SD/MMC card reader, like a USB card reader, is required. It will be used to transfer the boot loader and kernel images to initialize the partition table and copy the root file system. To simplify the instructions, it is assumed that a 8GB SD/MMC card is used.
To identify the device node assigned to the SD/MMC card, enter the command:
|
|
In this example, the device node assigned is /dev/sdc
(a block is 512B large).
2.2 Create SD - Full Image
Steps
- Get full image file from google driver location.
OS: Yocto 1.6.2, Android 5.0.2, Windows Embedded Compact 7 and Ubuntu 12.04
[ICM/ICS-2010 full images (SD8G)] (https://drive.google.com/folderview?id=0B4PjI57nBw4eWUtuaERjTjNUS3c&usp=sharing)
[ICM/ICS-2011 full images (SD8G)] (https://drive.google.com/folderview?id=0B4PjI57nBw4eQTlnNmNLV0JpOTg&usp=sharing)
$xzcat full.img.xz | sudo dd of=/dev/sdc bs=16M
replace full.img.xz
to proper os image filename
2.3 Create SD - Seperated Disk Dump Files
2.3.1 Needed Files
- boot loader: fileu-boot.imx
- linux kernel: uImage
- device tree: imx6dl-embux-icm2010.dtb
- boot configuration: boot-env
2.3.2 Steps
Flash boot loader file - u-boot.imx
$ sudo dd if=u-boot.imx of=/dev/sdc bs=1k seek=1; sync
Copy kenel, device tree and boot config file to “env” partition.
|
|
More info: Reference