Originally Posted by mark_anderson_u
Basically, if you get an error after you run the clean steps and try to reflash with the LSI firmware, you probably need to do it from a UEFI shell. I had a nightmare with this, because of secure boot. below is how I fixed it. YMMV, as it may be Motherboard dependent (Mine is ASUS Gryphon Z87).
Had a real nightmare flashing my M1015
Ran first two commands to clean bios from instructions commonly available, such as these: http://forums.servethehome.com/raid-controllers-host-bus-adapters/433-ibm-m1015-experiences-5.html
megarec -writesbr 0 sbrempty.bin
megarec -cleanflash 0
I then got an error about failing to initialize the PAL when trying to install new firmware
Result of numerous Google searches suggested I would need to boot from a UEFI shell. This is where the fun started
I had just installed Windows 8.1 Pro (clean install) on an ASUS Gryphon Z87
I downloaded a UEFI shell from here (v1) https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Obtaining_UEFI_Shell
Renamed to Shellx64.efi and copied to root of usb
Also downloaded Installer_P17_for_UEFI from http://www.lsi.com/products/host-bus-adapters/pages/lsi-sas-9211-8i.aspx#tab/tab3
(downloads -> firmware)
Extracted and copied sas2flash.efi to root of USB
Tried to boot to UEFI shell and couldn’t because it wasn’t a secure boot device
So I tried to turn off secure boot in BIOS and there seems to be no way to do it
This meant I had to somehow make the USB a secure boot device
Figured out I had to set an admin password in BIOS setup
Then I went to manage keys and saved keys to USB (can’t do this without BIOS password)
Then when to advanced
Then boot to UEFI
Once in the UEFI shell, I ran these commands (If you get "initshellApp: application not started from shell" at any point, try another uefi shell (e.g. v2). I got this when I tried v2, so went back to v1)
sas2flash.efi -o -sasadd 500605bxxxxxxxxx (x= numbers for SAS address (no dashes))
Got message saying need new firmware: entered 2118ir.bin at prompt
Installed firmware and then got "sas address added message"
Hope this helps some of you
Just wanted to post a follow up on flashing my IBM M1015 card...
After failing to flash the card using two older non-UEFI boards, I decided to give a try using one of two UEFI boards after seeing Mark's post here. Mark had success using an ASUS board, and I had an ASUS P8H77-M Pro, as well as an AsRock H77M. I wanted to flash the card to IT mode, and just use the card as a simple HBA card, so I simply changed a couple lines.
I had already followed the instructions to set up my bootable USB drive provided by Mfusick on page 25 of this post, then, I also added the (v1) UEFI Shell to the USB per Mark's instructions.
Using the AsRock H77M, I unlugged all my drives connected to the internal SATA ports, inserted the USB boot stick in the back, as well as the IBM M1015 card into the PCI-E x16 slot.
Powered on into the UEFI BIOS, went to the advanced menu and disabled the Serial and Parallel Ports. Then went to the Boot menu, saw that the USB drive automatically populated into Boot device 1 and 2. I also disabled fast boot. No network cable was plugged into the onboard NIC.
Rebooted into DOS (C: prompt), and entered in the 1st two commands:megarec -writesbr 0 sbrempty.bin
megarec -cleanflash 0
At reboot, I attempted the third command:sas2flsh -o -f 2118it.bin
but rec'd the "...failing to initialize PAL...".
I then rebooted back to the BIOS.
On the Exit menu for the AsRock, there is an option to boot into the UEFI shell, so I selected that.
Once in there, I executed the commands provided by Mark. I entered:fs0:
after that went through, then I entered:sas2flash.efi -o -sasadd 500605bxxxxxxxxx
(x= numbers for SAS address (no dashes))
Then after that, and because I wanted IT mode, I entered:2118it.bin
Rec'd the "...Successfull..." message and I was done.
SUPER EASY. I wish I never bothered with pulling together the older non-UEFI boards, I would have saved a lot of frustration!
BIG THANKS to Mfusick and Mark_anderson, as well as everyone else that contributed for getting me through all this!