Move 310 SBR flashing to DOS like others

This commit is contained in:
Jon Sands 2023-01-12 09:55:39 -05:00
parent 14e82a8935
commit d4b1d7944b
3 changed files with 68 additions and 25 deletions

View File

@ -1,8 +1,33 @@
# H310 Full Size IT Mode Flashing
Instructions for flashing the H310 Full Size. Full credits for this guide go to [fourlynx](mailto:fourlynx@phoxden.net) and his original [H310 guide](https://doku.phoxden.net/pages/viewpage.action?pageId=7208964). As we were working on these H710 guides together and building a convenient live ISO, we figured we might as well add an easy H310 script to it.
Continued instructions for flashing the H310 Full Size. You should only continue here after following the [Introduction Page](perc.md). If you haven't done so already, go back.
## Verify & SAS
You should still be in the FreeDOS live boot image. Double check you are on the right guide by running the following command again:
```
info
```
Your output should exactly match the below:
```
Product Name : H310 Adapter
ChipRevision : B2
SAS Address : xxxx (will differ)
```
If so, continue on! If not, stop and go back to the [introduction page](perc.md) and get on the right guide.
You also need to note the SAS address of the card from the above output so we can program it back later. Take a screenshot of the console, or otherwise note down the address so you can write it back at the end of the guide. It's not a huge deal if you lose it, but it's easiest to program back the original address instead of generating a new one.
## Cleaning The Card
Still in FreeDOS, run the following command to wipe the flash on the card and get rid of all Dell firmware. This will also flash the required SBR:
```
310FLCRS
```
Follow the prompts. If it finishes without error, it's time to reboot into Linux. Get the Linux live ISO from the ZIP ready to boot from, then tell FreeDOS to reboot:
```
reboot
```
## Linux Time
Boot into the Linux ISO from the ZIP. Use the following credentials to login: **user/live**
You should now be booted into the Linux ISO from the ZIP. Use the following credentials to login: **user/live**
We highly recommend SSH'ing to the live ISO so you can copy/paste commands and not have to use the iDRAC virtual console. To do so, run the following to find the IP of the install:
```
@ -15,19 +40,13 @@ Now, still in Linux, we need to change to the root user:
```
sudo su -
```
Now we need to note down the SAS address of the adapter so we can program it back later. Run the following and save the output somewhere:
Now we run the flashing script. Issue the following command to begin the process:
```
sas-mega
```
Once you have the address saved, run the flashing script. This will program the appropriate IT mode SBR, then flash the card with IT firmware:
```
H310-Full
H310
```
It should automatically do everything required to flash the card. If you don't get any unexpected errors and it completes, we need to reboot and program the SAS address back to finish. See the following note.
**Note:** For some reason, the very first boot after crossflashing the card will cause a kernel panic - I believe it's iDRAC not letting go of something (I was able to see the card put in a fault state via the debug UART when this happens). This only happens the first reboot after crossflashing. When you boot back into the live ISO and get the panic, either let it reboot itself, or use iDRAC to force a reboot. After that boot back into the live ISO again and all will be well.
## Programming SAS Address Back
Now rebooted back into the live Linux image, just run the following commands, filling in the example address with your own, that you noted down earlier:
@ -57,6 +76,7 @@ info
Board Name : SAS9211-8i
Board Assembly : N/A
Board Tracer Number : N/A
```
Unless you also need to flash boot images for booting off the card, you can now ditch all the live images and reboot back into your normal system, and enjoy your IT mode card.
@ -73,6 +93,7 @@ flashboot /root/Bootloaders/x64sas2.rom
```
You can now ditch the live images and boot back into your normal system.
## Optional: Reverting
If for some reason you need to revert back to the stock Dell PERC firmware, that's easy. Boot into the FreeDOS live image, and run the following command:
```

View File

@ -1,8 +1,33 @@
# H310 Mini IT Mode Flashing
Instructions for flashing the H310 Mini Mono. Full credits for this guide go to [fourlynx](mailto:fourlynx@phoxden.net) and his original [H310 Mini guide](https://doku.phoxden.net/pages/viewpage.action?pageId=7208964). As we were working on these H710 guides together and building a convenient live ISO, we figured we might as well add an easy H310 script to it.
Continued instructions for flashing the H310 Mini Mono. You should only continue here after following the [Introduction Page](perc.md). If you haven't done so already, go back.
## Verify & SAS
You should still be in the FreeDOS live boot image. Double check you are on the right guide by running the following command again:
```
info
```
Your output should exactly match the below:
```
Product Name : H310 Mini
ChipRevision : B2
SAS Address : xxxx (will differ)
```
If so, continue on! If not, stop and go back to the [introduction page](perc.md) and get on the right guide.
You also need to note the SAS address of the card from the above output so we can program it back later. Take a screenshot of the console, or otherwise note down the address so you can write it back at the end of the guide. It's not a huge deal if you lose it, but it's easiest to program back the original address instead of generating a new one.
## Cleaning The Card
Still in FreeDOS, run the following command to wipe the flash on the card and get rid of all Dell firmware. This will also flash the required SBR:
```
310MNCRS
```
Follow the prompts. If it finishes without error, it's time to reboot into Linux. Get the Linux live ISO from the ZIP ready to boot from, then tell FreeDOS to reboot:
```
reboot
```
## Linux Time
Boot into the Linux ISO from the ZIP. Use the following credentials to login: **user/live**
You should now be booted into the Linux ISO from the ZIP. Use the following credentials to login: **user/live**
We highly recommend SSH'ing to the live ISO so you can copy/paste commands and not have to use the iDRAC virtual console. To do so, run the following to find the IP of the install:
```
@ -15,19 +40,13 @@ Now, still in Linux, we need to change to the root user:
```
sudo su -
```
Now we need to note down the SAS address of the adapter so we can program it back later. Run the following and save the output somewhere:
Now we run the flashing script. Issue the following command to begin the process:
```
sas-mega
```
Once you have the address saved, run the flashing script. This will program the appropriate IT mode SBR, then flash the card with IT firmware:
```
H310-Mini
H310
```
It should automatically do everything required to flash the card. If you don't get any unexpected errors and it completes, we need to reboot and program the SAS address back to finish. See the following note.
**Note:** For some reason, the very first boot after crossflashing the card will cause a kernel panic - I believe it's iDRAC not letting go of something (I was able to see the card put in a fault state via the debug UART when this happens). This only happens the first reboot after crossflashing. When you boot back into the live ISO and get the panic, either let it reboot itself, or use iDRAC to force a reboot. After that boot back into the live ISO again and all will be well.
## Programming SAS Address Back
Now rebooted back into the live Linux image, just run the following commands, filling in the example address with your own, that you noted down earlier:
@ -57,6 +76,7 @@ info
Board Name : SAS9211-8i
Board Assembly : N/A
Board Tracer Number : N/A
```
Unless you also need to flash boot images for booting off the card, you can now ditch all the live images and reboot back into your normal system, and enjoy your IT mode card.

View File

@ -40,12 +40,14 @@ When you're finished with this guide, don't forget to go back and enable Virtual
**Remove the RAID battery** from the adapter. The IT firmware has no cache for the battery to back, in fact the IT firmware will have no clue the battery is there if you leave it connected. To make matters worse, in rare cases some people observed the battery holding old Dell code in the card's RAM and it made their crossflash process a pain. Just unplug/remove the battery and store it somewhere in case you return to Dell firmware.
Download the ZIP below which contains two ISOs. One is a FreeDOS live image, the other is a Debian live image. Both come prepackaged with all the required tools and files, and they can be booted either via iDRAC virtual media or by burning them to a flash drive via [Rufus](https://rufus.ie/), using `dd`, or your favorite flashing utility - up to you.
**Remove all drives connected to the PERC.** This typically means any drives in the front of the server in the hot swap bays. If you forget to do this, the flashing process won't touch them or alter them, but having them connected can cause the flash process to fail and you'll be left wondering why. So pull the caddies for now!
[```Dell Perc Flashing ZIP```](store/perc/perc-crossflash-v2.2.zip)
```Version: v2.2```
```ZIP Updated: 06-16-2022```
```MD5: 2a85aef52bf8eb6ccae7eb25ffd2714c```
Download the ZIP below which contains two ISOs. One is a FreeDOS live image, the other is a Debian live image. Both come prepackaged with all the required tools and files, and they can be booted either via iDRAC virtual media or by burning them to a flash drive via [Rufus](https://rufus.ie/) in WIndows, using `dd` in Linux, or your favorite flashing utility - up to you.
[```Dell Perc Flashing ZIP```](store/perc/perc-crossflash-v2.3.zip)
```Version: v2.3```
```ZIP Updated: 01-12-2023```
```MD5: d0f15f46112762f16fe32832cd9a7492```
## Finding Your Card Revision