[GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270)

@ItxLeo
Sync all cores will work with up to 8 core CPUs (even for 9900K). Try running 8700K on your BIOS. If it won’t work try patching CpuMpPei (step 1). After patch, it should boot into operating system. Then you should patch ACPI.

See Post 17.
patches.txt from Post 71 contains one line:

299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9 10 P:8B55F08B45ECB9AD0100000F30:8B55EC8B45ECB9AD0100000F30

with meaning:

in module
299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9

search for sequence of bytes
8B 55 F0 8B 45 EC B9 AD 01 00 00 0F 30

and replace it with sequence
8B 55 EC 8B 45 EC B9 AD 01 00 00 0F 30

That’s it.

@Driv3r
I would patch every table that contains reference to CPU according to the step 2 of the guide.


Since both of my CPUs are delidded is a bit of work to swap them, I will wait for the 9900k and then keep you updated. I could also try the 9900k on the Z170 just to see


The problem is that ACPI tables which I mentioned before (DptfSds and DptfTabl) don’t compile even without modification (extract, decompile, try to compile right after decompilation, get error). You can edit them easily, but that’s kinda all you can do with it.

Maybe if you share some information about the error someone might help you.


Well, here is it. There are some syntax errors and I don’t think anyone will bother to fix them (Biostar probably thinks this is fine). Also dsanke confirmed that there is no need to modify these tables.

Read Post 40 and Post 42

@s.napi
Test on MSI H110M PRO-V MS-7A15 and BAZOOKA D3 MS-7982, debug post stuck in B2 , previous is 79→96. I found 79 means CSM initialization , and B2 means Legacy Option ROM initialization . So I replace CsmDxe CsmBlockIo CsmVideo 3 dxe modules to Z370 extracted one , but nothing happen , i3 8100 also works fine . I turn off CSM in BIOS , nothing happens too , still stuck in 60→B6→62→79→B2 .
video uploaded here http://s000.tinyupload.com/index.php?fil…782142020719830

I am modifying the acpi table with asrock z170 OC formula and b150m pro4
in this file C118F50D-391D-45F4-B3D3-11BC931AA56D.raw

An error occurs when i attempt to disassemble and recompile the dsl file
Whether moded or not, there are still 3 errors
asrock z170 OCF AND b150m Both are the same

Even if i ignore the error with the -f option, no aml file is generated (iasl.exe -f xxx.dsl)
iasl is the latest version 180810
Please advise
----------------------refer------------------------------------------------------------------------------------
C:\coffee4>iasl.exe -f bc118.dsl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180810
Copyright (c) 2000 - 2018 Intel Corporation

Ignoring all errors, forcing AML file generation

Compiler aborting due to parser-detected syntax error(s)
bc118.dsl 14144: Arg1
Error 6126 - ^ syntax error, unexpected PARSEOP_ARG1

bc118.dsl 17570: }
Error 6126 - ^ syntax error, unexpected '}'

bc118.dsl 34283:
Error 6126 - syntax error, unexpected $end and premature End-Of-File

ASL Input: bc118.dsl - 34283 lines, 1099708 bytes, 15708 keywords

Compilation complete. 3 Errors, 0 Warnings, 0 Remarks, 0 Optimizations


Compare my provided file , and you will find how to kill these errors.

ASRock_100_Series_DSDT_Sample.zip (132 KB)

dsanke // errors gone, thanks!!



On my ASRock Z170 Extreme4 same multiplier problem, everything else working fine - 8700k running with HT on, IGP working etc. But Overclocking only with BCLK.


UEFIPatch with this patches.txt results in Q-Code 0d. Seems you have found a solution for this problem, how did you fix it?

Compare your before/after patch BIOSes. They should differ in one byte. If they differ in more then it’s probably result of “rebase bug” in UEFIPatch tool. You can manually change the bytes using hex editor.



There was tons of differences in UEFIPatch output file, so I discarded it.

I opened original with hex editor and replaced bytes there and after flash+cmos clear mutlipliers are working. Thank you very much!

