Mellanox Connect-X 3 Oracle 7046442 Firmware

Discussion in 'Networking' started by SycoPath, May 11, 2018.

  1. SycoPath

    SycoPath Active Member

    Joined:
    Oct 8, 2014
    Messages:
    121
    Likes Received:
    36
    I picked up one of these on eBay:
    SUN 7046442 Dual 40GBPS QDR 4X QDR HBA M3 MCX354A-FCBS | eBay

    After reading these:
    https://forums.servethehome.com/ind...ox-connectx-3-firmware-tweaks-qdr-qsfp.10173/
    and
    https://forums.servethehome.com/index.php?threads/connectx-3-hp-to-mellanox-firmware-help.12452/

    I wanted to go to Mellanox stock firmware but I want to error check myself before I brick the card.

    1.) Download: http://content.mellanox.com/firmware/ConnectX3-rel-2_40_5030.tgz
    2.) Extract MCX354A-FCB_A2-A5.ini and fw-ConnectX3-rel.mlx
    3.) Run Commands:
    Code:
    mlxburn -fw fw-ConnectX3-rel.mlx -conf MCX354A-FCB_A2-A5.ini -wrimage Oracle_Firmware.bin
    flint -i Oracle_Firmware.bin verify
    flint -i Oracle_Firmware.bin query full
    flint -d mt4099_pciconf0 -i Oracle_Firmware.bin -allow_psid_change burn 
    4.) Profit? Is it really this easy?

    Edit: Cleaned up a bit and updated to newest link.
     
    #1
    Last edited: May 12, 2018
  2. fohdeesha

    fohdeesha Kaini Industries

    Joined:
    Nov 20, 2016
    Messages:
    766
    Likes Received:
    571
    there's a more recent source zip available: http://content.mellanox.com/firmware/ConnectX3-rel-2_40_5030.tgz

    if you haven't already, run mst start, then mst status to get the right pci device address to use in the flashing and query commands, it might be different.

    I would also back up the cards current hardware registers/conf in case you flash the wrong ini and need to revert (replace the dev pci path with your own):

    Code:
    flint -d /dev/mst/mt4103_pci_cr0 dc orig_firmware.ini
    Also you don't need step 2, did you write that on accident? You will be generating the oracle firmware.bin yourself with the mlxburn command. anyway now you can follow the steps you wrote and do a cold reboot. when it comes back up run mst start and mst status again to make sure the card came back up properly
     
    #2
  3. SycoPath

    SycoPath Active Member

    Joined:
    Oct 8, 2014
    Messages:
    121
    Likes Received:
    36
    So, to save the next person some time, I attached my working file. This should flash onto an Oracle 7046442 and give you stock Mellanox firmware. This assumes you have the Mellanox Firmware Tools installed and working drivers for the card installed.

    Code:
    #Make sure MST is running
    mst start
    #Find your DEVICENAME
    mst status
    #Backup Original config data from card in case something goes wrong
    flint -d DEVICENAME dc orig_firmware.ini
    #Flash the firmware
    flint -d mt4099_pciconf0 -i Stock_Firmware_MCX354A-FCB.bin -allow_psid_change burn
     

    Attached Files:

    #3
    zxv likes this.
Similar Threads: Mellanox Connect-X
Forum Title Date
Networking Mellanox-Connectx2 Setup Oct 12, 2018
Networking Firmware dump request: Mellanox CX-3 Pro MCX312B-XCCT Sep 14, 2018
Networking Connectivity Issues on Windows 10 with Mellanox ConnectX-2 and Driver 5.50 Sep 3, 2018
Networking Crossflash Lenovo CX-4 to Stock Mellanox Aug 26, 2018
Networking I Think My Mellanox Connect X-2 Shortcircuited...? Aug 23, 2018

Share This Page