If you are using LSI SAS 2008 based HBA/RAID cards such as the LSI 9211-8i FreeNAS recommend run in IT (Initiator Target) mode. Don’t use cards in IR (Integrated RAID) mode.
For update firmware and BIOS check current firmware version with command:
(in my case card already in IT mode)
Firmware should be at-least 20.00.07.00 and BIOS should be 7.39.02.00
Download Firmware and BIOS
You need sas2flash.efi from Installer_P20_for_UEFI.zip and 2108it.bin aswell as mpt2sas.rom from 9210-8i_Package_P20_IR_IT_FW_BIOS_for_MSDOS_Windows.zip
Create bootable USB stick. Use Rufus software.
Put those 3 files on a fat32 USB stick load into UEFI Shell get to the folder with the 3 files and run:
sas2flash.efi -f 2108it.bin -b mptsas2.rom
And confirm that firmware is 20.00.07.00 and BIOS is 7.39.02.00
In case if you have more than 1 RAID card for example 2, you can update BIOS and firmware simultaneously:
sas2flash.efi -c 0 -f 2108it.bin -b mptsas2.rom sas2flash.efi -c 1 -f 2108it.bin -b mptsas2.rom
-c specifies which card you want to target