Skip to content

Instantly share code, notes, and snippets.

@TimeForANinja
Last active July 16, 2026 20:38
Show Gist options
  • Select an option

  • Save TimeForANinja/fa1afe7123b0cdd97bff83dcf1cc60f9 to your computer and use it in GitHub Desktop.

Select an option

Save TimeForANinja/fa1afe7123b0cdd97bff83dcf1cc60f9 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment