Add script to download mellanox firmware tools for Fedora 42 (Aimed at liveboot images)

This commit is contained in:
Fred Boniface 2025-06-28 23:38:44 +01:00
parent 4841eb3809
commit afa294709b

20
scripts/mlx-cx3.f42.sh Normal file
View File

@ -0,0 +1,20 @@
mkdir ml
cd ml
# Install Dependencies
dnf install gcc make dkms #Also kernel here
# Download, Extract & Install Software
wget https://www.mellanox.com/downloads/MFT/mft-4.30.1-113-x86_64-rpm.tgz
tar -xf mft-4.30.1-113-x86_64-rpm.tgz
cd mft-4.30.1-113-x86_64-rpm
./install.sh
# Download Firmware
wget http://www.mellanox.com/downloads/firmware/fw-ConnectX3-rel-2_42_5000-MCX354A-FCB_A2-A5-FlexBoot-3.4.752.bin.zip
unzip fw-ConnectX3-rel-2_42_5000-MCX354A-FCB_A2-A5-FlexBoot-3.4.752.bin.zip
mv fw-ConnectX3-rel-2_42_5000-MCX354A-FCB_A2-A5-FlexBoot-3.4.752.bin fw.bin
# End
echo "To install firmare, run `mst start`, `mst status` to get the (cr0) device address"
echo "Then run flint -d [device_address] -i fw.bin --allow_psid_change burn"