Add H710 D1 Mini For Blades guide & dos-builder

This commit is contained in:
Jon Sands 2021-02-23 04:30:56 -05:00
parent 4abf0764f3
commit d0220f5443
16 changed files with 164 additions and 8 deletions

Binary file not shown.

View File

@ -0,0 +1,11 @@
@echo off
echo H710 D1 Mini BLADE SERVER Preparation
pause If your card is not H710 D1 Mini in a BLADE, hit ctrl+c now!! Otherwise hit enter
pause Press any key to clean adapter flash
megarec -cleanflash 0
pause Press any key to continue
echo running second cleaning to be sure
megarec -cleanflash 0
pause Press any key to write IT Mode SBR
megarec -writesbr 0 D1BLDMOD.sbr
pause If no errors above, you may press any key then reboot

Binary file not shown.

View File

@ -0,0 +1,9 @@
@echo off
echo Revert D1 H710 Mini For Blades To Dell Firmware
pause If your card is not D1 Mini for Blades, hit ctrl+c now!! Otherwise hit enter
pause Press any key to clean adapter flash
megarec -cleanflash 0 710BLDSK.rom
echo Flashing Dell Image Complete
pause Press any key to write Dell SBR (required)
megarec -writesbr 0 D1BLDSTK.sbr
pause If no errors above, you may press any key then reboot

Binary file not shown.

View File

@ -0,0 +1 @@
these are the raw source files and build utility for the PERC guide Live ISOs

View File

@ -0,0 +1,10 @@
prompt 1
default BootCD
ontimeout BootCD
timeout 10
# FreeDOS OEM bootdisk
label BootCD
linux /isolinux/memdisk
initrd /isolinux/good.img
append raw

View File

@ -0,0 +1,9 @@
#!/bin/bash
#FreeDOS ISO Builder
umount /root/dos-builder/dump/
sleep 1
losetup -d /dev/loop0
sleep 1
xorrisofs -o dosdisk.iso -p "Fohdeesha" -publisher "www.fohdeesha.com" -V "LSI_FREEDOS" -b isolinux/isolinux.bin -isohybrid-mbr isohdpfx.bin -no-emul-boot -boot-load-size 4 -boot-info-table -N -J -r -c boot.catalog -hide boot.catalog -hide-joliet boot.catalog CDROOT
sleep 1
echo "final ISO built at /root/dos-builder/dosdisk.iso"

Binary file not shown.

View File

@ -0,0 +1,8 @@
#!/bin/bash
#FreeDOS IMG Mounter
losetup -fP /root/dos-builder/CDROOT/isolinux/good.img
sleep 1
mount -o loop /dev/loop0p1 /root/dos-builder/dump/
sleep 1
echo "put desired files in /root/dos-builder/dump/"
echo "then run build.sh to unmount and build final ISO"

102
docs/H710-D1-Blade.md Normal file
View File

