Enable UEFI PXE Boot for Mellanox NIC - cablelabs/snaps-boot GitHub Wiki

Purpose

This article explains how to enable UEFI PXE boot for Mellanox NIC ConnectX-5, as it is disabled by default.

Tested Environments

  • Ubuntu 16.04.5 LTS (hwe-kernel)
  • Mellanox NIC ConnectX-5 (firmware version 16.23.1020)

Steps

  • Download Mellanox Firmware Tools (MFT) package:
cd /tmp

wget http://www.mellanox.com/downloads/MFT/mft-4.11.0-103-x86_64-deb.tgz
  • Install Mellanox Firmware Tools (MFT) package:
tar -zxf mft-4.11.0-103-x86_64-deb.tgz

cd mft-4.11.0-103-x86_64-deb

apt-get install gcc make dkms

./install.sh
  • Obtain the MST device name:
mst start

The device name will be of the form: mt<dev_id>_pci{_cr0|conf0}, for example, mt4119_pciconf0.

  • Enable UEFI PXE Boot:
mlxconfig -d /dev/mst/mt4119_pciconf0 set EXP_ROM_UEFI_x86_ENABLE=True

Then press y to apply, and reboot the server to enable UEFI PXE boot for Mellanox ConnectX-5.

References

http://www.mellanox.com/related-docs/prod_software/Mellanox_PreBoot_Drivers_User_Manual_v6.0.pdf http://www.mellanox.com/pdf/firmware/ConnectX5-FW-16_23_1020-release_notes.pdf

⚠️ **GitHub.com Fallback** ⚠️