Seems all MSI 100/200 series with cfl i7 can not pass debug code 79 . If I disable CSM and use iGPU , it can not pass debug code 97 .
I still can not find information about that part in boot process .

I try to mod my EVGA Z170 Bios with clf i7

But with CpuPei patched i can boot, code is C

Anyone can help me? I can’t open TE.bin with dissambbler

My bios is here
https://www88.zippyshare.com/v/35Fnw55Q/file.html


Check this , run "FLASH.BAT" and "RESET.BAT" , it will backup your MAC address and flash BIOS , then restore MAC address automatically .
You can use SPI Programmer flash "Z170C4W.bin" directly .
I don’t know if it works , please refer me after test .
PCIE/HT/Sync All Core/ACPI Fixed , ME downgrade to 11.6.0.1126 and changed SKU to Z370 , add uCode : 506E3(0xC6),506E8(0x34),906E9(0x8E),906EA(0x96),906EB(0x8E),906EC(0x98) , GOP updated to 9.0.1080 and vBIOS updated to 1059 .
http://s000.tinyupload.com/?file_id=27556876577016047619


Check this , run "FLASH.BAT" and "RESET.BAT" , it will backup your MAC address and flash BIOS , then restore MAC address automatically .
You can use SPI Programmer flash "Z170C4W.bin" directly .
I don’t know if it works , please refer me after test .
PCIE/HT/Sync All Core/ACPI Fixed , ME downgrade to 11.6.0.1126 and changed SKU to Z370 , add uCode : 506E3(0xC6),506E8(0x34),906E9(0x8E),906EA(0x96),906EB(0x8E),906EC(0x98) , GOP updated to 9.0.1080 and vBIOS updated to 1059 .
http://s000.tinyupload.com/?file_id=27556876577016047619



Hi dsanke, thanks for modded bios

I flashed your modded bios, my motherboard with i7-8700 first boot after flash is freeze in here and show code 01



And 2nd boot, my motherboard is bootloop, and show code b2

And try to mod bios 1.09 bios
http://cdn.evga.com/BIOS/z170/E179_flashtool_109.zip

It don’t have CpuMpPei but my motherboard is bootloop again.


Check this , run "FLASH.BAT" and "RESET.BAT" , it will backup your MAC address and flash BIOS , then restore MAC address automatically .
You can use SPI Programmer flash "Z170C4W.bin" directly .
I don’t know if it works , please refer me after test .
PCIE/HT/Sync All Core/ACPI Fixed , ME downgrade to 11.6.0.1126 and changed SKU to Z370 , add uCode : 506E3(0xC6),506E8(0x34),906E9(0x8E),906EA(0x96),906EB(0x8E),906EC(0x98) , GOP updated to 9.0.1080 and vBIOS updated to 1059 .
http://s000.tinyupload.com/?file_id=27556876577016047619



Hi dsanke, thanks for modded bios

I flashed your modded bios, my motherboard with i7-8700 first boot after flash is freeze in here and show code 01


And 2nd boot, my motherboard is bootloop, and show code b2

And try to mod bios 1.09 bios
http://cdn.evga.com/BIOS/z170/E179_flashtool_109.zip

It don’t have CpuMpPei but my motherboard is bootloop again.



Need record of boot process to determine what cause the problem .
And I am stuck in MSI now , seems your problem is very similar to mine , so I think I have no ability to fix that too .

@dsanke
From the video you posted, I decoded this sequence before hang (not complete, video was too fast): … 60 - 61 - 68 - b6 - 62 - 78 - 62 -79 - 96 - b2. On my board, it looks the same : … 78 - 62 - 79 - 96 - 97 …
Description of codes from ASUS:

1.png


Location of the code/module(s) behind this sequence is unknown - no board and no spare time right now.

@duyvbsp
It looks like your board/BIOS version is not compatible with this mod. You can try to find and change HT enable/disable setting in Stdefaults NVAR variable/store of your BIOS - i7-8700 with HT off should boot on your board then.