Flashing a LSI 3008 HBA to IT mode on a Supermicro X10SRH-CLN4F

  • Since the LSI 3008 chip is functionally identical to LSI 9300-8i we will use that firmware file to flash our chip from IR to IT mode so ZFS can see disks directly
  • Download latest lsi9300-8i firmware and grab the following files

sas3flsh.efi or sas3flash.efi
SAS9300_8i_IT.bin (you do NOT want to use the IR bin)
mptsas3.rom
mpt3x64.rom

  • Add these files to a image file, in my case I was using a Pi-KVM and a Mac so I followed these steps

Create a drive image on macOS

  1. Open Disk Utility.
  2. File > New Image > Blank Image.
  3. Save As: pikvm-image.dmg. Name: pikvm-image. Size: 100 MB (or whatever size you want). Format: MS-DOS (FAT). Partitions: Single partition - GUID Partition Map. Image Format: read/write disk image.
  4. Click Save.
  5. The drive will automatically be mounted.
  6. Copy files (such as BIOS updates) onto the new image (via terminal or drag and drop in Finder).
  7. Eject image.
  8. Rename file to .img
  9. Upload image to PiKVM interface under "Drive".
  10. Select Drive Mode: Flash and then Connect drive to Server.
  • Reboot and press F11 to invoke the boot manager and select built in uefi shell
  • Switch to your USB key - in my case it was fs1:
  • Make a record of existing sas address by running
    sas3flash.efi -list
  • Erase existing lsi controller firmware & bios by running
    sas3flash.efi -o -e 7
  • update new firmware & bios
    sas3flash.efi -o -f sas9300.15.bin -b mptsas3.rom
  • update uefi bsd version bios
    sas3flash.efi -b mpt3x64.rom
  • set sas address to the one you recorded above
    sas3flash.efi -o -sasadd 50030480XXXXXXX
  • reboot by typing exit and then pressing CTRL + ALT + DELETE

Sources
https://docs.pikvm.org/msd/#create-a-drive-image-on-macos

https://www.servethehome.com/flash-lsi-sas-3008-hba-e-g-ibm-m1215-mode/?unapproved=481146&moderation-hash=36db2097e387b3f7f9b8a1c004270771#comment-481146