23
$ sudo mkfs.ext3 /dev/sdb1
Or
$ sudo mkfs.ext4 /dev/sdb1
Copy the target file system to the partition:
$ mkdir /home/user/mountpoint
$ sudo mount /dev/sdb1 /home/user/mountpoint
Download and save the demo rootfs from https://releases.linaro.org/12.04/ubuntu/precise-
images/ubuntu-desktop/linaro-precise-ubuntu-desktop-20120426-119.tar.gz
Extract rootfs package to certain directory: extract rootfs.ext2.gz to /home/user/rootfs
for example:
$ gunzip rootfs.ext2.gz
$ mount -o loop -t ext2 rootfs.ext2 /home/user/rootfs
Assume that the root file system files are located in /home/user/rootfs as in the
previous step:
$ cd /home/user/rootfs
$ sudo cp -a * /home/user/mountpoint
$ sudo umount /home/user/mountpoint
$
sync
The file system content is now on the media.
3.4.
Applications and Testing
3.4.1.
Ethernet Test
A simple ping test. You can increase the size of the packet press -s switch
# ping -s 500 192.168.0.100
PING 192.168.0.100 (192.168.0.100): 1000 data bytes
1008 bytes from 192.168.0.100: seq=0 ttl=64 time=1.980 ms
1008 bytes from 192.168.0.100: seq=1 ttl=64 time=0.459 ms
1008 bytes from 192.168.0.100: seq=2 ttl=64 time=0.461 ms
1008 bytes from 192.168.0.100: seq=3 ttl=64 time=0.475 ms
--- 192.168.0.100 ping statistics ---
Содержание EBC2A0
Страница 1: ...1 EBC2A0 2 5 SBC with Freescale i MX6 Processor ARM Cortex A9 Architecture User Manual Ver 1st...
Страница 7: ...7 Chapter 1 Product Overview This chapter provides background Information of SBC...
Страница 10: ...10 1 3 Block Diagram...
Страница 18: ...18 Chapter 3 Software User Guide This chapter details the Linux operation on ICM 2010...