SMART Embedded Computing COMX-P2020 BSP User Manual page 76

Hide thumbs Also See for COMX-P2020 BSP:
Table of Contents

Advertisement

Start Linux
[root@COMX-P2020 /root]#mkfs.ext2 /dev/sda1
[root@COMX-P2020 /root]#mkfs.vfat /dev/sda2
[root@COMX-P2020 /root]#mkfs.ext2 /dev/sda4
4. Mount the partitions and copy the desired files from tftp server to the partitions with the
following command:
[root@COMX-P2020 /root]#mkdir /mnt/usb1
[root@COMX-P2020 /root]#mkdir /mnt/usb2
[root@COMX-P2020 /root]#mkdir /mnt/usb4
[root@COMX-P2020 /root]#mount /dev/sda1 /mnt/usb1
[root@COMX-P2020 /root]#mount /dev/sda2 /mnt/usb2
[root@COMX-P2020 /root]#mount /dev/sda4 /mnt/usb4
5. Copy the release image to partition2 of USB.
[root@COMX-P2020 /root]#scp
<user>@<tftp_serverip>:/local/tftpboot/COMX-P2020/current/u-boot-
*.bin /mnt/usb2
[root@COMX-P2020 /root]#scp
<user>@<tftp_serverip>:/local/tftpboot/COMX-
P2020/current/comx.dtb /mnt/usb2
[root@COMX-P2020 /root]#scp
<user>@<tftp_serverip>:/local/tftpboot/COMX-P2020/current/uImage
/mnt/usb2
[root@COMX-P2020 /root]#scp
<user>@<tftp_serverip>:/local/tftpboot/COMX-P2020/current/rootfs-
*.* /mnt/usb2
[root@COMX-P2020 /root]# ls -al /mnt/usb2
total 613944
drwxr-xr-x 2 root root
drwxr-xr-x 26 root root
-rwxr-xr-x 1 root root
-rwxr-xr-x 1 root root
-rwxr-xr-x 1 root root 195078114 Sep 28 14:37 rootfs-LRFS.tar.gz
-rwxr-xr-x 1 root root 198560701 Sep 28 14:36 rootfs-dev.ext2.img
-rwxr-xr-x 1 root root
-rwxr-xr-x 1 root root 195107868 Sep 28 14:38 rootfs-nfs.tar.gz
-rwxr-xr-x 1 root root 31955486 Sep 28 14:38 rootfs-usr.ext2.img
-rwxr-xr-x 1 root root
76
4096 Sep 28 14:38 .
4096 Sep 28 06:25 ..
9824 Sep 28 14:34 comx.dtb
3416476 Sep 28 14:34 uImage
3473422 Sep 28 14:37 rootfs-min.ext2.img
524288 Sep 28 14:33 u-boot-sd.bin
COMX-P2020 BSP User Guide (6806800L84C)
Start Linux

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?

Table of Contents