Firmware Upgrade
COMX-P2020 Module Installation and Use (6806800K97F)
83
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 Start End Blocks Id System
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, cost
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, cost
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.
Summary of Contents for COMX-P2020 BSP
Page 1: ...COMX P2020 Module Installation and Use P N 6806800K97F November 2019 ...
Page 6: ...6 ProductNameLong Manual Type 680xxxxxxx Table of Contents ...
Page 8: ...List of Tables 8 ProductNameLong Manual Type 680xxxxxxx ...
Page 10: ...List of Figures 10 ProductNameLong Manual Type 680xxxxxxx ...
Page 28: ...28 COMX P2020 Module Installation and Use 6806800K97F Introduction Introduction ...
Page 61: ...Controls LEDs and Connectors COMX P2020 Module Installation and Use 6806800K97F 61 ...
Page 63: ...Controls LEDs and Connectors COMX P2020 Module Installation and Use 6806800K97F 63 ...
Page 65: ...Controls LEDs and Connectors COMX P2020 Module Installation and Use 6806800K97F 65 ...
Page 91: ...1 ...