Mellanox flex2 smart nic unable to set GUID and MAC

Hi, I’ve a mellanox flex2 smart nic (bought used) that have no guid and mac set.

I’ve tried to reflash the firmware and setting up mac and guid without success.

If i query the card i see:

flint -d /dev/mst/mt4119_pciconf0 q

Image type: FS4

FW Version: 16.28.2006

FW Release Date: 15.9.2020

Product Version: 16.28.2006

Rom Info: type=UEFI version=14.21.17 cpu=AMD64

type=PXE version=3.6.102 cpu=AMD64

Description: UID GuidsNumber

Base GUID: N/A 12

Base MAC: N/A 12

Image VSD: N/A

Device VSD: N/A

PSID: MT_0000000158

Security Attributes: N/A

I’ have tried this command :

flint -d /dev/mst/mt4119_pciconf0 -uid e41d2d0300xxxxxx -ocr sg guids_num=4 step_size=1

mlxfwreset -d /dev/mst/mt4119_pciconf0 r

Also i’ve tried to edit the image and reflash the card without success. Can i do?

Another question :

How can i check if the board work correctly ? Can be done a test to it? ( nic and fpga)? thanks.

Hi,

Please use the below commands :

flint -d /dev/mst/mt4119_pciconf0 -ocr -guid 0xe41d2d0300570fc0 -mac 0x0000e41d2d570fc0 sg

mlxfwreset -d /dev/mst/mt4119_pciconf0 -s -l 3 reset

Thanks,

Samer

Thanks for reply,

I’ve tried your method without success. Seems that device have non GUID and MAC.

Querying Mellanox devices firmware …

Device #1:


Device Type: ConnectX5

Part Number: MNV303212A-ADL_Ax_Bx

Description: Innova-2 Flex for Application Acceleration; ConnectX-5 Eth Adapter dual Port SFP 25GbE; Xilinx KU15P; PCI4.0 x8; HHHL; active cooling tall bracket; ROHS R6

PSID: MT_0000000158

PCI Device Name: /dev/mst/mt4119_pciconf0

Base GUID: N/A

Base MAC: N/A

Versions: Current Available

FW 16.28.2006 16.28.2006

PXE 3.6.0102 3.6.0102

UEFI 14.21.0017 14.21.0017

Status: Up to date

root@mellanox:/home/cicl/Downloads# flint -d /dev/mst/mt4119_pciconf0 -ocr -guid 0xe41d2d0300570fc0 -mac 0x0000e41d2d570fc0 sg

-W- Firmware flash cache access is enabled. Running in this mode may cause the firmware to hang.

Updating GUID section - OK

-I- To load new configuration run mlxfwreset or reboot machine

root@mellanox:/home/cicl/Downloads# mlxfwreset -d /dev/mst/mt4119_pciconf0 -s -l 3 reset

Requested reset level for device, /dev/mst/mt4119_pciconf0:

3: Driver restart and PCI reset

Continue with reset?[y/N] y

-I- Sending Reset Command To Fw -Done

-I- Resetting PCI -Done

-I- Restarting MST -Done

-I- FW was loaded successfully.

root@mellanox:/home/cicl/Downloads# ./mlxup

Querying Mellanox devices firmware …

Device #1:


Device Type: ConnectX5

Part Number: MNV303212A-ADL_Ax_Bx

Description: Innova-2 Flex for Application Acceleration; ConnectX-5 Eth Adapter dual Port SFP 25GbE; Xilinx KU15P; PCI4.0 x8; HHHL; active cooling tall bracket; ROHS R6

PSID: MT_0000000158

PCI Device Name: /dev/mst/mt4119_pciconf0

Base GUID: N/A

Base MAC: N/A

Versions: Current Available

FW 16.28.2006 16.28.2006

PXE 3.6.0102 3.6.0102

UEFI 14.21.0017 14.21.0017

Status: Up to date