1# ASUS P8Z77-M PRO 2 3This page describes how to run coreboot on the [ASUS P8Z77-M PRO] 4 5## Flashing coreboot 6 7```{eval-rst} 8+---------------------+----------------+ 9| Type | Value | 10+=====================+================+ 11| Socketed flash | yes | 12+---------------------+----------------+ 13| Model | W25Q64FVA1Q | 14+---------------------+----------------+ 15| Size | 8 MiB | 16+---------------------+----------------+ 17| Package | DIP-8 | 18+---------------------+----------------+ 19| Write protection | yes | 20+---------------------+----------------+ 21| Dual BIOS feature | no | 22+---------------------+----------------+ 23| Internal flashing | yes | 24+---------------------+----------------+ 25``` 26 27The flash IC is located right next to one of the SATA ports: 28 29 30### Internal programming 31 32The main SPI flash cannot be written because Asus disables BIOSWE and 33enables BLE/SMM_BWP flags in BIOS_CNTL for their latest bioses. 34An external programmer is required. You must flash standalone, 35flashing in-circuit doesn't work. The flash chip is socketed, so it's 36easy to remove and reflash. 37 38## Working 39 40- PS/2 keyboard with SeaBIOS & edk2 (in Mint 18.3/19.1) 41 42- Rear/front headphones connector audio & mic 43 44- S3 Suspend to RAM (tested with OS installed in a HDD/SSD and also with a 45 Mint 18.3/19.1 LiveUSB pendrive connected to USB3/USB2), but please 46 see [Known issues] 47 48- USB2 on rear (tested mouse/keyboard plugged there. Also, booting with 49 a Mint 18./19.1 LiveUSB works ok) 50 51- USB3 (Z77's and Asmedia's works, but please see [Known issues]) 52 53- Gigabit Ethernet (RTL8111F) 54 55- SATA3, SATA2 and eSATA (tested on all ports, hot-swap and TCG OPAL working) 56 (Blue SATA2) (Blue SATA2) (White SATA3) (Red eSATA SATA3 rear) 57 port 3 port 5 port 1 port 8 58 port 4 port 6 port 2 port 7 59 60- NVME SSD boot on PCIe-x16/x8/4x slot using edk2 61 (tested with M.2-to-PCIe adapter and a M.2 Samsung EVO 970 SSD) 62 63- CPU Temp sensors (tested PSensor on linux + HWINFO64 on Win10) 64 65- TPM on TPM-header (tested tpm-tools with Asus TPM 1.2 Infineon SLB9635TT12) 66 67- Native raminit and also MRC.bin(systemagent-r6.bin) memory initialization 68 (please see [Native raminit compatibility] and [MRC memory compatibility]) 69 70- Integrated graphics with both libgfxinit and the Intel Video BIOS OpROM 71 (VGA/DVI-D/HDMI tested and working) 72 73- 1x PCIe GPU in PCIe-16x/8x/4x slots (tested using Zotac GeForce GTX 74 750Ti and FirePro W5100 under Mint 18.3/19.1) 75 76## Known issues 77 78- The rear's USB3s on bottom (closest to the PCB) have problems booting or 79 being used before the OS loads. For better compatibility, please use 80 the Z77's ones above the Ethernet connector or the Asmedia's top one 81 82- After S3 suspend, some USB3 connectors on rear seem not to work 83 84- At the moment, the power led does not blink when entering S3 state 85 86- Currently, we have not setup the SuperIO's Hardware Monitor (HWM), 87 so only the CPU sensors are reported 88 89- If you use the MRC.bin, the NVRAM variable gfx_uma_size may be ignored 90 as IGP's UMA could be reconfigured by the blob 91 92- Using edk2 + a PCIe GPU under Windows crashes with an 93 ACPI_BIOS_ERROR fatal code, not sure why. Using just the IGP 94 works perfectly 95 96- Under Windows 10, if you experiment problems with PS/2 devices, change 97 HKLM\SYSTEM\CurrentControlSet\Services\i8042prt->Start from '3' to '1' 98 99## Untested 100 101- EHCI debugging 102- S/PDIF audio 103- Wake-on-LAN 104- Serial port 105 106## Not working 107 108- PS/2 keyboard in Win10 using edk2 (please see [Known issues]) 109- PS/2 mouse using edk2 110- PCIe graphics card on Windows and edk2 (throws critical ACPI_BIOS_ERROR) 111 112## Native raminit compatibility 113 114- GSkill F3-2133C10D-16GAB(XMP,1.60v) 2x8GB kit works at 1333Mhz instead 115 of XMP 2133Mhz 116 117- Team Xtreem TXD38G2133HC9NDC01(XMP,1.50v) 2x4GB kit works at 1600Mhz 118 instead of XMP 2133Mhz 119 120- Kingston KVR1066D3N7K2/4G(JEDEC,1.50v) 2x4GB kit works at 1066Mhz 121 but the board only detects half its RAM, because those DIMMs have 122 Double Sided(DS) chips and seems only Single Sided(SS) ones are 123 fully detected 124 125- GSkill F3-10666CL9T2-24GBRL(JEDEC,1.50v) 6x4GB kit (4 DIMMs used) 126 works perfectly at full speed (1333Mhz) 127 128## MRC memory compatibility 129 130- GSkill F3-2133C10D-16GAB(XMP,1.60v) 2x8GB kit works at 1333Mhz 131 instead of XMP 2133Mhz 132 133- Team Xtreem TXD38G2133HC9NDC01(XMP,1.50v) 2x4GB kit works at 134 1600Mhz instead of XMP 2133Mhz 135 136- Kingston KVR1066D3N7K2/4G(JEDEC,1.50v) 2x4GB kit works at 1066Mhz 137 but the board only detects half its RAM, as those DIMMs have 138 Double Sided(DS) chips and seems only Single Sided(SS) ones are 139 fully detected 140 141- GSkill F3-10666CL9T2-24GBRL(JEDEC,1.50v) 6x4GB kit (4 DIMMs used) 142 works perfectly at full speed (1333Mhz) 143 144## Technology 145 146```{eval-rst} 147+------------------+--------------------------------------------------+ 148| Northbridge | :doc:`../../northbridge/intel/sandybridge/index` | 149+------------------+--------------------------------------------------+ 150| Southbridge | bd82x6x | 151+------------------+--------------------------------------------------+ 152| CPU | model_206ax | 153+------------------+--------------------------------------------------+ 154| Super I/O | Nuvoton NCT6779D | 155+------------------+--------------------------------------------------+ 156| EC | None | 157+------------------+--------------------------------------------------+ 158| Coprocessor | Intel Management Engine | 159+------------------+--------------------------------------------------+ 160``` 161 162## Extra resources 163 164- [Flash chip datasheet][W25Q64FVA1Q] 165 166[ASUS P8Z77-M PRO]: https://www.asus.com/Motherboards/P8Z77M_PRO/ 167[W25Q64FVA1Q]: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf 168[flashrom]: https://flashrom.org/Flashrom 169