beautypg.com

Avalue BFC-10R1 User Manual

Page 48

background image

RSC-IMX51

48 RSC-IMX51 User

’s Manual

4.6 Create a bootable SD card with Ubuntu 10.04 file system

Please insert a SD card in card reader on your Linux host PC

1) Check device node of your SD card by command below.

2) $cat /proc/partitions (for example, mine is /dev/sdd as below)

3) Install bootloader on SD card by command below.

$ sudo dd if=u-boot.bin of=/dev/sdd bs=512 && sync && sync

4) Install Linux kernel image on SD card by command below.

$ sudo dd if=uImage of=/dev/sdd seek=2048 bs=512 && sync && sync

5) Create EXT3 partition for SD card

$sudo fdisk /dev/sdd

Type the following parameters (each followed by ):

u [switch the unit to sectors instead of cylinders]

d

[repeat this until no partition is reported by the ‘p’ command ]

n [create a new partition]

p [create a primary partition]

1 [the first partition]

8192 [starting at offset sector #8192, i.e. 4MB, which leaves enough space for

the kernel, the boot loader and its configuration data]

[using the default value will create a partition that spans to the last

sector of the medium]

w [ this writes the partition table to the medium and fdisk exits]

6) Format new partition in EXT3 format

$sudo mkfs.ext3 /dev/sdd1

7) Please find the Ubuntu file system

”lucid_imx51.tar.gz” from the

path

”CDROMOSLinuxfile systemUbuntu_1004_notebook” on User`s

CD-ROM then copy it to the partition

$ sudo tar

–xzf lucid_imx51.tar.gz

$ cd lucid

$ sudo mount /dev/sdd1 /mnt

$ sudo cp

–dpR * /mnt

This manual is related to the following products: