Chapter 5 switch software loading – CANOGA PERKINS 9171 Metro Ethernet Routing Switch User Manual
Page 20

Chapter 5 Switch Software Loading
The traditional switch software loading is serial loading, but it is slow and time-consuming, and it can not
realize remote loading and is inconvenient for operation. To address these problems, TFTP module is
introduced to switch to facilitate software loading and file download via Ethernet. Specific operations are as
follows:
a.
Enter uBoot operation mode
To enter uBoot operation mode, press the combined key Ctrl + B during the switch startup when Press ctrl + b
to stop autoboot: is prompted; startup information is as follows:
Restarting system
U-Boot 1.1.4 9171 v1.1 (Nov 19 2007 - 16:11:08)
MPC8247 Reset Status:
MPC8247 Clock Configuration
- Bus-to-Core Mult 3.5x, VCO Div 2, 60x Bus Freq 30-85 , Core Freq 100-300
- dfbrg 1, corecnf 0x1e, busdf 3, cpmdf 1, plldf 0, pllmf 5
- vco_out 400000000, scc_clk
100000000, brg_clk
25000000
- cpu_clk 350000000, cpm_clk
200000000, bus_clk 100000000
- pci_clk
33333333
CPU:
MPC8247 (HiP7 Rev 14, Mask 1.0 1K50M) at 350 MHz
Board: CTC8247 (PCI Agent Mode)
I2C:
ready
DRAM: 256 MB
In:
serial
Out:
serial
Err:
serial
Net:
FCC1 ETHERNET, FCC2 ETHERNET [PRIME]
Press ctrl+b to stop autoboot: 3 0 –-Press Ctrl+B to enter uBoot operation mode
b.
Identify a PC as loading server, connect the administration port of switch and the PC with net line;
set IP address of the PC and administration IP address of the switch for the same network segment;
specific operations are as follows:
Use help open_all command to open all commands;
Use the command setenv ipaddr address to set the administration IP address of the switch; the
switch will copy image files to the switch from TFTP server using this address;
Use the command setenv serverip address to set the IP address of TFTP server; the switch will
copy image files from this TFTP server;
Use the command ping to check if the switch communicates with the loading server;
Can use the command printenv to view the current environment variables of switch;
Can use the command saveenv to save the current environment variables of switch to EPROM;
Can use reenv command to restore the environment variables of switch to default value.
c.
Run TFTP Server program on PC as a server, and set the directory where loading files are located;
uBoot file supposed to be upgraded is u_boot_v1.0.bin;
d.
Run the command upgrade_uboot u_boot_v1.0.bin to upgrade uBoot; here the filename is
u_boot_v1.0.bin;
e.
Run the command reset to complete the upgrade of uBoot.