@ -0,0 +1,102 @@
# H710 D1 For Blades IT Mode Flashing
Continued instructions for flashing the H710 Mini Mono (D1 Revision) for blade servers (M620 etc). You should only continue here after following the [Introduction Page](https://fohdeesha.com/docs/perc/). 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 : PERC H710 Mini
ChipRevision : D1
SAS Address : xxxx (will differ)
```
**Note:** The system you are using & flashing should also be a blade model! For instance PERC Minis in an M420, M620, M820 etc. If you're not sure what that means, stop and go back to the [introduction page](https://fohdeesha.com/docs/perc/) and get on the right guide.
Next, you 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:
```
D1BLDCRS
```
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
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:
```
ipinfo
```
It should spit out an IP. SSH to it, using the same **user/live** credentials. This is not required and you can continue on using the iDRAC (or physical) console, but it will be slightly more inconvenient.
## Flashing IT Firmware
Now, still in Linux, we need to change to the root user:
```
sudo su -
```
Now we run the flashing script. Issue the following command to begin the process:
```
D1-H710
```
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:
```
sudo su -
setsas 500605b123456777
```
It should succeed without errors. That's it! You can run the following command to get some info about your new card. You should be able to see your SAS address and the same firmware version:
```
info
```
```
Controller Number : 0
Controller : SAS2308_2(D1)
PCI Address : 00:02:00:00
SAS Address : 0000000-0-0000-0000
NVDATA Version (Default) : 14.01.00.06
NVDATA Version (Persistent) : 14.01.00.06
Firmware Product ID : 0x2214 (IT)
Firmware Version : 20.00.07.00
NVDATA Vendor : LSI
NVDATA Product ID : SAS9207-8i
BIOS Version : N/A
UEFI BSD Version : N/A
FCODE Version : N/A
Board Name : SAS9207-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.
## Optional: Boot Images
>Note: flashing these can add up to 2 minutes to server boot time if you have a lot of drives. Be sure you need them!
If you need to boot from drives connected to this adapter, you'll need to flash a boot image to it. Otherwise, skip it. This is what gives you the "press blahblah to enter the LSI boot configuration utility" text when the server boots. To flash the regular BIOS boot image:
```
flashboot /root/Bootloaders/mptsas2.rom
```
If you want to UEFI boot from drives connected to this adapter, you need to flash the UEFI boot image (the card can have both UEFI and BIOS boot images flashed):
```
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 back into the FreeDOS live image, and run the following command:
```
D1BLDRVT
```
That's it! When it finishes, just reboot back to your normal system with the `reboot` command.
>Note: This uses the unmodified latest Dell firmware `21.3.5-0002,A09` extracted from the update EXE found [here](https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=xy0p0).

View File

@ -2,8 +2,6 @@
This guide allows you to crossflash 12th gen Dell Mini Mono & full size cards to LSI IT firmware. Mini Mono refers to the small models that fit in the dedicated "storage slot" on Dell servers. Because iDRAC checks the PCI vendor values of cards in this slot before allowing the server to boot, the generic full-size PERC crossflashing guides do not apply. This guide however solves that issue. [Technical explanation](https://github.com/marcan/lsirec/issues/1#issuecomment-574971959) for those curious. The following cards are currently supported (if you have a model not listed, [contact me](mailto:jon@fohdeesha.com?subject=PERC-Unknown)):
>WARNING: Do not follow any of these guides on a blade chassis (like an M620 or M820). They use different perc mini cards with different PCI values, the files in this guide will brick them. I am working on generating the correct files to crossflash these cards as well, so check back.
* H310 Mini Mono
* H710 Mini Mono
* H710P Mini Mono
@ -32,10 +30,10 @@ Ensure there is only one LSI-based adapter in your system. If there are others b
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.
[```Dell Perc Flashing ZIP```](https://fohdeesha.com/data/other/perc/perc-crossflash-v1.7.zip)
```Version: v1.7```
```ZIP Updated: 02-12-2021```
```MD5: 0d7418fab916262342730dffa7890937```
[```Dell Perc Flashing ZIP```](https://fohdeesha.com/data/other/perc/perc-crossflash-v1.8.zip)
```Version: v1.8```
```ZIP Updated: 02-23-2021```
```MD5: 577cef6f3969f04475d50ceb71d8f52d```
>Note: If you **know** you have an H310 Mini (**not** an H710), skip all of the below and jump right to the [H310 Mini Guide](https://fohdeesha.com/docs/H310/). Otherwise, continue below.
@ -47,9 +45,12 @@ info
```
![percflash1](https://fohdeesha.com/data/other/perc/percinfo.png)
>WARNING: If you are flashing a card in a blade chassis (like an M620 or M820), only use the "for blades" guide for your specific card model below. For example, the **H710 Mini (D1) Blade Guide**. Following any of the "normal" guides on a blade server will brick the PERC
If it displays an **H310 Mini**, proceed to the [H310 Mini Guide](https://fohdeesha.com/docs/H310/)
If it displays an **H710 Mini B0** revision, proceed to the [H710 Mini (B0) Guide](https://fohdeesha.com/docs/H710-B0/)
If it displays an **H710 Mini D1** revision, proceed to the [H710 Mini (D1) Guide](https://fohdeesha.com/docs/H710-D1/)
If it displays an **H710 Mini D1** revision **and it's in a blade server**, proceed to the [H710 Mini (D1) Blade Guide](https://fohdeesha.com/docs/H710-D1-Blade/)
If it displays an **H710P Mini B0** revision, proceed to the [H710P Mini (B0) Guide](https://fohdeesha.com/docs/H710P-B0/)
If it displays an **H710P Mini D1** revision, proceed to the [H710P Mini (D1) Guide](https://fohdeesha.com/docs/H710P-D1/)
If it displays an **H710 Adapter B0** revision, proceed to the [H710 Full Size (B0) Guide](https://fohdeesha.com/docs/H710-B0-full/)
@ -103,6 +104,9 @@ Regardless, since they're the same price used, you may as well grab the D1 revis
**H710 D1 Mini Part Numbers:**
- 05CT6D
**H710 D1 Mini For Blades Part Numbers:**
- 062P9H
**H710P B0 Mini Part Numbers:**
- 0TTVVV
- 0N3V6G
@ -116,4 +120,4 @@ Regardless, since they're the same price used, you may as well grab the D1 revis
### Contributing:
The markdown source for these guides is hosted on [**my Github repo.**](https://github.com/Fohdeesha/lab-docu) If you have any suggested changes or additions feel free to submit a pull request.
```Documentation version:``` [ v2.3 (02-12-2021)](https://github.com/Fohdeesha/lab-docu/commits/master)
```Documentation version:``` [ v2.4 (02-23-2021)](https://github.com/Fohdeesha/lab-docu/commits/master)

View File

@ -30,6 +30,7 @@ nav:
- 'H310 Mini': 'H310.md'
- 'H710 B0 Mini': 'H710-B0.md'
- 'H710 D1 Mini': 'H710-D1.md'
- 'H710 D1 Mini Blade': 'H710-D1-Blade.md'
- 'H710P B0 Mini': 'H710P-B0.md'
- 'H710P D1 Mini': 'H710P-D1.md'
- 'H710 B0 Full Size': 'H710-B0-full.md'
@ -42,4 +43,5 @@ nav:
- Other:
- 'Multiple /64s *nix': '64nix.md'
google_analytics: ['UA-2400722-7', 'fohdeesha.com']
google_analytics: ['UA-2400722-7', 'fohdeesha.com']