{"id":1489,"date":"2014-09-08T17:30:32","date_gmt":"2014-09-08T16:30:32","guid":{"rendered":"http:\/\/www.bussink.ch\/?p=1489"},"modified":"2018-05-23T17:57:37","modified_gmt":"2018-05-23T15:57:37","slug":"upgrading-lsi-hba-9300-8i-via-uefi","status":"publish","type":"post","link":"https:\/\/www.bussink.ch\/?p=1489","title":{"rendered":"Upgrading LSI HBA 9300-8i via UEFI (Phase 06)"},"content":{"rendered":"<p>Here is a resume on how to upgrade a <strong>LSI SAS3 HBA 9300-8i<\/strong> card to the latest BIOS &amp; Firmware using the UEFI mode. This is applicable to my homelab Supermicro X9SRH-7TF or any other motherboard with UEFI Build-In EFI Shell. I&#8217;ve found that using the UEFI mode to be more practical than the old method of a MSDOS bootable USB key. And this is the way more and more Firmware and BIOS will be released.<\/p>\n<p>Tom and Duncan showed \u00a0how to <a title=\"Updating LSI Firmware from vSphere CLI\" href=\"http:\/\/www.yellow-bricks.com\/2014\/04\/08\/updating-lsi-firmware-esxi-commandline\/\" target=\"_blank\">upgrade an LSI 9207-4i4e from within VMware vSphere 5.5 CLI<\/a>. In this article I&#8217;m going to show you how to use the UEFI Shell for the upgrade.<\/p>\n<h3>Preparation.<\/h3>\n<p>First you need to head over to the LSI website for your HBA and download a few files to your computer. For the <a href=\"http:\/\/www.lsi.com\/products\/host-bus-adapters\/pages\/lsi-sas-9300-8i.aspx\" target=\"_blank\">LSI HBA 9300-8i<\/a> you can jump to the <a href=\"http:\/\/www.lsi.com\/products\/host-bus-adapters\/pages\/lsi-sas-9300-8i.aspx#tab\/tab4\" target=\"_blank\">Software Downloads<\/a> section. You want to download three files, extract them and put the files on a USB key.<\/p>\n<p>The <strong>Installer_P4_for_UEFI<\/strong> which contains the firmware updater <strong>sas3flash.efi <\/strong>that works with P06. You can retrieve it using\u00a0this <a title=\"SAS3_UEFI_BSD_P4.zip\" href=\"https:\/\/www.dropbox.com\/s\/b0bkyangfz2549u\/SAS3_UEFI_BSD_P4.zip?dl=0\" target=\"_blank\">dropbox link<\/a>\u00a0as it&#8217;s disappeared from the LSI download site.<\/p>\n<p>The <strong>SAS3_UEFI_BSD_P6<\/strong>\u00a0which contains the BIOS for the updater (<strong>X64SAS3.ROM<\/strong>)<\/p>\n<p>The <strong>9300_8i_Package_P6_IR_IT_firmware_BIOS_for_MSDOS_Windows<\/strong> which contains the <strong>SAS9300_8i_IT.bin<\/strong> firmware and the <strong>MPTSAS3.ROM<\/strong> bios.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/lsi9300_8i_download.jpg\"><img loading=\"lazy\" class=\"alignnone wp-image-1588 \" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/lsi9300_8i_download.jpg\" alt=\"lsi9300_8i_download\" width=\"594\" height=\"539\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/lsi9300_8i_download.jpg 895w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/lsi9300_8i_download-300x272.jpg 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/a><\/p>\n<p><span style=\"line-height: 1.5em;\">At this point you put all those extract files mentioned above on a USB key.<\/span><\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/09\/lsi9300_p06_usbdos.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1592\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/09\/lsi9300_p06_usbdos.jpg\" alt=\"lsi9300_p06_usbdos\" width=\"472\" height=\"145\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/09\/lsi9300_p06_usbdos.jpg 472w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/09\/lsi9300_p06_usbdos-300x92.jpg 300w\" sizes=\"(max-width: 472px) 100vw, 472px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You reboot your server, and modify the Boot parameters in the BIOS of the server to boot in <strong>UEFI Built-In EFI Shell<\/strong>.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/UEFI_Build-In_EFI_Shell.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1492\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/UEFI_Build-In_EFI_Shell.jpg\" alt=\"UEFI_Build-In_EFI_Shell\" width=\"498\" height=\"307\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/UEFI_Build-In_EFI_Shell.jpg 622w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/UEFI_Build-In_EFI_Shell-300x185.jpg 300w\" sizes=\"(max-width: 498px) 100vw, 498px\" \/><\/a><\/p>\n<p><strong>Upgrading BIOS &amp; Firmware.<\/strong><\/p>\n<p>When you reboot you will be dumped in the UEFI shell. You can easely move to the USB key with your programs using<\/p>\n<p><img loading=\"lazy\" class=\"alignnone  wp-image-1494\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/UEFI_booting.jpg\" alt=\"UEFI_booting\" width=\"550\" height=\"59\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/UEFI_booting.jpg 687w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/UEFI_booting-300x32.jpg 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>And lets move over to the USB key. For me the USB key is mapped as<strong> fs1<\/strong>: but you could also have a <strong>fs0:<\/strong><\/p>\n<p>A quick <strong>dir<\/strong> command will list the files on the USB key.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/uefi_dir.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1495\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/uefi_dir.jpg\" alt=\"uefi_dir\" width=\"552\" height=\"242\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/uefi_dir.jpg 552w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/uefi_dir-300x131.jpg 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/a><\/p>\n<p>Using the<strong>\u00a0sas3flash.efi<\/strong>\u00a0<strong>-list<\/strong> command (extracted from the\u00a0Installer_P4_for_UEFI file) we can list the local LSI MPT3SAS HBA adapter, see the SAS address and see the various versions of the Firmware &amp; BIOS and UEFI BSD Bios.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1497\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/sas3flash_list.jpg\" alt=\"sas3flash_list\" width=\"503\" height=\"552\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/sas3flash_list.jpg 503w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/sas3flash_list-273x300.jpg 273w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/p>\n<p>There are three components that we want to patch, the Firmware, the BIOS and the UEFI BSD Code.<\/p>\n<p>Here we start by upgrading the UEFI BSD BIOS. Using the sas3flash.efi we can fine tune with the SAS address of the controller, and select the <strong>X64SAS3.ROM<\/strong> file found in the\u00a0SAS3_UEFI_BSD_P6\u00a0download. As you see, the &#8211;<strong>c<\/strong> Controller command allows you to specify to which adapter the BIOS is loaded. You can enter the number 0 or the SAS Address. <strong>sas3flash.efi -c 006F94D30 -b X64SAS3.ROM<\/strong><\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/sas3flash_bios.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1507\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/sas3flash_bios.jpg\" alt=\"sas3flash_bios\" width=\"503\" height=\"396\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/sas3flash_bios.jpg 503w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/sas3flash_bios-300x236.jpg 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<p>The next step is upgrade the Firmware with the <strong>SA<\/strong><strong>S9300_8i_IT.bin<\/strong> found in the\u00a09300_8i_Package_P6_IR_IT_firmware_BIOS_for_MSDOS_Windows\u00a0file. <strong>sas3flash.efi -c 006F94D30 -f SAS9300_8i_IT.bin<\/strong><\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/sas3flash_firmware.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1499\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/sas3flash_firmware.jpg\" alt=\"sas3flash_firmware\" width=\"501\" height=\"318\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/sas3flash_firmware.jpg 501w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/sas3flash_firmware-300x190.jpg 300w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/sas3flash_firmware-500x318.jpg 500w\" sizes=\"(max-width: 501px) 100vw, 501px\" \/><\/a><\/p>\n<p>The last part is to upgrade the <strong>MPTSAS3.ROM<\/strong> file which contains the BIOS of the LSI adapter. Here again we use <strong>sas3flash.efi -c 006F94D30 -b MPTSAS3.ROM<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<p>The end result once Phase 06 firmware and bioses have been install is the following <strong>sas3flash.efi -list<\/strong><\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/lsi9300_8i_phase06.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1589\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2014\/04\/lsi9300_8i_phase06.jpg\" alt=\"lsi9300_8i_phase06\" width=\"521\" height=\"493\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/lsi9300_8i_phase06.jpg 521w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2014\/04\/lsi9300_8i_phase06-300x283.jpg 300w\" sizes=\"(max-width: 521px) 100vw, 521px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Firmware Version 06.00.00.00<\/strong><\/li>\n<li><strong>BIOS Version 08.13.00.00<\/strong><\/li>\n<li><strong>UEFI BSD Version 07.00.00.00<\/strong><\/li>\n<\/ul>\n<p>Now reboot the server,\u00a0and make sure to change back your Boot option in the server BIOS to your USB key or harddrive that contains the vSphere hypervisor.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a resume on how to upgrade a LSI SAS3 HBA 9300-8i card to the latest BIOS &amp; Firmware using the UEFI mode. This is applicable to my homelab Supermicro X9SRH-7TF or any other motherboard with UEFI Build-In EFI Shell. I&#8217;ve found that using the UEFI mode to be more practical than the old [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1510,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,253],"tags":[173,174,168,166,155,172,167,170,169,171,99],"_links":{"self":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts\/1489"}],"collection":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1489"}],"version-history":[{"count":14,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts\/1489\/revisions"}],"predecessor-version":[{"id":1595,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts\/1489\/revisions\/1595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/media\/1510"}],"wp:attachment":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}