U-boot deployment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual

Page 40

Advertising
background image

U-boot Deployment

COMX-P2020 BSP User Guide (6806800L84B)

40

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

Run the script make_sd.sh to program the SD card for COMX-P2020 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 can be shown as below:
Program SD successfully, first partition size = 300 MByte, cost

time: 198 seconds
Otherwise, the SD card program has failed.

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, run the script as below:

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:
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.

The P2020 Version1.x cannot support booting from the SD Card, only P2020 Version2.0
support booting from SD Card.

The CPU version can be found at the output of UART0 when booting from U-Boot: U-Boot
2009.11-V100B09 (Sep 24 2010 - 17:19:44)

CPU0: P2020E, Version: 2.0, (0x80ea0020)
Core: E500, Version: 5.0, (0x80211050)
Clock Configuration:

To understand the structure of SD card, please refere the chapter: LINK deploy filesystem to SD

Card.

Advertising