Add H200 and M1015 to out-of-the box support (#21)

* Update README.md

* yolo some grep changes into flash-it.sh

Untested but should add out of the box support for H200 and M1015
This commit is contained in:
Confusingboat 2022-01-20 10:11:21 -06:00 committed by GitHub
parent 792ea5c241
commit e3778ded85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -23,20 +23,21 @@ This script was born from necessity. I've got a pile of 12G Dell servers that ne
## Supported hardware ## Supported hardware
### Tested servers ### Tested servers
* R320 * Dell R320
* R420 * Dell R420
* R720 * Dell R720
* R720xd * Dell R720xd
* Huawei RH2288v2
### Tested adapters ### Tested adapters
* PERC H310 Mini Monolithic * PERC H310 Mini Monolithic
* PERC H310 * PERC H310
* PERC H200 * PERC H200
* IBM M1015
* _more coming soon!_ * _more coming soon!_
### Untested adapters ### Untested adapters
* PERC H200e * PERC H200e
* IBM M1015
* Other cacheless LSI SAS2x08 cards * Other cacheless LSI SAS2x08 cards
### Testing other adapters ### Testing other adapters

View File

@ -16,7 +16,7 @@ UEFI_PACKAGE_FILE_NAME="uefi.zip"
BACKUP_ROOT_DIR="/tmp" BACKUP_ROOT_DIR="/tmp"
ADAPTER_PATTERN="H310" ADAPTER_PATTERN="H310|H200|M1015"
ADAPTER_INDEX="0" ADAPTER_INDEX="0"
#SBR_CFG_MODIFIED_FILE_PATH="H310MM_mod.cfg" #SBR_CFG_MODIFIED_FILE_PATH="H310MM_mod.cfg"
FIRMWARE_UNPACK_DIR="/tmp/lsi_firmware" FIRMWARE_UNPACK_DIR="/tmp/lsi_firmware"
@ -144,8 +144,8 @@ rmmod megaraid_sas
echo 16 > /proc/sys/vm/nr_hugepages echo 16 > /proc/sys/vm/nr_hugepages
# Display full PCI information and dump PCI address to file # Display full PCI information and dump PCI address to file
lspci -mnn | grep ${ADAPTER_PATTERN} lspci -mnn | grep -E ${ADAPTER_PATTERN}
PCI_ADDRESS="$(lspci -mnn | grep ${ADAPTER_PATTERN} | grep -E '^\w+' | cut -d' ' -f1)" PCI_ADDRESS="$(lspci -mnn | grep -E ${ADAPTER_PATTERN} | grep -E '^\w+' | cut -d' ' -f1)"
if [ ${#PCI_ADDRESS} -ne 7 ]; then if [ ${#PCI_ADDRESS} -ne 7 ]; then
echo "Could not retrieve PCI address from lspci, attempting to load from existing backup file." echo "Could not retrieve PCI address from lspci, attempting to load from existing backup file."
[ ! -f "${BACKUP_PCI_ADDRESS_FILE}" ] && echo "Error: unable to locate PCI address backup file. No changes have been made." && exit 1 [ ! -f "${BACKUP_PCI_ADDRESS_FILE}" ] && echo "Error: unable to locate PCI address backup file. No changes have been made." && exit 1