Once you’ve created a bootable USB drive (FreeDOS) you must copy the contents of LSI-9211-8i.zip onto the USB drive. For newer UEFI motherboards you´ll need the bootx64.efi file.

LSI-9211-8i.zip

And now lets begin the flash process:

H310 DOS:
megacli.exe -AdpAllInfo -aAll -page 20 Write down SAS address.
megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
megarec.exe -cleanflash 0 Reboot.
sas2flsh.exe -o -f 6GBPSAS.fw Reboot.
sas2flsh.exe -o -f 2118it.bin
or sas2flsh.exe -0 -f 2118p7.bin, reboot, then s2fp19.exe -o -f 2118it.bin
s2fp19.exe -o -sasadd 500xxxxxxxxxxxxx

H200 DOS:
sas2flsh.exe -c 0 -list Write down SAS address.
megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
megarec.exe -cleanflash 0 Reboot.
sas2flsh.exe -o -f 6GBPSAS.fw Reboot.
sas2flsh.exe -o -f 2118it.bin
or sas2flsh.exe -o -f 2118p7.bin, reboot, then s2fp19.exe -o -f 2118it.bin
s2fp19.exe -o -sasadd 500xxxxxxxxxxxxx

H310 UEFI:
Run the following commands in the DOS prompt:
megacli.exe -AdpAllInfo -aAll -page 20 Write down SAS address.
megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
megarec.exe -cleanflash 0
Reboot into UEFI shell and run the following commands:
sas2flash.efi -o -f 6GBPSAS.FW Reboot and return to UEFI shell.
sas2flash.efi -o -f 2118it.bin
or sas2flash.efi -o -f 2118p7.bin, reboot, then
sas2flash_p19.efi -o -f 2118it.bin
sas2flash_p19.efi -o -sasadd 500xxxxxxxxxxxxx

H200 UEFI:
Boot into UEFI shell:
sas2flash.efi -c 0 -list Write down SAS address.
Reboot into DOS prompt:
megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
megarec.exe -cleanflash 0
Reboot into UEFI shell:
sas2flash.efi -o -f 6GBPSAS.FW Reboot and return to UEFI shell.
sas2flash.efi -o -f 2118it.bin
or sas2flash.efi -o -f 2118p7.bin, reboot, then
sas2flash_p19.efi -o -f 2118it.bin
sas2flash_p19.efi -o -sasadd 500xxxxxxxxxxxxx