How to update Mellanox Firmware on OpenPower Servers

Mellanox Technologies being a openPOWER foundation member, has worked towards providing support towards Little Indian POWER based distros.

Mellanox supports the their cards (has official drivers) following ppc64LE OS:

Ubuntu, Fedora, SLES, PowerKVM, RHEL and CentOS

If you have multiple mellanox adapters in the same box, it can get tricky to find the exact device ID and flash the firmware to adapter.

Step1 : Grab the model number (PSID) of Mellanox Nic you have in your server

a) mst start

b) mst status 

c) mstflint -d <PCI-device-id-of-adapter> q

where PCI device id can be gotten from command:   b)  and is of the example format: 0002:01:00.0

d) Find the PSID   (Format of PSID : MT_1270116023)

Output from c) contain the PSID



Find and download the latest firmware for the adapter in below webpage using above found PSID


Unzip the firmware binary image (.zip file) from Step 2

Burn the FW image. Enter:

flint -d <device_name> -i <binary image> burn

Exact device name can be gotten from: mst status

Format of device name: /dev/mst/mt<dev_id>_pci{_cr0|conf0}

Either cro or conf0 string will work in above command.




check if your firmware is updated with below command


One thought on “How to update Mellanox Firmware on OpenPower Servers

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s