Start linux – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual

Page 79

Advertising
background image

Start Linux

COMX-P2020 BSP User Guide (6806800L84B)

79

6. Copy the release image to partition4 of USB.

[root@COMX-P2020 root]# cp /mnt/usb2/* /mnt/usb4/.

[root@COMX-P2020 root]# ls -al /mnt/usb4

total 614592

drwxr-xr-x 3 root root 4096 Sep 28 14:46 .

drwxr-xr-x 26 root root 4096 Sep 28 06:25 ..

-rwxr-xr-x 1 root root 9824 Sep 28 14:42 comx.dtb

-rwxr-xr-x 1 root root 3416476 Sep 28 14:42 uImage

drwx------ 2 root root 16384 Sep 28 14:22 lost+found

-rwxr-xr-x 1 root root 195078114 Sep 28 14:43 rootfs-LRFS.tar.gz

-rwxr-xr-x 1 root root 198560701 Sep 28 14:44 rootfs-dev.ext2.img

-rwxr-xr-x 1 root root 3473422 Sep 28 14:44 rootfs-min.ext2.img

-rwxr-xr-x 1 root root 195107868 Sep 28 14:46 rootfs-nfs.tar.gz

-rwxr-xr-x 1 root root 31955486 Sep 28 14:46 rootfs-usr.ext2.img

-rwxr-xr-x 1 root root 524288 Sep 28 14:46 u-boot-sd.bin

-rwxr-xr-x 1 root root 525312 Sep 28 14:46 u-boot-spi.bin

[root@COMX-P2020 root]#

7. Decompress the inflated file system to partition1 of USB.

[root@COMX-P2020 root]# tar zxvf /mnt/usb2/rootfs-LRFS.tar.gz -C

/mnt/usb1

[root@COMX-P2020 root]# cp /mnt/usb2/uImage /mnt/usb1/boot/.

[root@COMX-P2020 root]# cp /mnt/usb2/comx.dtb /mnt/usb1/boot/.

[root@COMX-P2020 root]# ls -al /mnt/usb1

total 100

drwxrwxr-x 22 user user 4096 Sep 28 14:53 .

drwxr-xr-x 26 root root 4096 Sep 28 06:25 ..

drwxr-xr-x 2 user user 4096 Sep 28 14:53 bin

drwxr-xr-x 2 user user 4096 Sep 28 14:48 boot

drwxr-xr-x 2 user user 4096 Sep 28 14:53 boot_format

drwxr-xr-x 2 user user 4096 Sep 28 14:53 dev

drwxrwxr-x 11 user user 4096 Sep 28 14:53 etc

drwxr-xr-x 3 user user 4096 Sep 28 14:48 home

drwxr-xr-x 10 user user 4096 Sep 28 14:48 include

drwxr-xr-x 5 user user 4096 Sep 28 14:48 lib

lrwxrwxrwx 1 user user 11 Sep 28 14:53 linuxrc -> bin/busybox

drwx------ 2 root root 16384 Sep 28 14:22 lost+found

drwxr-xr-x 6 user user 4096 Sep 28 14:53 man

drwxr-xr-x 18 user user 4096 Sep 28 14:48 mnt

drwxr-xr-x 3 user user 4096 Sep 28 14:53 opt

drwxr-xr-x 2 user user 4096 Jan 14 2010 proc

drwxrwxr-x 3 user user 4096 Sep 28 14:53 root

drwxr-xr-x 2 user user 4096 Sep 28 14:53 sbin

drwxr-xr-x 3 user user 4096 Sep 28 14:53 share

drwxr-xr-x 2 user user 4096 Jan 14 2010 sys

Advertising