当前位置: 首页 > news >正文

转入墙内:SAS HBA crossflashing or flashing to IT mode, Dell Perc H200 and H310

Default firmware for this guide is:
2118it.bin
Version 20.00.07.00
Release date: 11-FEB-16

 

所有资源已转到百度盘:

链接: https://pan.baidu.com/s/1hsG9rXq 密码: vp4g

 

WARNING: If you have an Integrated, Mini or Mini Mono Perc H310 do NOT try to crossflash with these steps.

So this guide will be the update to my first guide… without double checking everything I’m pretty sure it’s almost identical except for the link to the ZIP file. So I’m not sure why I retyped all of this instead of just updating the ZIP file in the old guide. Anyway…. the difference between the old and new ZIP file is the sas2flsh and sas2flash versions. The default sas2flsh.exe and sas2flash.efi in this new ZIP file are p5 which allows you to pretty much overwrite/downgrade any firmware. This will help mainly those who were getting stuck on the H200 cards. I’ve also included driver, firmware and sas2flash folders that contain a wide array of sometimes hard to find versions.

If you’re just looking for a list of commands that need to be executed then check the very bottom of this page.

Things you’ll need:

  1. Bootable USB (link). You can follow this post on using Rufus to create a quick FreeDOS bootable USB Drive.
  2. For those with newer UEFI motherboards you’ll need bootx64.efi (link) (alternate link).
    • You’ll want the version: Precompiled x86_64 UEFI Shell v1 Binary.
    • This should already be included in the LSI-9211i8i.zip I’ve provided in the next link.
  3. LSI-9211-8i.zip (link). The main firmware file in this ZIP is P20. This has been updated to support the latest version of FreeNAS. The ZIP also contains versions of the tools that will make this process a bit easier. The default sas2flash tools are P05 which allow downgrading and flashing of non-compatible firmware in many cases.
    • Thanks to mobilenvidia and Bryan Vyhmeister (brycv.com) for providing/finding a lot of the files and information used here.
    • Both of these guys have provided great guides on flashing IBM M1015 cards and other great information.
  4. If you have a Dell Perc H310 and your computer won’t boot then you’ll need to cover PCIe pins B5 and B6. You can cover them with a thin piece of electrical tape. Thanks to Andy_Steb from AVS for sharing this tip he found.
    • Make sure you don’t cover the A pins on the other side.300_8881B Pins that need to be covered300_8883A Pins that should be left exposed

       

  5. Your card may have a sticker on it marked SAS Address. If it does then write this down so it’s easily accessible.

Moving on to the steps:

  1. First thing we need to do is prepare the USB drive.
    • Once you’ve created the bootable USB drive in step 1 you want to copy the contents of LSI-9211-8i.zip onto the USB drive.
    • The root of the USB drive should look like this:
      vgaagvl
  2. Next we’ll want to reboot and boot into FreeDOS/MS-DOS.
    • With the bootable USB drive inserted (may work best in a USB2.0 port on the back of the computer) a reboot may boot directly into the USB drive. If not you will need to select the drive from a boot menu. This will be different for every motherboard but should be similar.
    • In the below screen shot you can see an ASUS UEFI BIOS Utility screen. At this screen you can hit F8 and select a boot device. The USB drive shows up indented and labeled Patriot Memory. Yours will most likely be labeled by whatever type of drive you have.
      130821130901
    • In the below screen shot you can see a GIGABYTE UEFI BIOS screen. This is presented on the Save & Exit tab. The drive also shows up indented here and labeled Patriot Memory PMAP.
      130821183951
    • Clicking or Double-clicking on Patriot Memory should boot into the DOS environment as shown below.
      ScreenShot034
  3. Next we can begin flashing the card.
    • If your card doesn’t have a sticker with the SAS Address you should be able to follow these steps to obtain the address.
    • If you have a Dell Perc H310 then follow these steps.
      • megacli.exe -AdpAllInfo -aAll -page 20
      • Hit enter once or twice and you should scroll through screens that look like this:
        ScreenShot035
        ScreenShot036
      • Write down the SAS Address.
    • If you have a Dell Perc H200 then follow the below steps. (If you have a UEFI motherboard then see the steps below for UEFI motherboards)
      • To save the SAS Address we’ll need to use sas2flash.
      • sas2flsh.exe -listall
      • You should get a listing of all the cards installed.
        ScreenShot037
      • Use the number in the first column to get the SAS Address for the card.
      • sas2flsh.exe -c 0 -list
      • This should dump all the information for the card including the SAS Address.
        ScreenShot038
      • Write down the SAS Address and continue to the next steps.
    • Flash the card with the Dell 6gbps HBA Firmware.
    • The steps for flashing the H310 and H200 will be the same.
      • megarec.exe -writesbr 0 sbrempty.bin
        • If this command fails it should be safe to proceed to step 2.
      • megarec.exe -cleanflash 0
      • Reboot the computer and boot back into the USB drive.
      • sas2flsh.exe -o -f 6GBPSAS.fw If flashing a M1015 you can use the 2118p7.bin instead of the 6GBPSAS.FW
      • s2fp19.exe -o -sasadd 500xxxxxxxxxxxxx (replace this address with the one you wrote down in the first steps).
      • Reboot the computer and boot back into the USB drive.
    • Flash the card with the LSI 9211-8i Firmware.
    • The same steps will flash the card to a LSI 9211-8i.
      • sas2flsh.exe -o -f 2118it.bin
      • It should ask you if you want to flash anyway. Type Y to proceed.
      • Reboot the computer back into your OS. You may need to remove your USB drive if it was automatically booting.
        • Alternatively you can use sas2flsh.exe to flash the 2118p7.bin and then use s2fp19.exe to flash the 2118it.bin. Depending on the revision of the card this method can provide cleaner output for the card details.
  4. If you’re running linux or BSD then you should be finished. If you’re running Windows 7/2008 R2 and possibly Windows 8.1 then you’ll want to update your drivers.
    • Click this (link) to take you back to my previous guide on how to update the drivers.

UEFI Motherboards

  1. Now if you have a UEFI motherboard and received an error like this: "ERROR: Failed to initialize PAL. Exiting program."
    when trying to run sas2flsh then you’re going to have to run the flashing steps in an efi shell. All of the other instructions should work fine. When you reboot after running megarec -cleanflash 0 is when you’ll need to enter the efi shell.
  2. As noted above for the H200 you will need to run sas2flash from the UEFI shell in order to save the SAS Address.
  3. The EFI boot shell should already be on the USB drive.
    ScreenShot039

     

    • After the megarec -cleanflash 0 completes, instead of rebooting into the USB drive we’ll want to reboot into the UEFI shell.
  4. Using the same two UEFI BIOS configuration screens I’ll show you how to enter the UEFI shell.
    • With the GIGABYTE board we will just select the UEFI USB option highlighted below.
      130821184001
    • With the ASUS boards you will most likely need to disable secure boot first. This could pertain to other boards as well.
    • For the board I was using this was under the Boot tab and named Secure Boot in the Advanced section of the utility.
    • Open that option and select Other OS.
      130821130652
      130821130709
    • Save those settings and reboot back into the UEFI BIOS utility.
    • I had issues launching the UEFI shell from the below menu in the exit screen.
      130821130738
    • You should be able to select Launch EFI Shell from filesystem device but that did not work for me.
    • I was however able to select ASUS EZ Mode and then use F8 to select the boot device.
    • Selecting UEFI: Patriot Memory this time.
    • This should launch a shell that looks like this:
      ScreenShot041
    • From here you’ll need to select your USB drive.
    • Type the following command to display the devices with a -b to pause on each full screen.
    • map -b
      ScreenShot042
    • As long as you have 1 USB drive inserted it will most likely be the first device that shows up labeled fs0.
      ScreenShot043
    • To select that device type:fs0:
      ScreenShot044
    • Your Shell> prompt should change to a fs0:\> prompt.
      ScreenShot045
    • Now you can run your sas2flash command. Note that the efi executable is named sas2flash.efi instead of sas2flsh.exe.
    • To save the SAS Address for the Perc H200 run the following commands:
      • sas2flash.efi -listall
    • You should get a listing of all the cards installed.
      ScreenShot055
    • Use the number from the first column to get the SAS Address for the card.
    • sas2flash.efi -c 0 -list
    • This should dump all the information for the card including the SAS Address.
      ScreenShot056
    • Write down the SAS Address and continue to the next steps.
    • sas2flash.efi -o -f 6GBPSAS.FW If flashing a M1015 you can use the 2118p7.bin instead of the 6GBPSAS.FW
    • sas2flash_p19.efi -o -sasadd 500xxxxxxxxxxxxx (replace this address with the one you wrote down)
    • Reboot the computer and boot back into the UEFI shell.
    • The same steps will flash the card to a LSI 9211-8i.
    • sas2flash.efi -o -f 2118it.bin
    • It should ask if you want to flash anyway. Type Y to proceed.
    • Reboot the computer back into your OS. You may need to remove the USB drive.
      • Alternatively you can use sas2flsh.exe to flash the 2118p7.bin and then use s2fp19.exe to flash the 2118it.bin. Depending on the revision of the card this method can provide cleaner output for the card details.
    • If you’re running linux or BSD then you should be finished. If you’re running Windows 7/2008 R2 and possibly Windows 8.1 then you’ll want to update your drivers.
      • Click this (link) to take you back to my previous guide on how to update the drivers.

Here is a quick summary of steps to reference:

H310 DOS:
  • megacli.exe -AdpAllInfo -aAll -page 20 Write down SAS address.
  • megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
  • megarec.exe -cleanflash 0 Reboot.
  • sas2flsh.exe -o -f 6GBPSAS.fw Reboot.
  • sas2flsh.exe -o -f 2118it.bin
    • or sas2flsh.exe -0 -f 2118p7.bin, reboot, then s2fp19.exe -o -f 2118it.bin
  • s2fp19.exe -o -sasadd 500xxxxxxxxxxxxx
H200 DOS:
  • sas2flsh.exe -c 0 -list Write down SAS address.
  • megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
  • megarec.exe -cleanflash 0 Reboot.
  • sas2flsh.exe -o -f 6GBPSAS.fw Reboot.
  • sas2flsh.exe -o -f 2118it.bin
    • or sas2flsh.exe -o -f 2118p7.bin, reboot, then s2fp19.exe -o -f 2118it.bin
  • s2fp19.exe -o -sasadd 500xxxxxxxxxxxxx
H310 UEFI:
  • Run the following commands in the DOS prompt:
    • megacli.exe -AdpAllInfo -aAll -page 20 Write down SAS address.
    • megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
    • megarec.exe -cleanflash 0
  • Reboot into UEFI shell and run the following commands:
    • sas2flash.efi -o -f 6GBPSAS.FW Reboot and return to UEFI shell.
    • sas2flash.efi -o -f 2118it.bin
      • or sas2flash.efi -o -f 2118p7.bin, reboot, then
        sas2flash_p19.efi -o -f 2118it.bin
    • sas2flash_p19.efi -o -sasadd 500xxxxxxxxxxxxx
H200 UEFI:
  • Boot into UEFI shell:
    • sas2flash.efi -c 0 -list Write down SAS address.
  • Reboot into DOS prompt:
    • megarec.exe -writesbr 0 sbrempty.bin If this fails move on to next step.
    • megarec.exe -cleanflash 0
  • Reboot into UEFI shell:
    • sas2flash.efi -o -f 6GBPSAS.FW Reboot and return to UEFI shell.
    • sas2flash.efi -o -f 2118it.bin
      • or sas2flash.efi -o -f 2118p7.bin, reboot, then
        sas2flash_p19.efi -o -f 2118it.bin
    • sas2flash_p19.efi -o -sasadd 500xxxxxxxxxxxxx

 

Please leave a comment if these instructions were helpful or if you found them to be too confusing. Thanks!

相关文章:

  • 循环引用问题
  • ZooKeeper 在硬盘满后,无法再次启动,抛出Last transaction was partial 解决方法
  • 高性能业务架构解决方案(Keepalive+MySQL)
  • 按钮控件数组实现计算器界面
  • runtime
  • dedecms在后台替换文章标题、内容、摘要、关键字
  • 用户
  • 最小联结词组
  • C# 添加、获取及删除PDF附件
  • HashMap,Hashtable,ConcurrentHashMap 和 synchronized Map 的原理和区别
  • Flask 5 模板1
  • hibernate主键为字符串的注解
  • spring拦截器
  • C#实现正则表达式
  • mitmproxy
  • [分享]iOS开发-关于在xcode中引用文件夹右边出现问号的解决办法
  • [微信小程序] 使用ES6特性Class后出现编译异常
  • Codepen 每日精选(2018-3-25)
  • Docker 笔记(1):介绍、镜像、容器及其基本操作
  • Java 多线程编程之:notify 和 wait 用法
  • Java 实战开发之spring、logback配置及chrome开发神器(六)
  • Just for fun——迅速写完快速排序
  • k8s 面向应用开发者的基础命令
  • PHP 小技巧
  • React-flux杂记
  • vue+element后台管理系统,从后端获取路由表,并正常渲染
  • Windows Containers 大冒险: 容器网络
  • 批量截取pdf文件
  • 前端技术周刊 2018-12-10:前端自动化测试
  • 我的业余项目总结
  • 无服务器化是企业 IT 架构的未来吗?
  • 详解NodeJs流之一
  • 验证码识别技术——15分钟带你突破各种复杂不定长验证码
  • 用Python写一份独特的元宵节祝福
  • 【运维趟坑回忆录 开篇】初入初创, 一脸懵
  • ​批处理文件中的errorlevel用法
  • #微信小程序:微信小程序常见的配置传旨
  • $emit传递多个参数_PPC和MIPS指令集下二进制代码中函数参数个数的识别方法
  • (BFS)hdoj2377-Bus Pass
  • (html转换)StringEscapeUtils类的转义与反转义方法
  • (附源码)springboot社区居家养老互助服务管理平台 毕业设计 062027
  • (免费领源码)python#django#mysql校园校园宿舍管理系统84831-计算机毕业设计项目选题推荐
  • (牛客腾讯思维编程题)编码编码分组打印下标(java 版本+ C版本)
  • (三分钟了解debug)SLAM研究方向-Debug总结
  • (原創) 系統分析和系統設計有什麼差別? (OO)
  • (转)jdk与jre的区别
  • .md即markdown文件的基本常用编写语法
  • .net 后台导出excel ,word
  • .NET 中的轻量级线程安全
  • .net打印*三角形
  • .NET上SQLite的连接
  • /deep/和 >>>以及 ::v-deep 三者的区别
  • [ C++ ] STL---string类的模拟实现
  • [23] GaussianAvatars: Photorealistic Head Avatars with Rigged 3D Gaussians
  • [Android]如何调试Native memory crash issue