Starting Linux From Usb Disk; Deploy Filesystem To The Usb Disk; Table 6-1 Partitions On Usb Disk - SMART Embedded Computing COMX-P2020 BSP User Manual

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

Advertisement

6.3

Starting Linux from USB Disk

The Linux kernel and filesystem can be put to the USB disk for production deployment. As
such the USB sticks included in the COMX-P2020 kit will contain the following images as
per the partitions mentioned.
Table 6-1
Partition Number
1
2
3
4
6.3.1

Deploy Filesystem to the USB Disk

The following method can deploy filesystem to an empty 4G Byte USB Disk:
1. Start COMX-P2020 to Linux with NFS file system.
2. Insert a 4G Byte USB sticks to COMX-P2020 and fdisk the USB disk as the above
partition table.
[root@COMX-P2020 /root]#fdisk /dev/sda
...
Device Boot
/dev/sda1
/dev/sda2
/dev/sda3
/ Solaris
/dev/sda4
3. Format the partition with the following command:
[root@COMX-P2020 root]# umount /dev/sda1
[root@COMX-P2020 root]# umount /dev/sda2
[root@COMX-P2020 root]# umount /dev/sda3
[root@COMX-P2020 root]# umount /dev/sda4
COMX-P2020 BSP User Guide (6806800L84C)
Partitions on USB Disk
Size
Type
Ext2
1G
(System ID = 83)
FAT16
1G
(System ID = 6)
Linux swap
1G
(System ID = 82)
Ext2
1G
(System ID = 83)
Start
1
143
266
397
Contents
Inflated rootfs required for HD boot
uImage, comx.dtb, rootfs-dev.ext2.img, rootfs-
usr.ext2.img, rootfs-min.ext2.img
uImage, comx.dtb, rootfs-dev.ext2.img, rootfs-
usr.ext2.img, rootfs-min.ext2.img
End
Blocks
142
1140583+ 83
265
987997+
396
1052257+ 82 Linux swap
518
979965
Start Linux
Id
System
Linux
6
FAT16
83
Linux
75

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