Site Tools


Sidebar

Work

Projects Travel Singapore Socials (External)

projects:homelab:lsi_hba_flashing

LSI HBA Flashing

Firmware Types

  • HBA Firmware - what the HBA processor runs
    • IT: Target mode - devices are in passthrough, with redundancy/volume management and computation in software e.g. ZFS
    • IR: RAID mode - devices redundancy/volume management and computation in HBA
  • Option ROM - Presented to the host BIOS to make the card bootable (and on IR firmware, volume management in pre-boot environment)
    • mpt2sas.rom/mpt3sas.rom - legacy BIOS option ROM
    • mpt2x64.rom/mpt3x64.rom - UEFI option ROM
    • It's optional to flash these after erasing the card (with -o -e 6), I usually don't install the option ROM as flashing these will delay your boot by multiple seconds due to the option ROM prompt

Finding & Downloading Firmware

    1. Product Group: Storage Adapters, Controllers, and ICs
    2. Include Legacy Products: Check this box
    3. Family: All Storage Adapters, Controllers, and ICs
    4. Product Name: [name of your product, e.g. 9311-8i]
  1. Click Search

Updating

Notes: For LSI2008 (92xx) cards, use sas2flash; for LSI3008 (93xx) cards, use sas3flash; On MS-DOS/FreeDOS, use sas2flsh/sas3flsh instead of sas2flash/sas3flash

  • IR to IR, IT to IT
    1. sas2flash -o -f [firmware.bin] [-b mpt2sas.rom] [-b mpt2x64.rom]
  • IR to IT, IT to IR
    1. sas2flash -o -e 6
    2. sas2flash -o -f [firmware.bin] [-b mpt2sas.rom] [-b mpt2x64.rom]

Recovery

Important note: Newer motherboards (within the past 2 years?) will throw this error, “Failed to initialize PAL”. You may need to use an older (pre-10th gen Intel) motherboard for this. There is no EFI version of the LSI PreBoot tools.

  1. Prepare a Ventoy USB flash drive
  2. Download LSI_PreBoot_CD.iso from LSI Pre-Boot USB tool Download (FTP client required, e.g. Firefox)
  3. Place the ISO file into Ventoy USB flash drive
  4. Boot Ventoy in legacy mode (UEFI will not work)
  5. Choose the appropriate menu item for your card, this will bring your card back into a working state on relatively old firmware
projects/homelab/lsi_hba_flashing.txt · Last modified: 2024/09/29 05:48 by Andrew Yong