From afa294709b97ef58e87e7d9a5040e32c38b3d7ef Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 28 Jun 2025 23:38:44 +0100 Subject: [PATCH] Add script to download mellanox firmware tools for Fedora 42 (Aimed at liveboot images) --- scripts/mlx-cx3.f42.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scripts/mlx-cx3.f42.sh diff --git a/scripts/mlx-cx3.f42.sh b/scripts/mlx-cx3.f42.sh new file mode 100644 index 0000000..d5a9c6b --- /dev/null +++ b/scripts/mlx-cx3.f42.sh @@ -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" \ No newline at end of file