Users Guide

Table Of Contents
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.
This firmware update method does not require serial access or a USB port. To update the PCIe firmware from the OS10 hshell:
1. Log in to the switch.
2. 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# copy scp://userid:passwd@hostip/filepath/pcieg3fw.bin .
root@OS10:/home/admin# ls
pcieg3fw.bin
3. 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>
4. 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>
B
Upgrade PCIe firmware from OS10 hshell 39