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

Add Asus P8Z77-M Pro #126

Merged
merged 2 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: default
title: Asus P8Z77-M Pro
permalink: /p8z77-m_pro-building/
nav_order: 1
parent: Step 1 - Building Heads
grand_parent: Installing and configuring
---

ASUS P8Z77-M Pro
===

This board currently supports TPMv1 modules, please note that TPM v2 module is not currently supported
The following TPM modules have been tested and known to work: Asus branded TPM rev. 1.02H & Foxconn TPM Krypton rev. 1.0

Please determine the [version]({{ site.baseurl }}/Prerequisites#supported-devices) you want to build (HOTP or not).

For the ASUS P8Z77-M Pro there are multiple maximized boards under `./boards`, p8z77-m_pro-tpm1-maximized and p8z77-m_pro-tpm1-maximized-hotp.

As opposed to Legacy boards produced ROM images, Maximized boards produced ROMs are totally valid ROMs, including a valid Intel Flash Descriptor (IFD), Ethernet, a valid neutered Intel ME containing only BUP+ROMP modules which liberated space is given back to the BIOS (coreboot+payload) region. The IFD also has the VSCC table remove in these boards](https://github.com/corna/me_cleaner/issues/80) which prevents the ME having an instruction of what model of flash chip to write to.

These boards have a script in the 'blobs/p8z77-m_pro' folder which will automatically download a factory rom and perform the necassary modifications and extraction.

You can also [download the ROMs directly from CircleCI]({{ site.baseurl }}/Downloading)

```Makefile
make BOARD=p8z77-m_pro-tpm1-maximized
```

or

```Makefile
make BOARD=p8z77-m_pro-tpm1-hotp-maximized
```

Please continue with the [flashing guide]({{ site.baseurl }}/Asus-p8z77-m_pro-flashing/)

More options and detail about Heads modules under [Makefile]({{ site.baseurl }}/Makefile/)
31 changes: 31 additions & 0 deletions Installing-and-Configuring/Flashing-Guides/p8z77-m_pro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: default
title: Asus P8Z77-M Pro
permalink: /Asus-p8z77-m_pro-flashing/
nav_order: 1
parent: Step 2 - Flashing Guides
grand_parent: Installing and configuring
---

Asus P8Z77-M Pro
====

This board uses a DIP8 socketed W25q64 Winbond rom. The chip can be removed from the motherboard to flash, be careful when removing the chip to not bend or snap pins.

Use a suitable SPI programmer with an appropriate compatible tool (in this example we use a ch341a_spi programmer with flashroom utility in linux).

It is advised to back up your factory rom incase you wish to revert later

```
flashrom --programmer ch341a_spi -r factory.rom
```

Then flash the heads rom
```
flashrom --programmer ch341a_spi -w heads-circleci-artefect.rom
```
(replace heads-circleci-artefect.rom with the name of the artefact downloaded frmo CircleCi

Re-insert the w25q64 into the motherboard, ensuring that the notch on the side ofg the chip matches the notch on the DIP8 socket.

It may take a little longer on the first boot after first inserting the chip, as the RAM training happens.
2 changes: 2 additions & 0 deletions Installing-and-Configuring/Prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Please see the current [heads source](https://github.com/osresearch/heads/tree/m
|Device| Board name|Firmware base|Requires external flashing| ME should be cleaned|Notes|
|--|--|--|:--:|:--:|--|
|Asus KGPE-D16|`kgpe-d16`|coreboot|X|||
|Asus P8Z77-M Pro|`p8z77-m_pro-tpm1-maximized`|coreboot|X|X|Maximized board config without HOTP verification.|
|Asus P8Z77-M Pro|`p8z77-m_pro-tpm1-hotp-maximized`|coreboot|X|X|Maximized board config with HOTP verification.|
|Dell R630|`r630`|linuxboot||X||
|Intel S2600wf|`s2600wf`|linuxboot||X||
|Lenovo Thinkpad T420|`t420`|coreboot|X|X|Legacy board config without HOTP verification|
Expand Down