SMART Embedded Computing COMX-P2020 Installation And Use Manual page 83

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

Advertisement

3. Check the device name for the USB reader. The following command shows that the
device name for USB reader is /dev/sdb.
[percy@localhost current]$ ls -al /dev/sd*
brw-r----- 1 root disk 8, 0 Dec 2 17:16 /dev/sda
brw-r----- 1 root disk 8, 1 Dec 2 17:17 /dev/sda1
brw-r----- 1 root disk 8, 2 Dec 2 17:16 /dev/sda2
brw-r----- 1 root disk 8, 16 Dec 2 18:43 /dev/sdb
[percy@localhost current]$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 2002 MB, 2002780160 bytes
62 heads, 62 sectors/track, 1017 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Device Boot
4. Run the script make_sd.sh to program the SD card with the BSP targets as below:
[percy@localhost COMX-P2020]$ sudo ./make_sd.sh /dev/sdb
Normally, the program process will last for 3-5 minutes. If the SD card is upgraded
successfully, the following information should be shown as below:
Program SD successfully, first partition size = 300 MByte,
time: 198 seconds
Otherwise, the SD card has failed to be programmed.
5. The second parameter of the script: make_sd.sh can be used to change the size of first
partition. To change the size of the first partition to 250M, you can run the script as
below:
[percy@localhost COMX-P2020]$ sudo ./make_sd.sh /dev/sdb 250
......
Program SD successfully, first partition size = 250 MByte,
time: 171 seconds
The size of the first partition should be greater than 160M, and less than 2000M,
or the script will show input parameter error.
COMX-P2020 Module Installation and Use (6806800K97F)
Start
End
Firmware Upgrade
Blocks
Id
System
cost
cost
83

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents