I don't know if it's appropriate to post this here, so I can delete if necessary, but here are the instructions I wrote down for flashing the
MCX354A cards I bought. I have used mine in Supermicro, Dell and Oracle servers.
For CentOS 7
download firmware tools from:
http://www.mellanox.com/page/management_tools
which leads you to:
http://www.mellanox.com/downloads/MFT/mft-4.10.0-104-x86_64-rpm.tgz
start the mellanox stuff with
mst and look at what cards are installed:
# mst start
# ls -l /dev/mst
mt4099_pciconf0 mt4099_pci_cr0 mt4099_pci_msix0
Next, download firmware from
http://www.mellanox.com/page/firmware_table_ConnectX3IB
Need the firmware for the
MCX354A-FCBT which should has the PSID
MT_1090120019, and then extract it to get the .bin
http://www.mellanox.com/downloads/firmware/fw-ConnectX3-rel-2_42_5000-MCX354A-FCB_A2-A5-FlexBoot-3.4.752.bin.zip
then run this for each card, changing the
/dev/mst/mt4099_pci_crX number from
/dev/mst/
# flint -d /dev/mst/mt4099_pci_cr0 -i fw-ConnectX3-rel-2_42_5000-MCX354A-FCB_A2-A5-FlexBoot-3.4.752.bin -allow_psid_change burn
This should output something like this:
Current FW version on flash: 2.10.2280
New FW version: 2.42.5000
You are about to replace current PSID on flash - "HP_0280210019" with a different PSID - "MT_1090120019".
Note: It is highly recommended not to change the PSID.
Do you want to continue ? (y/n) [n] : y
Burning FS2 FW image without signatures - OK
Restoring signature - OK
And now the
mlxfwmanager should show something like this:
# mlxfwmanager
Querying Mellanox devices firmware ...
Device #1:
----------
Device Type: ConnectX3
Part Number: 649281-B21_B1
Description: HP IB 4X FDR CX-3 PCI-e G3 Dual Port HCA
PSID: HP_0280210019
PCI Device Name: /dev/mst/mt4099_pci_cr1
Port1 MAC: 24be059e3f31
Port2 MAC: 24be059e3f32
Versions: Current Available
FW 2.10.2280 N/A
PXE 3.3.0650 N/A
Status: No matching image found
Device #2:
----------
Device Type: ConnectX3
Part Number: MCX354A-FCB_A2-A5
Description: ConnectX-3 VPI adapter card; dual-port QSFP; FDR IB (56Gb/s) and 40GigE; PCIe3.0 x8 8GT/s; RoHS R6
PSID: MT_1090120019
PCI Device Name: /dev/mst/mt4099_pci_cr0
Port1 MAC: 24be059fe0c1
Port2 MAC: 24be059fe0c2
Versions: Current Available
FW 2.42.5000 2.42.5000
FW (Running) 2.10.2280 N/A
PXE 3.4.0752 3.4.0752
Status: Up to date
Change the default port type from VPI (auto) to eth (again, changing 0 to 1, etc for multiple cards)
# mlxconfig -d /dev/mst/mt4099_pciconf0 set LINK_TYPE_P1=2
# mlxconfig -d /dev/mst/mt4099_pciconf0 set LINK_TYPE_P2=2