月亮雨小组 YLY Studio

LSI 9217 刷 9207 IT模式 HBA卡 命令

最近搞了个HP DL320 Gen8v2 的半长1U 服务器,自己玩玩VMWARE, 主板是集成的B120i控制器, 内置4个 2.5G sas 接口。

觉得控制器low ,还是要独立的控制器, 官方文档推荐的是HP 222 控制器 4i4e SAS2 接口. 闲鱼300 起 , 有点贵, 而且又不是IT模式。
之前给HP G7 N54L 买过一个  P410 阵列卡, 现在已经是烂大街的价格,先装了上面,系统可以识别,装个Win server 还可以,但不是HBA卡就不舒服。 以前的N54L为了DSM 群晖系统, 都买了个 富士通的D 2607,刷 9211 IT固件。  这个1u的机器,也少不了弄个HBA卡。

先是看了个IBM M5015 ,LSI 9260 芯片, SAS 2108。。。  
闲鱼无意之间看到 LSI  9217 , 内部是SAS2308 芯片,内置控制器速度比 SAS2008(9211)快。支持PCI-E 3.0.  弄了一个, 官方 LSI 固件9217  支持 Raid ,用MGM工具可以识别。
到手先挂asus 台式机上试了一下,可以用。 下面就介绍一下如何刷 LSI 9217 到 LSI 9208  crossflash IT mode fw.

My used HW: USB stick + Desktop PC (not the server board) with a motherboard Asus Z370-E (hosting i7-8700K + 32GB RAM but it doesn’t matter). The motherboard shall support UEFI version >=1.0 and be able to access USB from BIOS/EFI shell.

Step-by-step procedure:

  • Insert the controller card in a PCIe slot. (I’ve used the slot Nr. 3. In case of troubles recognizing the card in your desktop PC try different slots.)

  • Boot the PC and prepare the USB stick:

  • In the USB stick create and format FAT32 partition >= 100 MB. (I’ve created 500 MB FAT32 partition. I wouldn't recommend large partitions, who knows if the EFI shell will read every big partition.)

  • Create the sub-folders for EFI boot. /efi/boot.

  • Download from Broadcom following packages: Installer_P20_for_UEFI and 9217_8i_Package_P20_IR_IT_FW_BIOS_for_MSDOS_Windows and extract them on your PC’s HDD.

  • Copy from the downloaded packages three files to the USB stick root folder:

  • from the first package the file sas2flash.efi (it is in sub-folder "Installer_P20_for_UEFI/sas2flash_efi_ebc_rel/");

  • from the second package: 9207-8.bin (it is in sub-folder \9217_8i_Package_P20_IR_IT_FW_BIOS_for_MSDOS_Windows\Firmware\HBA_9207_8i_IT\) and mptsas2.rom (it is in sub-folder \9217_8i_Package_P20_IR_IT_FW_BIOS_for_MSDOS_Windows\sasbios_rel\).

  • Download from Github Tianocore the precompiled UEFI version 1 Shell: Shell_Full.efi. (Only v1 is applicable, later versions are not compatible with the flash tool and end up with the message:  “InitShellApp: Application not started from Shell”.)

  • Rename the Shell_Full.efi in ShellX64.efi and copy this file to following USB stick destinations:  /efi/boot/.

  • The creative part is completed, it's time for action. Restart the PC and enter the BIOS. If you use ASUS UEFI BIOS Utility in advanced mode, mouse click on the Exit (not by using keyboard “Esc”), in the next dialog select “Launch EFI Shell from filesystem device”. Other BIOS should behave similarly.

  • Next you should see starting shell execution, ending with a prompt: "Shell>" (not the "2.0 Shell>"!).

  • Type the command:  map –b (+Enter) for listing of available disks. Locate which one is your USB stick. In my case it is the fs6:
    "fs6  :Removable HardDisk - … USB(…)"

  • You can break further execution of the map command by  q.

  • Switch to the located USB stick by command  fsN: (+Enter) (N=6 – in my example = "fs6:", set N to your USB stick ID).

  • Dir shows the file list:
    9207-8.BIN
    MPTSAS2.ROM
    sas2flash.efi
    <DIR> EFI

  • The action can start. During it the power shall not be brocken!   check card status:  sas2flash.efi -list.

  • Erase the controller flash memory:  sas2flash.efi -o -e 7.

  • Write the new firmware to the flash:  sas2flash.efi -o -f 9207-8.bin -b mptsas2.rom.

  • After a while you'll see the success message. You can restart the PC and check if the controller BIOS reports the new “IT”-firmware.

  • The card is ready to use.


作者:mysy 分类:计算机硬件 浏览:129 评论:0