GUIDE FOR DUMMIES : Flash an LSI9240 like the IBM M1015 to a LSI9211-IT mode

jbesclapez

Dabbler
Joined
Jun 13, 2020
Messages
31
Hi there,

Here is a straight to the point guide I write because I feel that the others are confusing. This one should work as it even includes the UEFI Shell to boot from.
Here is a quick overview of the steps - First make a USB key boot in Freedos, second Drop the files in the USB and Third boot in UEFI shell and run the commands.
You might have a look at my sources if you need to update - see bottom of the post.

0-I am a coward so, I take no responsibility for anything going wrong.

1-Get the SAS address of the card, it's on the back on a green sticker (ie 500605B0xxxxxxxx)

2-Prepare a USB key to boot on and use Rufus with MBR/BIOS and format in FAT32 like this :
Rufus.jpg

3-Go to the USB key and unzip the files I attached here in the zip file. Your USB root will look like this with in blue the files you just unzipped :
USB-Key.png


4- Now go on on the computer you want to use to flash the card. It must be an UEFI bootable computer.
Boot on the USB key normally (not in UEFI) and you will clear the flash by doing :
megarec -writesbr 0 sbrempty.bin
megarec -cleanflash 0


5- Now restart and from the bios you must launch the EFI shell and it will look like this :

Shell-example.jpg


6-Now you need to follow those commands in the UEFI Shell:

Mount fs0 (it can be something else in your settings - but I recommend unplugging everything else :smile:
mount fs0
fs0:

Now let's see the versio of firmware and bios :
sas2flash.efi -listall

Now let's flash the new firmware and bios:
sas2flash.efi -o -e 6
sas2flash.efi -o -f 2118it.bin -b mptsas2.rom
sas2flash.efi -o -sasadd 500605b0xxxxxxxx (x= numbers for SAS address)


Now let's see the new version of firmware and bios :
sas2flash.efi -listall
Result.jpg

7-Reboot and press CTRL+C to enter LSI Bios...

8- Give a feedback here please and like this post!!!

PS: You can have a look at this video as it might help some of you : https://www.youtube.com/watch?v=IPcY32r0fxk

Sources: (dated from July 2020)
EFI : https://raw.githubusercontent.com/tianocore/edk2/UDK2018/EdkShellBinPkg/FullShell/X64/Shell_Full.efi
Bios: https://docs.broadcom.com/docs-and-...es/sas_sata_6g_p20/Installer_P20_for_UEFI.zip
Firmware : https://docs.broadcom.com/docs-and-...ckage_P20_IR_IT_FW_BIOS_for_MSDOS_Windows.zip
 

Attachments

  • 2020-07-11_13-35-48.png
    2020-07-11_13-35-48.png
    25.5 KB · Views: 336
  • Shell-example.jpg
    Shell-example.jpg
    258.5 KB · Views: 334
  • 1594468687888.png
    1594468687888.png
    6.7 KB · Views: 310
Last edited:

Getho

Cadet
Joined
Jul 12, 2020
Messages
1
ok success finally!

FOr anyone following the guide, just make sure you have the exact resources listed above. I had a bunch that I got here there and everywhere, and it think that was the route of my problem.

This step:
sas2flsh -o -sasadd 500605b0xxxxxxxx (x= numbers for SAS address) should of course be
sas2flash.efi -o -sasadd 500605b0xxxxxxxx (x= numbers for SAS address)

If you have made a note of the ID, just remove the hyphens and spaces. It should be 16 characters
 

jbesclapez

Dabbler
Joined
Jun 13, 2020
Messages
31
ok success finally!

FOr anyone following the guide, just make sure you have the exact resources listed above. I had a bunch that I got here there and everywhere, and it think that was the route of my problem.

This step:
sas2flsh -o -sasadd 500605b0xxxxxxxx (x= numbers for SAS address) should of course be
sas2flash.efi -o -sasadd 500605b0xxxxxxxx (x= numbers for SAS address)

If you have made a note of the ID, just remove the hyphens and spaces. It should be 16 characters
Thanks Getho. I corrected the guide!
Good job!
 

mazdajai

Dabbler
Joined
Jul 15, 2011
Messages
30
@jbesclapez

Thanks for sharing! For # 3 - I don't see the attachment for the files in the USB stick?
 
Last edited:
Top