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

Update 30-Oct-2019: clarified that BIOS flashing is optional, added an error that can be encountered on Step 12 and a warning that can be encountered on Step 15. The Support Files zip file was also updated to include the UEFI Shell Binary file (bootx64.efi).

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

    Note:

    1. If you receive the following error, simply try the flash again
      Resetting Adapter … Adapter Reset Failed. Due to the error remaining commands will not be executed. Unable to Process Commands.
  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

    Note:

    1. If you receive the message below then choose yes.
      NVDATA Product ID and Vendor ID do not match. Would you like to flash anyway [y/n]?
  16. Once complete, you have the option to flash a new BIOS for the card. This is completely optional for a card running in IT mode since there are no disk management settings, however it may help with troubleshooting since it gives you diagnostic information about what devices are connected to the card during the boot process. If you skip this step then the card will not have a BIOS and your boot times should be reduced.
    sas2flash.efi -o -b mptsas2.rom
  17. Once complete, reboot and you should now have a card running in IT mode.
This entry was posted in Uncategorized. Bookmark the permalink.