Upgrade PCIe firmware from OS10 hshell
Use this option to upgrade PCIe firmware only if console access is not available.
NOTE:This PCIe firmware update applies only to S5200-ON switches running OS10 software. Do not attempt this procedure for any third-party Network Operating System (NOS).
NOTE:Do not update the same PCIe firmware version over itself as this action may cause unexpected system behaviors.
Before you begin
- Accessing the OS10 hshell requires root user privileges. Ensure that you obtain the root user credentials.
- Ensure that you shut down all the ports on the OS10 switch.
- Ensure to save the running configuration before performing a power-cycle.
This firmware update method does not require serial access or a USB port. To update the PCIe firmware from the OS10 hshell:
- Log in to the switch.
- Copy the firmware to a known location; for example, /home/admin.
OS10# system "sudo -i"
[sudo] password for admin:
root@OS10# cd /home/admin
root@OS10:/home/admin# scp username@host-ip:/filepath/pcieg3fw.bin .
root@OS10:/home/admin# ls
pcieg3fw.bin
- Enter the OS10 hshell.
root@OS10:/home/admin# hshell
Welcome to the NPU Shell
type ::exit to exit the shell and ::[npu] to change the default npu
SAI.0> SAI.0> SAI.0>
SAI.0>
SAI.0> pwd
Working Directory: /
SAI.0> cd /home/admin
SAI.0>
SAI.0> ls
pcieg3fw.bin
SAI.0>
- Enter the
pciephy fw load pcieg3fw.bin command.
SAI.0> pciephy fw load pcieg3fw.bin
0:soc_flash_init: Flash supported ID = 0x20
Opening file: pcieg3fw.bin
Updating PCIE firmware
............................................ Done
PCIE firmware updated successfully. Please reset the system...
SAI.0>
If you see an error message similar to the following, contact Technical Support.
SAI.0> pciephy fw load pcieg3fw.bin
0:soc_flash_init: Flash not supported = 0x59
Error: Init SPI flash speed = 31250000, mode =3
SAI.0>
- Enter
::exit to return to the OS10 Linux shell.
SAI.0> ::exit
root@OS10:/home/admin#
- Post PCIe upgrade, power-cycle the switch using the
ipmitool chassis power cycle command from the root shell or by removing power and restoring it.
PCIe firmware upgrade is complete. The system boots with OS10 Release 10.5.0.9.