Updating Firmware After Installation

Linux Kernel Upstream Release Notes v5.17

The firmware can be updated using one of the following methods:

To update the device online on the machine from Mellanox site, use the following command line:

Copy
Copied!
            

mlxfwmanager --online -u -d <device>

Example:

Copy
Copied!
            

# mlxfwmanager --online -u -d 0000:01:00.0 Querying Mellanox devices firmware ...   Device #1: ----------   Device Type: ConnectX6 Part Number: MCX653106A-HDA_Ax Description: ConnectX-6 VPI adapter card; HDR IB (200Gb/s) and 200GbE; dual-port QSFP56; PCIe4.0 x16; tall bracket; ROHS R6 PSID: MT_0000000225 PCI Device Name: 0000:01:00.0 Base MAC: 98039b970cc2 Versions: Current Available FW 20.26.4012 20.27.1016 PXE 3.6.0101 3.5.0903 UEFI 14.21.0016 14.20.0025   Status: Up to date

In case you ran the mlnxofedinstall script with the ‘--without-fw-update’ option or you are using an OEM card and now you wish to (manually) update firmware on your adapter card(s), you need to perform the steps below. The following steps are also appropriate in case you wish to burn newer firmware that you have downloaded from Mellanox Technologies’ Web site (http://www.mellanox.com > Support > Firmware Download).

  1. Get the device’s PSID.

    Copy
    Copied!
                

    mlxfwmanager_pci | grep PSID PSID: MT_1210110019

  2. Download the firmware BIN file from the Mellanox website or the OEM website.

  3. Burn the firmware.

    Copy
    Copied!
                

    mlxfwmanager_pci -i <fw_file.bin>

  4. Reboot your machine once the firmware burning is completed.

Firmware can be automatically updated upon system boot.
The firmware update package (mlnx-fw-updater) is installed in the “/opt/mellanox/mlnx-fw-updater” folder, and the openibd service script can invoke the firmware update process if requested on boot.
If the firmware is updated, the following message will be printed to the system’s standard logging file:

Copy
Copied!
            

fw_updater: Firmware was updated. Please reboot your system for the changes to take effect.

Otherwise, the following message will be printed:

Copy
Copied!
            

fw_updater: Didn't detect new devices with old firmware.

Please note that this feature is disabled by default. To enable the automatic firmware update upon system boot, set the following parameter to “yes” “RUN_FW_UPDATER_ONBOOT=yes” in the openibd service configuration file “/etc/infiniband/openib.conf”.

You can opt to exclude a list of devices from the automatic firmware update procedure. To do so, edit the configurations file “/opt/mellanox/mlnx-fw-updater/mlnx-fw-updater.conf” and provide a comma separated list of PCI devices to exclude from the firmware update.

Example:

Copy
Copied!
            

MLNX_EXCLUDE_DEVICES="00:05.0,00:07.0"

© Copyright 2023, NVIDIA. Last updated on Oct 23, 2023.