Skip to content
 
 

Latest commit

 

History

69 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Flash LSI SAS 3008 TO IT MODE

Guide for converting LSI SAS 3008 Controller from IR mode to IT mode, in order to run ZFS on a linux environment.

Adapted from original Github repository: https://github.com/EverLand1/9300-8i_IT-Mode , and combined with this video: https://www.youtube.com/watch?v=A54VuVNVX5M

1. Getting the Files

Download all five of these files from this repo (specific to LSI3008) and put them on a USB drive. They are necessary for this guide.

  • bootx64.efi  :  UEFI Shell Boot File
  • mptsas3.rom  :  Legacy BIOS OROM (LSI3008 version)
  • mpt3x64.rom  :  UEFI BIOS OROM (LSI3008 version)
  • SAS9300_8i_IT.bin  :  IT Firmware Version (LSI3008 version)
  • sas3flash.efi  :  Flashing tool

2. Preparing the USB Drive

  1. To access the UEFI shell later on with the required files, you must format your USB flash drive into a bootable Free-DOS drive using Rufus. Launch Rufus, select the correct drive under "Device", select "Free-DOS" under "Boot Selection", and click "Start". This should only take a couple seconds.

   WARNING: ALL FILES ON THE SELECTED DRIVE WILL BE DELETED.

   Rufus Free-DOS

  1. After the drive has completed formatting to Free-DOS, create a folder on the root of the USB named "EFI".
  2. Inside that folder, create another folder named "Boot".
  3. Move the bootx64.efi file into the "Boot" folder. (Resulting filepath is EFI/Boot/bootx64.efi)
  4. Now add all required files from this repo to the root of the USB.

   Resulting filesystem after formatting drive in Rufus and adding the required files.

   USB Files

3. Booting the Server into UEFI Shell

  1. Before powering on the machine, unplug any external drives that are on the system. This is not necessary, but it may make the process easier later.
  2. Next, plug in the USB drive.
  3. Access the BIOS/UEFI menu to make sure you can boot to the UEFI shell from this USB drive. This can be done through several ways, depending on your system's manufacturer, as well as the operating system or lack there of. It can usually be triggered by spamming a function key during startup.

  - This article includes UEFI/BIOS keys for popular brands, as well as Windows and Linux specific ways to access the UEFI menu.

  1. Enable the system to boot to the drive in BIOS. Once again these settings vary depending on manufacturer.

  - "Secure Boot" to "Disabled"

  - "Boot Mode" from "Legacy" to "UEFI" or "Auto"

Note: On my system, a Lenovo ThinkServer, this setting was found under "Boot Manager" then "Boot Mode". Again, manufacturer specific. THIS MAY NOT BE AVAILABLE OR NECESSARY ON ALL SYSTEMS.

  1. Save these changes and restart the system.
  2. Boot to the USB drive. If possible, you can access the boot menu during startup similarly to the BIOS menu. However, you can also go back to the BIOS menu and change the boot sequence to make the UEFI USB Drive the first device the system boots to upon startup. You will now be able to boot to the USB.

4. Resetting the Adapter

  1. You should find yourself at a Shell> command line prompt. If you are experienced with using the terminal or are adventerous, here are some interesting commands you can play around with while in this shell.

  2. Now, to find all available drives on the system, type map. This may already show up when you are first brought into the shell.

  3. Your USB drive should be named something along the lines of "Removable Hard Disk". If not, choose the first drive that shows up first. Mount to the alias of that drive. For example, if the drive is named fs0, type fs0: (remember the colon). Your terminal prompt should now read fs0:\> as you have successfully mounted the drive.

  4. Type dir to see the filesystem on that drive (Equivalent of using ls in Linux.). If you do not see the files you put on the USB drive, retry the previous commands beginning with map until you find the correct drive.

  5. Type: sas3flash.efi -list    This shows the SAS Address as mentioned earlier. ENSURE TO TAKE A PICTURE OF THIS SCREEN AND RECORD THE SAS Address if you haven't already.

  6. Type this command: sas3flash.efi -c 0 -o -e 6. After it completes, the firmware currently on it will be cleared

You may get an error stating "Controller is not operational. A firmware download is required." Type quit to exit that prompt and continue with this guide.

   This erases the running flash/bios on the RAID controller.

  1. Next, type: ```sas3flash.efi -c 0 -o -f SAS9300_8i_IT.bin -b mptsas3.rom -b mpt3x64.rom
  • This flashes the new UEFI and Legacy BIOS firmware with ROM
  1. Lastly, type this command:sas3flash.efi -list
  • Verify that all information including the SAS Address are correct.

5. Complete!

  • You are now able to reboot the system and have completed this guide.

   - Command in UEFI shell: reset

Please leave any feedback or questions!

Resources

About

A guide on how to flash IT mode firmware to your LSI SAS3008 RAID Controller, making it an HBA, or Host Bus Adapter.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors