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

Page 71

Advertising
background image

U-boot Deployment

COMX-P2020 BSP User Guide (6806800L84B)

71

=> setenv eth1addr <MAC Address 2>

=> setenv eth2addr <MAC Address 3>

=>setenv ethact eTSEC1

=>setenv ipaddr <board_ipaddress>

=>setenv serverip <tftp_serverip>

=>setenv gatewayip <your_gatewayip>

=>setenv netmask <net_mask>

=>setenv tftppath COMX-P2020/current

=> ping <tftp_serverip>

Enet starting in 100BT/FD

Speed: 100, full duplex

Using eTSEC1 device

host 192.168.0.197 is alive

=> tftp COMX-P2020/current/u-boot-spi.bin

Enet starting in 100BT/FD

Speed: 100, full duplex

Using eTSEC1 device

TFTP from server 192.168.0.197; our IP address is 192.168.0.250

Filename 'COMX-P2020/current/u-boot-spi.bin'.

Load address: 0x1000000

Loading: ####################################

done

Bytes transferred = 525312 (80400 hex)

=>

=>saveenv

3. Run command "run upgradespi" to upgrade U-boot for SPI Flash.

run upgradespi

4096 KiB S25FL032A(P) at 0:0 is now current device

Enet starting in 100BT/FD

Speed: 100, full duplex

Using eTSEC1 device

TFTP from server 192.168.0.197; our IP address is 192.168.0.250

Filename 'u-boot-spi.bin'.

Load address: 0x1000000

Loading: ####################################

done

Bytes transferred = 525312 (80400 hex)

4. Reset the board to boot up from new U-boot image.

Advertising