1)
device>
setenv ipaddr 10.10.10.22
setenv netmask 255.255.255.0
setenv serverip 10.10.10.21
setenv gatewayip 10.10.10.1 ==> Required when tftp server behind a gateway
setenv image_name ICX64S08030r.bin
saveenv
device> printenv
baudrate=9600
ipaddr=10.10.10.22
gatewayip=10.10.10.1
netmask=255.255.255.0
serverip=10.10.10.21
uboot=brocade/ICX6450/bootcode/kxz10105
Version:10.1.05T310 (May 15 2015 - 11:28:23)
2)
device> ping 10.10.10.21
ethPortNo = 0
Using egiga0 device
host 10.10.10.21 is alive
3)
update_primary
ethPortNo = 0
Using egiga0 device
TFTP from server 10.10.10.21; our IP address is 10.10.10.22
Download Filename 'ICX64S08030r.bin'.
Load address: 0x3000000
Download to address: 0x3000000
Loading: ############################################################
############################################################
############################################################
############################################################
############################################################
############################################################
############################################################
############################################################
############################################################
########################################################
done
Bytes transferred = 10360844 (9e180c hex)
prot off f8100000 f907ffff
................................................................................
................................................................................
................................................................................
........
Un-Protected 248 sectors
erase f8100000 f907ffff
.................................................
.................................................................
.................................................................
.................................................................
....
Erased 248 sectors
copying image to flash, it will take sometime...
sflash write 3000000 100000 f80000
TFTP to Flash Done.
4)
device> boot_primary
Booting image from Primary
## Booting image at 00007fc0 ...
Created: 2015-05-02 20:38:52 UTC
Data Size: 10360268 Bytes = 9.9 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel in BE mode ...
Uncompressing Image.............................................................
................................................................................
................................................................................
................................................................................
................................................................................
........................................... done, booting the kernel.
Config partition mounted.
5)
copy flash flash secondary