Flash IBM M5110 with SAS2308 Firmware as an LSI 9207-8i IT-Mode HBA

How to flash an IBM M5110 with SAS2308 firmware and convert it into an LSI 9207-8i IT-mode passthrough HBA.

Preparation Before Flashing

Remove the Black Round Buzzer

After the new firmware is flashed, the buzzer may keep beeping, so remove it in advance.
Buzzer location

Mask Pins 5 and 6 on the Card Edge Connector

Use clear tape or heat-resistant tape to mask pins 5 and 6 on the card edge connector. Server motherboards may not require this, but masking them is recommended for better compatibility with consumer motherboards.
Card edge connector pins

Record the SAS Address

Take a photo of the label on the back of the card, such as 500605BXXX. This is the SAS address and will be needed later. SAS address location

Create the DOS Flash Drive

  1. Download Rufus from the official site https://rufus.ie/zh/ on a Windows PC.

  2. Insert a USB drive and open Rufus.

  3. In the boot selection drop-down menu, choose FreeDOS. DOS flash drive

  4. Confirm that the displayed device is your USB drive, choose FreeDOS, and click Start. DOS flash drive

  5. Follow the on-screen prompts until the process is complete.

  6. Download the files needed for flashing: LSI.zip

  7. After extracting the archive, copy all files from the LSI directory directly to the root of the USB drive. The flash drive is now ready.

Flashing Steps

Preparation

  1. Remove all PCIe devices first. If the system has integrated graphics, also remove the discrete GPU. If it has no integrated graphics, leave the graphics card installed. Except for the DOS boot USB drive, it is best to disconnect all hard drives. Insert the RAID card into the first PCIe slot, the one closest to the CPU.

  2. Enter BIOS and confirm that CSM legacy boot is enabled. Disable fast boot so both legacy BIOS and UEFI boot methods can be used.

Initialize the IBM M5110 RAID Card

Initialization must be done in non-UEFI mode.

  1. Boot from the USB drive, making sure to choose legacy mode. Boot option
  2. Check whether the adapter can be detected:
1
megarec -adplist 

or

1
megarec3 -adplist

If SAS2208 is detected successfully, continue.

  1. Clear the SBR:
1
megarec3 -writesbr 0 byte.sbr 

This writes a blank 512-byte SBR to the card. After a successful write, you should see success.

  1. Clear the RAID card flash:
1
megarec3 -cleanflash 0 

This clears the card flash/NVSRAM. The M5110 has a large 32 MB flash, so wait patiently until the operation completes.

After completion, do not reboot by pressing the power or reset button. Use CTRL + ALT + DELETE to reboot into UEFI mode for the following steps.

Flash Firmware, BIOS, and UEFI

  1. Reboot or switch into UEFI mode. Use CTRL + ALT + DELETE to reboot into UEFI mode. Boot option
    Make sure to select UEFI mode.

  2. Change to the correct filesystem:

1
map

Use the map command to list disks.

1
fs0:

Enter the disk that contains the flashing files. In this example it is fs0, but it may be different on your system.

  1. Flash the firmware and BIOS files:
1
sas2flash -o -f 9207it.bin -b bios.rom 

If it succeeds, success will be shown. If an error occurs, try:

1
sas2flash -o -f 9207it-2.bin -b bios.rom 

This uses a different firmware file. Some M5110 versions appear to require a different firmware image.

  1. Flash the 2308 UEFI BIOS:
1
sas2flash -o -b uefi.rom 

If it succeeds, success will be shown.

  1. Check the current SAS controller status: Boot option
    If the output matches the expected result, the firmware and BIOS flashing succeeded.
    A freshly flashed card may show the SAS address as 0000000-0-0000-0000.

  2. Set the SAS address again:

1
sas2flash -o -sasadd 5006xxxxxxxxxxxx 

Set the SAS address to match the sticker on the card. Do not type the hyphens; enter the digits continuously. After setting it, check the result with:

1
sas2flash -list

Firmware Avago 9207-8i 20.00.07.00 - P20
User Manual 2.1
Quick Installation Guide
HBA FAQs
Flash LSI9240-8i RAID card to LSI9211-8i IT mode

记录并分享
Built with Hugo
Theme Stack designed by Jimmy