Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Optiplex documentation #968

Merged
merged 8 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions docs/variants/dell_optiplex/building-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ the result binary using `cbfstool`. The methods are covered later on in the
cd coreboot
```

Replace `vX.Y.Z` with a valid version, eg. `v0.1.0`:

```bash
git checkout optiplex_7010_9010_vX.Y.Z
```

nedpfeiffer marked this conversation as resolved.
Show resolved Hide resolved
Checkout submodules:

```bash
Expand Down
33 changes: 24 additions & 9 deletions docs/variants/dell_optiplex/initial-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,17 @@ binwalk -e O7010A29.exe -C .
Assuming the extraction process was successful, you should now have an
extracted UEFI image file, hidden under an unassuming name such as
`65C10`. Deeper down the rabbit hole, you will now have to extract the
blobs from this image using `uefi-firmware-parser`:
blobs from this image using the `uefi-firmware` Python package, a set of scripts
for parsing, extracting, and recreating UEFI firmware volumes. To install:

```bash
apt install python3-venv python3-pip
python3 -m venv venv
source venv/bin/activate
pip install uefi-firmware==1.9
```

To extract the blobs (you may have to run the command twice):

```bash
uefi-firmware-parser -e "_O7010A29.exe.extracted/65C10" -O
Expand All @@ -131,18 +141,23 @@ files. Now, let's copy them with more readable names for future reference:

* EC firmware -

`cp _O7010A29.exe.extracted/65C10_output/pfsobject/section-7ec6c2b0-3fe3-
42a0-a316-22dd0517c1e8/volume-0x50000/file-d386beb8-4b54-4e69-94f5-
06091f67e0d3/section0.raw sch5545_ecfw.bin`
```bash
cp _O7010A29.exe.extracted/65C10_output/pfsobject/\
section-7ec6c2b0-3fe3-42a0-a316-22dd0517c1e8/volume-0x50000/\
file-d386beb8-4b54-4e69-94f5-06091f67e0d3/section0.raw sch5545_ecfw.bin
```

* BIOS ACM file -
* BIOS ACM file (only necessary for TXT support) -

`cp _O7010A29.exe.extracted/65C10_output/pfsobject/section-7ec6c2b0-3fe3-
42a0-a316-22dd0517c1e8/volume-0x500000/file-2d27c618-7dcd-41f5-bb10-
21166be7e143/object-0.raw IVB_BIOSAC_PRODUCTION.bin`
```bash
cp _O7010A29.exe.extracted/65C10_output/pfsobject/\
section-7ec6c2b0-3fe3-42a0-a316-22dd0517c1e8/volume-0x500000/\
file-2d27c618-7dcd-41f5-bb10-21166be7e143/object-0.raw IVB_BIOSAC_PRODUCTION.bin
```

The SINIT file is fortunately available for download directly from Intel at
[this url](https://cdrdv2.intel.com/v1/dl/getContent/630744).
[this url](https://cdrdv2.intel.com/v1/dl/getContent/630744)
(again, only necessary for TXT support).

### Patching the binary

Expand Down
Loading