Add P16 firmware version files

for people on that broken btrfs tip
This commit is contained in:
Jon Sands 2021-07-20 05:02:30 -04:00
parent ced3699a16
commit 5ff9f9bab1
7 changed files with 58 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,29 @@
#!/bin/sh
# H710 B0 Revision Flashing (Old P16 firmware for BTRFS users)
addr=$(lspci -nnv | grep LSI | cut -b -7)
rmmod megaraid_sas mpt3sas mptctl mptbase
echo "Errors above are normal!"
echo "Preparing to flash old P16 firmware"
sleep 2
echo 16 > /proc/sys/vm/nr_hugepages
sleep 1
#free the card, get it into rawdog mode, boot it from RAM
#must always RAM-boot using P20, older firmwares do not RAM-boot correctly
/root/lsirec/lsirec 0000:$addr unbind
sleep 1
/root/lsirec/lsirec 0000:$addr halt
sleep 1
/root/lsirec/lsirec 0000:$addr hostboot /root/H710/9205-8e.bin
sleep 2
/root/lsirec/lsirec 0000:$addr rescan
sleep 1
echo "Pausing for 20 seconds to allow the card to boot"
sleep 20
# erase FW again now from lsiutil to be sure it's dell-free
/root/lsiutil/lsiutil -p1 -a 3,8, 33
sleep 2
# flash FW to onboard flash
# now we can flash older P16
/root/lsiutil/lsiutil -p1 -f /root/H710/p16-9205-8e.bin -y 2
sleep 1
echo "All Done! Continue following the guide to set SAS addr"

View File

@ -0,0 +1,29 @@
#!/bin/sh
# H710 D1 Revision Flashing (Old P16 firmware for BTRFS users)
addr=$(lspci -nnv | grep LSI | cut -b -7)
rmmod megaraid_sas mpt3sas mptctl mptbase
echo "Errors above are normal!"
echo "Preparing to flash old P16 firmware"
sleep 2
echo 16 > /proc/sys/vm/nr_hugepages
sleep 1
#free the card, get it into rawdog mode, boot it from RAM
#must always RAM-boot using P20, older firmwares do not RAM-boot correctly
/root/lsirec/lsirec 0000:$addr unbind
sleep 1
/root/lsirec/lsirec 0000:$addr halt
sleep 1
/root/lsirec/lsirec 0000:$addr hostboot /root/H710/9207-8.bin
sleep 2
/root/lsirec/lsirec 0000:$addr rescan
sleep 1
echo "Pausing for 20 seconds to allow the card to boot"
sleep 20
# erase FW again now from lsiutil to be sure it's dell-free
/root/lsiutil/lsiutil -p1 -a 3,8, 33
sleep 2
# flash FW to onboard flash
# now we can flash older P16
/root/lsiutil/lsiutil -p1 -f /root/H710/p16-9207-8.bin -y 2
sleep 1
echo "All Done! Continue following the guide to set SAS addr"