Flash Dell PERC H310 to LSI 9211-8i IT Mode Using Legacy (DOS) and UEFI Method (HBA Firmware + BIOS)

Update 18-Aug-2019: added mouse initialization error, page parameter, Exit Code error and P20 BIOS and FW zip file. A duplicate file was also removed from the Support Files zip file.

This procedure is a combination of using the Legacy (DOS) + UEFI methods to flash a PERC H310 to an LSI 9211-8i in IT mode.  This method will flash both the firmware and also the BIOS of the card, which many guides omit.

  1. Create a bootable USB flash drive using Rufus.
    1. Choose partition scheme: MBR for BIOS or UEFI
    2. Bootable disk using FreeDOS
  2. Download the latest zip file from LSI/Broadcom that has the BIOS and firmware for the 9211 HBA card.  The two files needed for this guide can be downloaded from here (these are version P20 which are the latest available at this time).  There are two files you need:
    1. Firmware (IT mode) file for 8i model, it will have file extension *.bin (typical file name 2118it.bin)
    2. BIOS file, it will have file extension *.rom (typical file name mptsas2.rom)
  3. Place these two files on the root of the bootable flash drive
  4. Also download and extract some support files to the root of this drive. These files are needed to prepare the card for updating. Download here.
  5. Install the HBA card in the system and boot from the flash drive using Legacy/DOS mode (not UEFI mode). This will get you into FreeDOS.
  6. Determine what the current SAS Address is of the card using the command below. Make a record of it because we will need to re-program this same address later.
    megacli.exe -AdpAllInfo -aAll -page 20

    Notes:

    1. the output of this command is several pages long. Use the parameter -page x where x is the number of lines to print per page
    2. a typical error after running this command is:
      DOS/32A warning (9004): mouse initialization failed
      however it can be safely ignored
    3. If after running the below command you get Exit Code: 0x01 along with no device information, then no H310 adapter was found.
  7. Now wipe the firmware of the card using this command:
    megarec.exe -writesbr 0 sbrempty.bin
  8. Followed by
    megarec.exe -cleanflash 0
  9. Once complete, reboot the system. However this time boot the system to your UEFI Shell (not the flash drive).
  10. At the UEFI command prompt, find out what device number has been assigned to your flash drive using this command
    map -b
  11. Then type the device number followed by a colon symbol to get to the root of your flash drive in UEFI mode. For example, if you determine your flash drive is fs0 then you type:
    fs0:
  12. This gets you to the root of the drive. Now it is time to flash a Dell firmware using this command. Say Yes if it asks if you want to flash.
    sas2flash.efi -o -f 6GBPSAS.FW
  13. Once complete it is time to program the SAS address using the following command. Replace the X with the values you recorded earlier.
    sas2flash_p19.efi -o -sasadd XXXXXXXXXXXXXXXX
  14. After it completes, reboot the system again to UEFI shell and get to the flash drive root as described previously.
  15. Now flash the firmware of the card to the latest 9211-8i firmware:
    sas2flash.efi -o -f 2118it.bin
  16. Once complete, update the BIOS of the card:
    sas2flash.efi -o -b mptsas2.rom
  17. Once complete, reboot and you should now have a card that has the latest firmware (IT mode) and also the latest BIOS.
This entry was posted in Uncategorized. Bookmark the permalink.