From 459d2747142dd371565ffed83c043bbb98cb5c69 Mon Sep 17 00:00:00 2001 From: ThePlexus <31340423+ThePlexus@users.noreply.github.com> Date: Mon, 3 Apr 2023 14:08:29 +0100 Subject: [PATCH 1/2] Add Asus P8Z77-M Pro --- .../p8z77-m_pro-tpm1.maximized.md | 38 +++++++++++++++++++ .../Flashing-Guides/p8z77-m_pro.md | 31 +++++++++++++++ Installing-and-Configuring/Prerequisites.md | 2 + 3 files changed, 71 insertions(+) create mode 100644 Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md create mode 100644 Installing-and-Configuring/Flashing-Guides/p8z77-m_pro.md diff --git a/Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md b/Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md new file mode 100644 index 0000000..da04384 --- /dev/null +++ b/Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md @@ -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 automatitcally download a factory rom and perform the necassary modifications and extractionas. + +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/) diff --git a/Installing-and-Configuring/Flashing-Guides/p8z77-m_pro.md b/Installing-and-Configuring/Flashing-Guides/p8z77-m_pro.md new file mode 100644 index 0000000..f033c4d --- /dev/null +++ b/Installing-and-Configuring/Flashing-Guides/p8z77-m_pro.md @@ -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. diff --git a/Installing-and-Configuring/Prerequisites.md b/Installing-and-Configuring/Prerequisites.md index f670a02..d851732 100644 --- a/Installing-and-Configuring/Prerequisites.md +++ b/Installing-and-Configuring/Prerequisites.md @@ -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| From b2555ba6fb34f6f350e34ce0f0605bf5eaa8c050 Mon Sep 17 00:00:00 2001 From: ThePlexus <31340423+ThePlexus@users.noreply.github.com> Date: Mon, 3 Apr 2023 14:14:18 +0100 Subject: [PATCH 2/2] Add Asus P8Z77-M Pro --- .../Building-Heads/p8z77-m_pro-tpm1.maximized.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md b/Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md index da04384..30f5ffa 100644 --- a/Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md +++ b/Installing-and-Configuring/Building-Heads/p8z77-m_pro-tpm1.maximized.md @@ -19,7 +19,7 @@ For the ASUS P8Z77-M Pro there are multiple maximized boards under `./boards`, 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 automatitcally download a factory rom and perform the necassary modifications and extractionas. +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)