6 upgrade u-boot for spi flash using tftp – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual
Page 70
U-boot Deployment
COMX-P2020 BSP User Guide (6806800L84B)
70
5.5.3
Configuring U-Boot for Ramdisk Deployment using TFTP
The following environment settings are required to configure the u-boot for ramdisk
deployment using tftp.
At U-boot prompt, set u-boot environment like:
=>setenv ipaddr <board_ipaddress>
=>setenv serverip <tftp_serverip>
=>setenv gatewayip <your_gatewayip>
=>setenv netmask <net_mask>
=>setenv ramdiskfile <root_image>
=>setenv tftppath COMX-P2020/current
=>saveenv
Now the board is ready to start Linux with RASDISK.
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>
Note:
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