This time, I will introduce how to update the firmware using MFT (Mellanox Firmware Tool) for Linux. If Mellanox OFED is installed with no options, this tool will be installed as well.
If downloaded separately, MFT can be downloaded at http://www.mellanox.com > Downloads > Firmware Tools.
execution procedure
STEP1 : Download the firmware (binary image) for the network card from Mellanox Web site
http://www.mellanox.com > Downloads > Firmware
STEP2 : Start mst
host1# mst start
STEP3 : Identifying InfiniBand Devices for Firmware Update
a Check the list of InfiniBand device names in the device
host1# mst status
MST modules:
--------------------
MST PCI module loaded
MST PCI configuration module loaded
MST Caliber (I2C) module is not loaded
MST devices:
------------
/dev/mst/mt25418_pciconf0 - PCI configuration cycles access.
bus:dev.fn=02:00.0 addr.reg=88 data.reg=92
Chip revision is: A0
/dev/mst/mt25418_pci_cr0 - PCI direct access.
bus:dev.fn=02:00.0 bar=0xdef00000 size=0x100000
Chip revision is: A0
/dev/mst/mt25418_pci_msix0 - PCI direct access.
bus:dev.fn=02:00.0 bar=0xdeefe000 size=0x2000
/dev/mst/mt25418_pci_uar0 - PCI direct access.
bus:dev.fn=02:00.0 bar=0xdc800000 size=0x800000
b. InfiniBand devices will have postfix “_pci_cr0”. In the above example it is /dev/mst/mt25418_pci_cr0.
STEP4 : Burn the firmware
Update the firmware using the flint utility using the InfiniBand device obtained in STEP3
flint -d /dev/mst/mt25418_pci_cr0 -i burn
STEP5 : Reboot the device after the firmware update is completed
STEP6 : You can check the updated firmware with the following command.
-ibstat
- ibv_devinfo
- flint -d /dev/mst/mt25418_pci_cr0 query
Detailed information about firmware update is also available from the MFT User Manual and the following Mellanox Web site. Please refer to it.
http://www.mellanox.com/content/pages.php?pg=firmware_HCA_FW_update