CCAV - 媚眼如初 岁月如故 - Mellanox
type: channel
link: https://ccav.me/tag/Mellanox/
items: Mellanox 网卡固件升级

Mellanox 网卡固件升级
type: item
date: 2024-11-25T01:14:00+08:00
description: 安装 MFT首先，在 https://network.nvidia.com/products/adapter-software/firmware-tools/ 下载 MFT，和 mlxup(官方在线更新程序) https://network.nvidia.com/support/firmware/mlxup-mft/ ，按照指示解压安装，安装后，启动 mst 服务，就可以使用 mlxfwmanager 得到网卡的型号以及固件版本：Device #1: ---------- Device Type: ConnectX4LX Part Number: MCX4421A-ACQ_Ax Description: ConnectX-4 Lx EN network interface card for OCP with Host Management; 25GbE dual-port SFP28; PCIe3.0 x8; ROHS R6 PSID: MT_2470112034 PCI Device Name: mt4117_pciconf0 Base MAC: ec0d9a8d094a Versions: Current Available FW 14.32.1010 N/A PXE 3.6.0502 N/A UEFI 14.25.0017 N/A Status: No matching image found使用 mlxup 在线更新尝试使用mlxup在线更新时发现所提供的固件版本与官方目前的固件版本相差甚远，最多只能更新到14.32.1010，逐放弃，下载最新固件进行手动更新。Device #1: ---------- Device Type: ConnectX4LX Part Number: MCX4421A-ACQ_Ax Description: ConnectX-4 Lx EN network interface card for OCP with Host Management; 25GbE dual-port SFP28; PCIe3.0 x8; ROHS R6 PSID: MT_2470112034 PCI Device Name: mt4117_pciconf0 Base MAC: ec0d9a8d094a Versions: Current Available FW 14.21.2320 14.32.1010 PXE 3.5.0305 3.6.0502 UEFI N/A 14.25.0017 Status: Update required手动升级固件PSID 可以看到是 MT_2470112034，可以在 https://network.nvidia.com/support/firmware/firmware-downloads/ 处寻找最新固件，注意需要保证 PSID 一致。下载解压后得到fw-ConnectX4Lx-rel-14_32_1900-MCX4421A-ACQ_Ax-UEFI-14.25.17-FlexBoot-3.6.502.bin 文件CMD输入 mlxup -i C:\fw-ConnectX4Lx-rel-14_32_1900-MCX4421A-ACQ_Ax-UEFI-14.25.17-FlexBoot-3.6.502.bin 指定固件开始更新。Device #1: ---------- Device Type: ConnectX4LX Part Number: MCX4421A-ACQ_Ax Description: ConnectX-4 Lx EN network interface card for OCP with Host Management; 25GbE dual-port SFP28; PCIe3.0 x8; ROHS R6 PSID: MT_2470112034 PCI Device Name: mt4117_pciconf0 Base MAC: ec0d9a8d094a Versions: Current Available FW 14.32.1010 14.32.1900 PXE 3.6.0502 3.6.0502 UEFI 14.25.0017 14.25.0017 Status: Update required --------- Found 1 device(s) requiring firmware update... Perform FW update? [y/N]: y Device #1: Updating FW ... FSMST_INITIALIZE - OK Writing Boot image component - OK Done Restart nee…