Enable PXE boot on Mellanox ConnectX

Posted on Fri 08 July 2022 in Network • 1 min read

MFT Tool

https://www.mellanox.com/downloads/MFT/mft-4.20.1-14-x86_64-deb.tgz

MD5SUM: 097c0874bd33fbff2f7fd21699c843c5
SHA256: 4b1b4a8e2eba2369317c0e504ef09b1dc0c60119ddaead45fd26b0c36434635c
wget https://www.mellanox.com/downloads/MFT/mft-4.20.1-14-x86_64-deb.tgz
tar zxvf mft-4.20.1-14-x86_64-deb.tgz
mft-*-deb/install.sh

Enable UEFI and PXE boot

mst start
for card in $(ls /dev/mst/*); do
    echo ${card}
    mlxconfig -d ${card} -y set EXP_ROM_UEFI_x86_ENABLE=1
    mlxconfig -d ${card} -y set EXP_ROM_PXE_ENABLE=1
    mlxconfig -d ${card} q | egrep "EXP_ROM"
done