18
3.
Software User Guide
3.1.
Introduction
This chapter details the Linux operation on ICM-2010 platform. This platform is an
embedded system with Linux kernel 3.0.35. It contains all system-required shell
commands and drivers ready. You can evaluate and develop under Ubuntu 12.04 LTS
environment.
There are three major boot components for Linux, “u-boot.bin”, “uImage” and “root
file system”. The “u-boot.bin” is for initializing peripheral hardware parameters; the
“uIm- age” is the Linux kernel image and the “File System” is for Linux O.S. used.
It will not be able to boot into Linux environment successfully if one of above three
files is missing from booting media (in ICM-2010, we use SD/MMC card)
3.2.
Create SD/MMC Card using Linux Host
3.2.1.
Requirements
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 4GB SD/MMC
card is used.
Any Linux distribution can be used for the following procedure. It is recommended to
use a Linux distribution that LTIB has been tested against such as Ubuntu 9.04.
The Linux kernel running on the Linux host will assign a device node to the SD/MMC
card reader. The kernel might decide the device node name or udev rules might be
used. In the following instructions, it is assumed that udev is not used.
To identify the device node assigned to the SD/MMC card, enter the command:
$ cat /proc/partitions
major minor #blocks name
8 0 175825944 sda
8 1 254976 sda
8 2 1 sda
8 5 175567872 sda
8 0 7761920 sdb
8 0 2048000 sdb
In this example, the device node assigned is /dev/sdb (a block is 512B large).