Skip to content

Commit 28ea2be

Browse files
author
Nate Thornton
authored
PCIe Switch Firmware Upgrade (#25)
* PCIe Switch Firmware Upgrade Signed-off-by: Nate Thornton <nate.thornton@hpe.com>
1 parent 81452d0 commit 28ea2be

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

docs/guides/firmware-upgrade/readme.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
---
2-
authors: Tony Floeder <anthony.floeder@hpe.com>
2+
authors: Tony Floeder <anthony.floeder@hpe.com>, Nate Thornton <nate.thornton@hpe.com>
33
categories: setup
44
---
55

66
# Firmware Upgrade Procedures
77

8-
This guide presents the firmware upgrade procedures to upgrade firmware from the Rabbit processor using tools present in the operating system.
8+
This guide presents the firmware upgrade procedures to upgrade firmware from the Rabbit using tools present in the operating system.
9+
10+
## PCIe Switch Firmware Upgrade
11+
12+
In order to upgrade the firmware on the PCIe switch, the `switchtec` kernel driver and utility of the same name must be installed. Rabbit hardware consists of two PCIe switches, which can be managed by devices typically located at `/dev/switchtec0` and `/dev/switchtec1`.
13+
14+
!!! danger
15+
Upgrading the switch firmware will cause the switch to reset. Prototype Rabbit units not supporting hotplug should undergo a power-cycle to ensure switch initialization following firmware uprade. Similarily, compute nodes not supporting hotplug may lose connectivity after firmware upgrade and should also be power-cycled.
16+
17+
```bash
18+
IMAGE=$1 # Provide the path to the firmware image file
19+
SWITCHES=("/dev/switchtec0" "/dev/switchtec1")
20+
for SWITCH in $SWITCHES; do switchtec fw-update $SWITCH $IMAGE --yes; done
21+
```
22+
923

1024
## NVMe Drive Firmware Upgrade
1125

0 commit comments

Comments
 (0)