beautypg.com

3 upgrade spi flash – Artesyn COMX-P1022 Installation and Use (July 2014) User Manual

Page 76

background image

Firmware Upgrade

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

76

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

6.1.3

Upgrade SPI Flash

1. Attach the board's first Ethernet port (eTSEC1) to the host using a network cable.

Assuming that the IP address of the host is 192.168.0.197, and IP Address for the
board is 192.168.0.253.

2. Attach the board's first serial port (UART0) to the host using a serial port cable. The

serial port of the host can be set with the following parameters:

Baud rate= 115200; Data bits = 8; Parity = None; Stop bits = 1; Flow Control = None

The Bootloader is stored on the SD card. Do not delete partitions on the SD card.