Upgrade PCIe firmware from DIAG OS
This procedure is applicable only for the S5200-ON series switches.
NOTE:Do not update the same PCIe firmware version over itself as this action may cause unexpected system behaviors.
Before you begin
- Accessing the EDA DIAG OS requires root user privileges. Ensure that you obtain the root user credentials.
- Remove or unseat all host cables, or configure host settings to not use links, before performing a PCIe upgrade using the DIAG OS option.
- Reload the switch in EXEC mode and watch for the ONIE boot menu.
OS10# reload
- Use the arrow keys to scroll and select
*ONIE.
GNU GRUB version 2.02
+-----------------------------------------+
| OS10-A |
| OS10-B |
|*ONIE |
| | |
| |
+-----------------------------------------+
The GRUB menu appears.
- Use the arrow keys to scroll and select
*EDA-DIAG.
+--------------------------------+
| ONIE: Install OS |
| ONIE: Rescue |
| ONIE: Uninstall OS |
| ONIE: Update ONIE |
| ONIE: Embed ONIE |
| *EDA-DIAG |
+-----------------------------------------+
The EDA DIAG login prompt appears.
- Enter the root username and password.
dellemc-diag-os login: root
Password: ******
- Copy the PCIe firmware .bin file to the DIAG OS partition.
root@dellemc-diag-os:/etc/dn/diag# ifconfig eth0 management-ip
root@dellemc-diag-os:/etc/dn/diag# route add default gw default-gw-ip
root@dellemc-diag-os:/etc/dn/diag# wget scp://xx.xx.xx.xxx/pcieg3fw.bin
--2020-08-12 06:37:32-- scp://xx.xx.xx.xxx/pcieg3fw.bin
=> 'pcieg3fw.bin'
Connecting to xx.xx.xx.xxx:xx... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD not needed.
==> SIZE pcieg3fw.bin ... 30720
==> PASV ... done. ==> RETR pcieg3fw.bin ... done.
Length: 30720 (30K) (unauthoritative)
pcieg3fw.bin 0%[ ] 0 --.-KB/s
pcieg3fw.bin 100%[===================>] 30.00K --.-KB/s in 0.001s
2020-08-12 06:37:32 (32.2 MB/s) - 'pcieg3fw.bin' saved [30720]
- Enter the
nputool -d -i command.
root@dellemc-diag-os:/etc/dn/diag# nputool -d -i
linux-user-bde:new probed device unit 0 dev_no 0 _ndevices 1
DMA pool size: 33554432
PCI unit 0: Dev 0xb873, Rev 0x01, Chip BCM56873_A0, Driver BCM56870_A0
sysconf_probe successful
global_sal_config successful
*** 1 BCM devices are detected
SOC unit 0 attached to PCI device BCM56873_A0
Loading M0 Firmware located at /etc/dn/diag/linkscan_led_fw.bin
Loading M0 Firmware located at /etc/dn/diag/custom_led.bin
*** unit 0: ports capable of limited speed range cut-thru
0:bcmi_xgs5_bfd_init: uKernel BFD application not available
Current mode is now ESW
Diag NPU initialization over
Enter 'exit' to exit out of bcm shell
Inside bcm shell
BCM.0>
The system enters the BCM shell.
- Enter the
pciephy fw load pcieg3fw.bin command.
BCM.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...
BCM.0>
- Enter
Exit to return to the DIAG OS prompt.
BCM.0> exit
root@dellemc-diag-os:#
- Post PCIe upgrade, power-cycle the switch using the
ipmitool chassis power cycle command or by removing power and restoring it.
PCIe firmware upgrade is complete. The system boots with OS10 Release 10.5.0.9.