Flashing HP H220 SAS card to latest FW

Discussion in 'RAID Controllers and Host Bus Adapters' started by Slovak, Jan 30, 2017.

  1. rmflint

    rmflint New Member

    Joined:
    Dec 12, 2017
    Messages:
    10
    Likes Received:
    1
    Slovak, can you help me find the 2308T207.ROM (latest version 20.00.07.00-IT) firmware file which you used? I did not discover your thread until after I tried to flash my HP branded SAS9217 / SAS2308 card with LSI's version 20 package. I am hoping to use your method to recover my card.

    Is the 2308T207.ROM file buried somewhere in the HP rpm download? I couldn't find it.

    Could I just use the sas2flash version 14 and the P20 firmware (bin) which I downloaded from LSI/Broadcom site?

    Please help since after running the version 20 sas2flash to clean the ROM followed by the version 20 firmware update (which failed with errors) my card is no longer usable. I am HOPING your method and save it!
     
    #21
  2. BLinux

    BLinux cat lover server enthusiast

    Joined:
    Jul 7, 2016
    Messages:
    2,357
    Likes Received:
    818
    I don't believe HP provides any P20 firmware for the SAS2308 chipset. You can find it from Broadcom/Avago/LSI or also from Supermicro's FTP site.

    If you had a FW flash failure, I would erase the flash (-o -e 6) using either the UEFI or DOS version of the sas2flash utility (I think the other versions don't have the -o advanced option to enable erasing). Then, try to flash again.

    You can use any version of the sas2flash to flash the firmware. But in this case, I've found there's no reason to use an older version (on other cards, the method was used to by-pass checks that would prevent the program from proceeding with flashing the firmware). I usually just use the Linux P20 version of sas2flash and just flash LSI P20 IT firmware onto the H220 in 1 command (no erase even) and it works fine.
     
    #22
  3. rmflint

    rmflint New Member

    Joined:
    Dec 12, 2017
    Messages:
    10
    Likes Received:
    1
    I am still getting the same sas2flash errors which started after I initially ran the clean flash command (sas2flash.efi -o -e 6) and then ran the sas2flash.efi

    Now when I try to run the clean flash command I get the following error:

    "Controller is not operational. A firmware Hostboot is required."

    I then attempted to run the command "sas2flash.efi -f 2118it.bin" which errors out with the message.
    "ERROR: Firmware image does not support Target Adapter Device ID". The 2118it.bin file is the one I originally extracted from the LSI download.

    Is my card toast?
     
    #23
  4. BLinux

    BLinux cat lover server enthusiast

    Joined:
    Jul 7, 2016
    Messages:
    2,357
    Likes Received:
    818
    Your problem is that you are using the wrong firmware file. 2118it.bin is for the sas2008 chipset, not the sas2308 that is on this card. Download the correct firmware from broadcom website and try again.
     
    #24
  5. rmflint

    rmflint New Member

    Joined:
    Dec 12, 2017
    Messages:
    10
    Likes Received:
    1
    Blinux, you saved me and my card! I've spent 2 days chasing my tail on this one. You were 100% correct on the problem.

    It did not matter which version of sas2flash I used. Version 20 worked once I used the correct firmware file for the sas2308 chipset. Not sure how I got the wrong version initially but I went back to the Broadcom site and downloaded the the following zip file, 9207-4i4e_Package_P20_IR_IT_Firmware_BIOS_for_MSDOS_Windows
    extracted the 9207-4i4e.bin file, copied to usb and re-flashed with no error.

    Yea!!

    Here is the details of what worked for me to flash HP-branded LSI SAS 9217-4i4e to IT-mode:

    Note: I did all the flashing from an EFI shell

    1. Download the zip file with the correct firmware and sas2flash version (currently version 20) for this card from LSI/Broadcom website. I used '9207-4i4e_Package_P20_IR_IT_Firmware_BIOS_for_MSDOS_Windows.zip' which contains the firmware file '9207-4i4e.bin' for the LSI SAS2308 chipset.

    2. Create bootable USB using Rufus.

    3. Extract and copy files to USB root directory. This makes it easier so you don't have to navigate to any sub directories. The only extracted files I needed were the sas2flash.efi and the firmware file 9217-4i4e.bin (besides the boot files created by Rufus).

    4. Write down sas address on card (16 digits), install card and USB stick then boot system into efi shell and navigate to the USB root directory (type fs0: )

    5. Verify correct to flash with command: sas2flash -listall

    6. Erase card's exist ROM with command: sas2flash.efi -o -e 6

    7. Flash new firmware to card with command: sas2flash.efi -f 9217-4i4e.bin

    8. Reset sas address to card with command: sas2flash.efi -o -sasadd XXXXXXXXXXX

    That's it. Hope this helps someone else!
     
    #25
    Last edited: May 12, 2018
  6. BLinux

    BLinux cat lover server enthusiast

    Joined:
    Jul 7, 2016
    Messages:
    2,357
    Likes Received:
    818
    glad it all worked out. if using UEFI shell, you don't really need a "bootable USB" drive; just a USB drive will do. Also, if you care, you might want to flash the serial number (Board Tracer) and assembly number back. see the -tracer and -assem options. The board tracer number and assembly number are also on stickers on the card. when I flash the H220, I don't even bother with erase, so it leaves this stuff intact, but since you did erase, you may no longer have that information in your flash.
     
    #26
  7. craigr

    craigr New Member

    Joined:
    Jan 19, 2017
    Messages:
    2
    Likes Received:
    0
    Can the "Board Name" be changed and what's the comand for that? I'd like to make mine something custom instead of the default "H220," perhaps "unRAID" for example.

    Also, I was not able to flash my card with one comand. I had to erase first (-e 6) and then use sas2flash.efi version 14. Version 20 would not write to the card. I was just flashing IT 2308T207.ROM without a bios though. I suspect if I had done a full erase I could have used sas2flash v20, but I will never know.

    Thanks,
    craigr
     
    #27
    Last edited: Apr 13, 2019
  8. DWP

    DWP New Member

    Joined:
    Apr 15, 2019
    Messages:
    1
    Likes Received:
    0
    So, thanks for all of the work to get this figured out. My issue is that I followed these steps and successfully flashed my HP220. It now shows up as LSI2308_1. However, no devices are listed. Any ideas?
     
    #28
  9. thingy2098

    thingy2098 New Member

    Joined:
    Mar 16, 2018
    Messages:
    4
    Likes Received:
    1
    Thanks everyone for the guide! I did this in Win10 x64 just by downloading the V14 Installer and V20 firmware package from Broadcom's site. No need to fiddle with UEFI shells, Linux, or DOS boot disks if you have a Windows machine available.

    Just needed to run 'sas2flash -c 0 -f 9207-8.bin -b mptsas2.rom' and all was well.
     
    #29
  10. LSP

    LSP New Member

    Joined:
    Sep 19, 2019
    Messages:
    1
    Likes Received:
    0
    Hello! This controller may bee used on the desktop PC?
     
    #30
  11. thingy2098

    thingy2098 New Member

    Joined:
    Mar 16, 2018
    Messages:
    4
    Likes Received:
    1
    It sure can, so long as it's running an operating system that has support for the card. As in my post above, it worked no problem in Windows 10.
     
    #31
  12. MarcoP82

    MarcoP82 New Member

    Joined:
    Feb 3, 2016
    Messages:
    12
    Likes Received:
    1
    EDIT: got it working, found the P14 version of the SAS2FLASH.EFI with Slovak's post on the first page ! I remember seeing it earlier but somehow missed it when I needed it.

    EDIT2: apparently this is a 9205-8i card instead of a 9207-8i card. Strange, I thought the HP H220 D1 cards were all 9207-8i cards.

    Original post: I'm having trouble gettting my H220 updated. I tried with the Windows binaries (P14 and P20), it didn't see the adapter. I tried with the DOS binaries (P14 and P20), it gave me the PAL error because I'm on UEFI, I tried with the EFI binaries (P15). The last one saw the card, I succeeded in erasing it with "sas2flash.efi -o -e 7" but when I proceeded to write the new firmware, it decided to give me an error on the ID (probably because it was P15, but EFI isn't available for P14).

    Anyway, now I'm stuck. I can't even get the HP H220 firmware on there as in Windows it says no LSI SAS adapters found. I can still reach it via the EFI but I'm stuck how I'd get P20.07 on there. It's about the last piece of the puzzle for my server build.
     
    #32
    Last edited: Sep 26, 2019
Similar Threads: Flashing H220
Forum Title Date
RAID Controllers and Host Bus Adapters Problems Flashing Dell Perc H310 Nov 30, 2019
RAID Controllers and Host Bus Adapters what's the difference between flashing LSI firmware with megarec vs sas2flash? May 6, 2019
RAID Controllers and Host Bus Adapters Flashing H310 mini to IT Dec 3, 2018
RAID Controllers and Host Bus Adapters Flashing 9207 LSI Card IT Mode Sep 6, 2018
RAID Controllers and Host Bus Adapters Crossflashing LSI 9271-8i to Dell Perc H710P possible? Aug 22, 2018

Share This Page