mirror of
https://github.com/Fohdeesha/lab-docu.git
synced 2025-03-11 13:12:09 +01:00
move H310 sbr flashing into freedos
This commit is contained in:
parent
f354a9498e
commit
430fe5a3a0
12
Perc Guide Source Files/FreeDOS/310FLCRS.bat
Normal file
12
Perc Guide Source Files/FreeDOS/310FLCRS.bat
Normal file
@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
echo H310 Full Size Preparation
|
||||
pause If your card is not an H310 FULL SIZE, hit ctrl+c now!! Otherwise hit enter
|
||||
pause If you have an H310 Mini instead, hit ctrl+c now!! Otherwise hit enter
|
||||
pause Press any key to clean adapter flash
|
||||
megarec -cleanflash 0
|
||||
pause Press any key to continue
|
||||
echo running second cleaning to be sure
|
||||
megarec -cleanflash 0
|
||||
pause Press any key to write IT Mode SBR
|
||||
megarec -writesbr 0 H310FLMD.sbr
|
||||
pause If no errors above, you may press any key then reboot
|
11
Perc Guide Source Files/FreeDOS/310MNCRS.bat
Normal file
11
Perc Guide Source Files/FreeDOS/310MNCRS.bat
Normal file
@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
echo H310 Mini Preparation
|
||||
pause If your card is not an H310 MINI, hit ctrl+c now!! Otherwise hit enter
|
||||
pause Press any key to clean adapter flash
|
||||
megarec -cleanflash 0
|
||||
pause Press any key to continue
|
||||
echo running second cleaning to be sure
|
||||
megarec -cleanflash 0
|
||||
pause Press any key to write IT Mode SBR
|
||||
megarec -writesbr 0 H310MNMD.sbr
|
||||
pause If no errors above, you may press any key then reboot
|
BIN
Perc Guide Source Files/FreeDOS/H310FLMD.sbr
Normal file
BIN
Perc Guide Source Files/FreeDOS/H310FLMD.sbr
Normal file
Binary file not shown.
BIN
Perc Guide Source Files/FreeDOS/H310MNMD.sbr
Normal file
BIN
Perc Guide Source Files/FreeDOS/H310MNMD.sbr
Normal file
Binary file not shown.
@ -1,25 +1,22 @@
|
||||
#!/bin/sh
|
||||
# H310 Mini Flashing
|
||||
# H310 Flashing
|
||||
addr=$(lspci -nnv | grep LSI | cut -b -7)
|
||||
rmmod megaraid_sas mpt3sas mptctl mptbase
|
||||
echo "Errors above are normal!"
|
||||
sleep 2
|
||||
echo 16 > /proc/sys/vm/nr_hugepages
|
||||
sleep 1
|
||||
sleep 2
|
||||
#free the card, get it into rawdog mode, boot it from RAM
|
||||
/root/lsirec/lsirec 0000:$addr unbind
|
||||
sleep 1
|
||||
sleep 2
|
||||
/root/lsirec/lsirec 0000:$addr halt
|
||||
sleep 2
|
||||
##write IT mode SBR
|
||||
/root/lsirec/lsirec 0000:$addr writesbr /root/H310/H310-Mini-Modded.sbr
|
||||
sleep 2
|
||||
/root/lsirec/lsirec 0000:$addr hostboot /root/H310/2118it.bin
|
||||
sleep 2
|
||||
sleep 5
|
||||
/root/lsirec/lsirec 0000:$addr rescan
|
||||
sleep 1
|
||||
echo "Pausing for 20 seconds to allow the card to boot"
|
||||
sleep 20
|
||||
sleep 30
|
||||
# erase FW again now from lsiutil to be sure it's dell-free
|
||||
/root/lsiutil/lsiutil -p1 -a 3,8, 33
|
||||
sleep 2
|
@ -1,32 +0,0 @@
|
||||
#!/bin/sh
|
||||
# H310 Mini 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 2
|
||||
#free the card, get it into rawdog mode
|
||||
/root/lsirec/lsirec 0000:$addr unbind
|
||||
sleep 2
|
||||
/root/lsirec/lsirec 0000:$addr halt
|
||||
sleep 2
|
||||
##write IT mode SBR
|
||||
/root/lsirec/lsirec 0000:$addr writesbr /root/H310/H310-Mini-Modded.sbr
|
||||
sleep 5
|
||||
#hostboot the card from RAM
|
||||
#must always RAM-boot using P20, older firmwares do not RAM-boot correctly
|
||||
/root/lsirec/lsirec 0000:$addr hostboot /root/H310/2118it.bin
|
||||
sleep 5
|
||||
/root/lsirec/lsirec 0000:$addr rescan
|
||||
sleep 1
|
||||
echo "Pausing for 20 seconds to allow the card to boot"
|
||||
sleep 30
|
||||
# erase FW again now from lsiutil to be sure it's dell-free
|
||||
/root/lsiutil/lsiutil -p1 -a 3,8, 33
|
||||
sleep 5
|
||||
# flash FW to onboard flash
|
||||
/root/lsiutil/lsiutil -p1 -f /root/H310/p16-h310-2118it.bin -y 2
|
||||
sleep 1
|
||||
echo "All Done! Continue following the guide to set SAS addr"
|
@ -1,29 +1,27 @@
|
||||
#!/bin/sh
|
||||
# H310 Full Size Flashing
|
||||
# H310 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!"
|
||||
sleep 2
|
||||
echo 16 > /proc/sys/vm/nr_hugepages
|
||||
sleep 1
|
||||
sleep 2
|
||||
#free the card, get it into rawdog mode, boot it from RAM
|
||||
/root/lsirec/lsirec 0000:$addr unbind
|
||||
sleep 1
|
||||
sleep 2
|
||||
/root/lsirec/lsirec 0000:$addr halt
|
||||
sleep 2
|
||||
##write IT mode SBR
|
||||
/root/lsirec/lsirec 0000:$addr writesbr /root/H310/H310-Full-Modded.sbr
|
||||
sleep 2
|
||||
#must always RAM-boot using P20, older firmwares do not RAM-boot correctly
|
||||
/root/lsirec/lsirec 0000:$addr hostboot /root/H310/2118it.bin
|
||||
sleep 2
|
||||
sleep 5
|
||||
/root/lsirec/lsirec 0000:$addr rescan
|
||||
sleep 1
|
||||
echo "Pausing for 20 seconds to allow the card to boot"
|
||||
sleep 20
|
||||
sleep 30
|
||||
# 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
|
||||
/root/lsiutil/lsiutil -p1 -f /root/H310/2118it.bin -y 2
|
||||
# flash old FW to onboard flash
|
||||
/root/lsiutil/lsiutil -p1 -f /root/H310/p16-h310-2118it.bin -y 2
|
||||
sleep 1
|
||||
echo "All Done! Continue following the guide to set SAS addr"
|
Loading…
Reference in New Issue
Block a user