beautypg.com

2 upgrade microsd card, Firmware upgrade – Artesyn COMX-P1022 Installation and Use (July 2014) User Manual

Page 75

background image

Firmware Upgrade

COMX-P1022 COM Express Module Installation and Use (6806800M04C)

75

6.1.2

Upgrade MicroSD Card

This device should be pre-programmed with a USB reader at Linux host.

1. Insert the MicroSD card to a USB reader.

2. Connect the USB reader to the host.

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-P1022]$ 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: