{"id":392,"date":"2014-07-09T15:37:17","date_gmt":"2014-07-09T23:37:17","guid":{"rendered":"https:\/\/digitalcardboard.com\/blog\/?p=392"},"modified":"2014-08-08T08:07:53","modified_gmt":"2014-08-08T16:07:53","slug":"flashing-it-firmware-to-the-lsi-sas-9211-8i-hba-2014-efi-recipe","status":"publish","type":"post","link":"https:\/\/digitalcardboard.com\/blog\/2014\/07\/09\/flashing-it-firmware-to-the-lsi-sas-9211-8i-hba-2014-efi-recipe\/","title":{"rendered":"Flashing IT Firmware to the LSI SAS 9211-8i HBA, 2014 EFI Recipe"},"content":{"rendered":"<p>Many, many thanks go out to <a href=\"http:\/\/brycv.com\/blog\/2012\/flashing-it-firmware-to-lsi-sas9211-8i\/\" target=\"_blank\">Bryan Vyhmeister<\/a> and <a href=\"http:\/\/linustechtips.com\/main\/topic\/104425-flashing-an-lsi-9211-8i-raid-card-to-it-mode-for-zfssoftware-raid-tutorial\/\" target=\"_blank\">alpenwasser<\/a> for their original writeups on this topic.<\/p>\n<p><em>Disclaimer: Not my fault if you screw this up.<\/em><\/p>\n<p>At this point, I think you\u2019re in the minority if you don\u2019t have the ability to boot an EFI shell, so this is a concise version of what I did to flash the LSI SAS 9211-8i HBA to Initiator Target (IT) mode for use with <a href=\"http:\/\/www.freenas.org\/\" target=\"_blank\">FreeNAS<\/a>.<\/p>\n<h2>Ingredients<\/h2>\n<ul>\n<li>LSI SAS 9211-8i 6Gb\/s SAS Host Bus Adapter<\/li>\n<li>1 USB Flash Drive (any size)<\/li>\n<li><a title=\"http:\/\/rufus.akeo.ie\/\" href=\"http:\/\/rufus.akeo.ie\/\" target=\"_blank\">Rufus<\/a> or some other way to format the USB drive<\/li>\n<li><a href=\"http:\/\/www.lsi.com\/products\/host-bus-adapters\/pages\/lsi-sas-9211-8i.aspx#tab\/tab4\" target=\"_blank\">Latest 9211-8i firmware and Installer for UEFI from LSI<\/a>\n<ul>\n<li>9211-8i_Package_P19_IR_IT_Firmware_BIOS_for_MSDOS_Windows<\/li>\n<li>Installer_P19_for_UEFI<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Directions<\/h2>\n<p>Format the USB Flash Drive. Use Rufus or the built-in Windows formatting tool if you want, but use MBR and FAT, and there\u2019s no need to make a bootable disk since we\u2019ll be using EFI.<\/p>\n<p><a href=\"https:\/\/digitalcardboard.com\/blog\/wp-content\/uploads\/2014\/07\/Rufus-1.4.9.506_2014-07-09_15-19-38.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 0px 18px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Rufus 1.4.9.506_2014-07-09_15-19-38\" src=\"https:\/\/digitalcardboard.com\/blog\/wp-content\/uploads\/2014\/07\/Rufus-1.4.9.506_2014-07-09_15-19-38_thumb.png\" alt=\"Rufus 1.4.9.506_2014-07-09_15-19-38\" width=\"199\" height=\"300\" border=\"0\" \/><\/a><\/p>\n<p>Open the two zip files you downloaded and find the following three files and copy them to your USB drive:<\/p>\n<ul>\n<li>sas2flash.efi<\/li>\n<li>2118it.bin (from the <em>Firmware\\HBA_9211_8i_IT<\/em> folder)<\/li>\n<li>mptsas2.rom<\/li>\n<\/ul>\n<p><a href=\"https:\/\/digitalcardboard.com\/blog\/wp-content\/uploads\/2014\/07\/5126-H__2014-07-09_15-21-48.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 0px 18px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"5126 (H_)_2014-07-09_15-21-48\" src=\"https:\/\/digitalcardboard.com\/blog\/wp-content\/uploads\/2014\/07\/5126-H__2014-07-09_15-21-48_thumb.png\" alt=\"5126 (H_)_2014-07-09_15-21-48\" width=\"569\" height=\"223\" border=\"0\" \/><\/a><\/p>\n<p>Disconnect all the other drives and remove any extra controllers from your computer, leaving just the LSI card and plug in your USB drive.<\/p>\n<p>Figure out how to boot an EFI shell and do it.<\/p>\n<p>If it lists your drives, that\u2019s great, otherwise type <code>map<\/code> to display what drives are detected, then type <code>mount &lt;yourdrive&gt;<\/code> to mount the drive. ie, I typed <code>mount fs0<\/code>.<\/p>\n<p>type <code>fs0:<\/code> to switch to your mounted drive and <code>ls<\/code> or <code>dir<\/code> to verify that all your necessary files are there.<\/p>\n<p>Now we flash!<\/p>\n<p><code>sas2flash.efi -listall<\/code> to show the controller and verify the current version.<\/p>\n<p><code>sas2flash.efi -o -e 6<\/code> to erase the BIOS, <strong>do not reboot after this command<\/strong>.<\/p>\n<p><code>sas2flash.efi -o -f 2118it.bin -b mptsas2.rom<\/code> to write the new firmware and BIOS.<\/p>\n<p>And finally, <code>sas2flash.efi \u2013listall<\/code> once more to verify the updated card. Reboot and press Ctrl-C to get into the LSI BIOS and make sure you\u2019re actually in Initiator Target (IT) mode.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many, many thanks go out to Bryan Vyhmeister and alpenwasser for their original writeups on this topic. Disclaimer: Not my fault if you screw this up. At this point, I think you\u2019re in the minority if you don\u2019t have the ability to boot an EFI shell, so this is a concise version of what I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[29],"tags":[117,114,122,121,123],"class_list":["post-392","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-firmware","tag-freenas","tag-hba","tag-lsa","tag-raid"],"_links":{"self":[{"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/posts\/392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/comments?post=392"}],"version-history":[{"count":5,"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/posts\/392\/revisions"}],"predecessor-version":[{"id":400,"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/posts\/392\/revisions\/400"}],"wp:attachment":[{"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/media?parent=392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/categories?post=392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalcardboard.com\/blog\/wp-json\/wp\/v2\/tags?post=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}