Skip to content

Instantly share code, notes, and snippets.

@RayneYoruka
Forked from TimeForANinja/mellanox.md
Last active July 24, 2026 15:31
Show Gist options
  • Select an option

  • Save RayneYoruka/ca32de9f39a4387ce498db556b4feb6e to your computer and use it in GitHub Desktop.

Select an option

Save RayneYoruka/ca32de9f39a4387ce498db556b4feb6e to your computer and use it in GitHub Desktop.
how-to for mellanox connect-x firmware

Ressources

General

  • use admin console

get fw version

mlxburn -d mt4099_pciconf0 -fwver

get general information

mlxburn -d mt4099_pciconf0 -vpd

flash firmware

mlxburn -dev mt4099_pciconf0 -i fw-ConnectX3.bin

or even

mlxburn -dev mt4099_pciconf0 -i fw-ConnectX3.bin -allow_psid_change

read possible cfg

mlxconfig -d mt4099_pciconf0 q

read / set wol

mlxconfig -d mt4099_pciconf0 get <WOL_MAGIC_EN_P1|WOL_MAGIC_EN_P2|WOL_MAGIC_EN1>

mlxconfig -d mt4099_pciconf0 set <WOL_MAGIC_EN_P1|WOL_MAGIC_EN_P2|WOL_MAGIC_EN1>=1

If you can't use MFT tools on Windows11 throwing you "No pcie device" you need the version 4.22 of the tools, that will work. Credit to: /u/Mean_Schedule2057 https://www.reddit.com/r/homelab/comments/18a0mzk/comment/ky81yf8/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment