U-boot Deployment
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 refer the chapter: LINK deploy filesystem
to SD Card.
5.3.2
Start-up U-boot from SD Card
Set the switch as: SW1[1] = OFF, SW1[2] = OFF, SW2[1] = OFF, SW2[2] = ON, and power
on the board.
42
COMX-P2020 BSP User Guide (6806800L84C)
U-boot Deployment
Need help?
Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?