Update mlx script to install all dependencies and echo instructions
This commit is contained in:
parent
44c3d31bbf
commit
e549d55459
@ -2,7 +2,8 @@ mkdir ml
|
||||
cd ml
|
||||
|
||||
# Install Dependencies
|
||||
dnf install gcc make dkms #Also kernel here
|
||||
dnf install -y gcc make dkms rpm-build
|
||||
dnf install -y "kernel-devel-$(uname -r)"
|
||||
|
||||
# Download, Extract & Install Software
|
||||
wget https://www.mellanox.com/downloads/MFT/mft-4.30.1-113-x86_64-rpm.tgz
|
||||
@ -16,5 +17,8 @@ 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 "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"
|
||||
echo "Server must be rebooted after firmware upgrade"
|
||||
echo "To set ports to ethernet: 'mlxconfig -d [device_address] set LINK_TYPE_P1=2 LINK_TYPE_P2=2'"
|
||||
echo "To turn off Bootrom: use the set command as above with 'BOOT_OPTION_ROM_EN_P1=false', Then do the same for P2., then LEGACY_BOOT_PROTOCOL_P1=0, and the same for P2."
|
Loading…
x
Reference in New Issue
Block a user