Upgrade U-Boot For Spi Flash Using Tftp - SMART Embedded Computing COMX-P2020 BSP User Manual

Hide thumbs Also See for COMX-P2020 BSP:
Table of Contents

Advertisement

U-boot Deployment
Now the board is ready to start Linux with RASDISK.
To load the RAMDISK of developer rootfs image, please set the following
environment variable:
=>setenv ramdiskfile rootfs-dev.ext2.img
To load the RAMDISK of user rootfs image, please set the following environment
variable:
=>setenv ramdiskfile rootfs-usr.ext2.img
To load the RAMDISK of min rootfs image, please set the following environment
variable:
=>setenv ramdiskfile rootfs-min.ext2.img
5.6

Upgrade U-boot for SPI Flash Using TFTP

1. Copy the U-boot binary file: u-boot-spi.bin to the directory: /local/tftpboot/COMX-
P2020/current at tftp server.
2. Configure U-boot for tftp:
=> setenv ethaddr <MAC Address 1>
=> 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'.
68
COMX-P2020 BSP User Guide (6806800L84C)
U-boot Deployment

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?

Table of Contents