U-Boot
ATCA-F125 (6873M Artwork) Installation and Use (6806800J94N)
111
5.11
Updating U-Boot
This procedure describes how you can update U-Boot using the U-Boot command line
interface. It is assumed that the new U-Boot image is placed in the download directory of a
TFTP server which has network access to the ATCA-F125. All files names and IP
addresses shown below were only chosen for illustration purposes. This procedure
consists of updating the stand-by boot flash and then switching the boot flashes, so that
after the next reset/boot flash the ATCA-F125 boots from the new active, previously
updated boot flash.
1.
Connect to U-boot. For more information, see
2.
Specify the IP address of the ATCA-F125 and the TFTP server by entering the following
commands:
setenv ipaddr <IP address of ATCA-F125>
setenv serverip <IP address of TFTP server>
3.
Depending on your network configuration, you may have to specify a gateway IP
address as well as a netmask:
setenv gatewayip <gateway IP>
setenv netmask <netmask>
4.
Load the image to the RAM.
tftpboot $loadaddr <U-boot file name, for example: u-boot-1.1.6-
59.bin>
Speed: 1000, full duplex
Using eTSEC0 device
post_result
Contains the POST result string, if POST has been executed
rom_corruption
Set to 1 if the CRC of the u-boot image is incorrect
Table 5-9
ATCA-F125 Specific U-Boot Environment Variables (continued)
Environment Variable
Description
It is recommended that you update the U-boot firmware using the BBS/Linux or the
shelf manager. Refer to the respective documentation for further details.
When updating the U-Boot image, the U-Boot boot parameters are not updated. They
remain as they were before the update. The boot parameters are stored separately
from the U-Boot image in a memory area within each boot flash. See also
Each of the two U-Boot firmware images in the two flashes holds a separate set of
U-Boot environmental variables/boot parameters. Therefore, after switching to
another boot flash, you may need to reconfigure the boot parameters/environmental
variables of the new U-Boot image according to your needs.