Skip to content
Petr Machata edited this page Nov 8, 2018 · 1 revision
Table of Contents
  1. Dumping Firmware Using MFT
  2. Further Resources

Dumping Firmware Using MFT

In order to perform a firmware dump, please install MFT toolset as described in Updating Firmware.

Make sure to have the MFT system running:

# mst status
MST modules:
------------
    MST PCI module loaded
    MST PCI configuration module loaded

MST devices:
------------
/dev/mst/mt52100_pciconf0        - PCI configuration cycles access.
                                   domain:bus:dev.fn=0000:03:00.0 addr.reg=88 data.reg=92
                                   Chip revision is: 00
/dev/mst/mt52100_pci_cr0         - PCI direct access.
                                   domain:bus:dev.fn=0000:03:00.0 bar=0xf5000000 size=0x400000
                                   Chip revision is: 00

Dumping Firmware State

Firmware state is dumped by the tool mstdump. The dump file is used by Mellanox Support for hardware troubleshooting purposes. In order to put things in perspective, it is necessary to use it three times to perform three consecutive register dumps:

# for i in {1..3}; do mstdump /dev/mst/mt*conf0 > mstdump$i; done

The dump files can then be packed and compressed, and the archive handed over to the party that requested it.

# tar cvJf mstdump.tar.xz mstdump[123]
mstdump1
mstdump2
mstdump3

Further Resources

  1. man mstdump
Clone this wiki locally