-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IOMMU related BAR1 errors, add h310-p16
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
- Loading branch information
Showing
5 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ include menu.cfg | |
default vesamenu.c32 | ||
prompt 0 | ||
timeout 50 | ||
set iomem=relaxed |
Binary file added
BIN
+697 KB
...Files/Linux ISO Build/config/includes.chroot_after_packages/root/H310/p16-h310-2118it.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
...ide Source Files/Linux ISO Build/config/includes.chroot_after_packages/root/deesh_version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Build Date: 07-20-2021 | ||
Perc Linux Live ISO v1.9 | ||
Build Date: 11-23-2021 | ||
Perc Linux Live ISO v2.0 | ||
|
||
|
||
|
||
|
32 changes: 32 additions & 0 deletions
32
...Source Files/Linux ISO Build/config/includes.chroot_after_packages/usr/local/bin/H310-P16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
# 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!" | ||
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-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" |