Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,21 @@ This script was born from necessity. I've got a pile of 12G Dell servers that ne

## Supported hardware
### Tested servers
* R320
* R420
* R720
* R720xd
* Dell R320
* Dell R420
* Dell R720
* Dell R720xd
* Huawei RH2288v2

### Tested adapters
* PERC H310 Mini Monolithic
* PERC H310
* PERC H200
* IBM M1015
* _more coming soon!_

### Untested adapters
* PERC H200e
* IBM M1015
* Other cacheless LSI SAS2x08 cards

### Testing other adapters
Expand Down
6 changes: 3 additions & 3 deletions flash-it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ UEFI_PACKAGE_FILE_NAME="uefi.zip"

BACKUP_ROOT_DIR="/tmp"

ADAPTER_PATTERN="H310"
ADAPTER_PATTERN="H310|H200|M1015"
ADAPTER_INDEX="0"
#SBR_CFG_MODIFIED_FILE_PATH="H310MM_mod.cfg"
FIRMWARE_UNPACK_DIR="/tmp/lsi_firmware"
Expand Down Expand Up @@ -144,8 +144,8 @@ rmmod megaraid_sas
echo 16 > /proc/sys/vm/nr_hugepages

# Display full PCI information and dump PCI address to file
lspci -mnn | grep ${ADAPTER_PATTERN}
PCI_ADDRESS="$(lspci -mnn | grep ${ADAPTER_PATTERN} | grep -E '^\w+' | cut -d' ' -f1)"
lspci -mnn | grep -E ${ADAPTER_PATTERN}
PCI_ADDRESS="$(lspci -mnn | grep -E ${ADAPTER_PATTERN} | grep -E '^\w+' | cut -d' ' -f1)"
if [ ${#PCI_ADDRESS} -ne 7 ]; then
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
Expand Down