Page 1 of 12
#1 Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock(and some new Asrock) motherboards by Mov AX, 0xDEAD 26.02.2018 21:18

avatar

This patch intended for non-Asrock motherboards on 110/150/170/250/270 chipsets, it changes 7(or 8) modules in bios. Also a patch is needed for some new Asrock motherboards with kaby chipset like B250/Z270 or even with sky chipset too.

Main idea is removing check device_id of host bridge (pci 0/0/0, located inside CPU), i named it "asrock-way". Combination of cpu_family & device_id means some of one of 4 type pci bridges,in Z370 bioses for kaby/coffe exist type "1" for device_id of host bridge = 3e0f,3e1f,3e30,3ec2,590f,591f and type "3" for 5900/5908/5910/5918, type "0" and "2" i think for mobile/server CPUs. Procedure in pre-Z370 bioses set type to "unknow" if detect unknow device_id. That's the problem.
Patch always set type to "1" for kaby/coffe regardless of device_id, asrock does same thing.
For Gigabyte H110M-HD2 in addition to PCI-E i also received CPU Voltage fix.

Fix for EXPERTS only ! You must have SPI programmer for restoring bios as recovery option !

Gigabyte H110/i3 8100 - Confirmed (my pc)
MSI Z170/i3 8100 - Confirmed https://www.youtube.com/watch?v=Ee8JU6k1f98
ASRock B250 - Confirmed (forums)
MSI B150 - Confirmed (forums)
Gigabyte Z270 - Confirmed (forums)
ASUS - Not Tested (you need search way to flash modded bios)

What you need:
1. Check "reserved" pins on cpu socket. https://www.intel.com/content/www/us/en/...heet-vol-1.html, part 9. Processor Land Information.
All of these pins should not be connected to anything on motherboard, according to some forums, there is a small chance that the manufacturer of the motherboard could connect them somewhere. If some pins connected, you need isolate them at cpu side.
1.1. On some MBs need reroute SKTOCC(SocKeT OCCupied) pin from AC38 pin (coffe) to AB35 pin (sky/kaby), shorting AB35 to GND(AC35 for example) we simulate SKTOCC signal for pre z370 motherboards. More info at HWBOT.org


2. Download last or one of last bios with KABY Lake support from vendor site

3. Check Management Engine version with uefitool/me analyzer/etc
ME versions 11.8.x.xxxx and 11.7.x.3xxx block coffee CPUs on pre-z370 motherboards, downgrade ME partition to 11.6.x.xxxx/11.7.x.1xxx or look for "pre me11.8" version of bios on vendor site.
Keep in mind that versions below 11.8.x.xxxx have a vulnerabilities.

4. Prepare BIOS with GOP/VBIOS/Microcodes from [GUIDE] Coffee Lake CPUs on Skylake and Kaby Lake motherboards or other guide
You must have at least two microcodes: for you current sky/kaby lake(506E3/906E9) and for planned coffe lake(906EB/906EA)

After step 4 you must flash bios and check what motherboard starts with coffe CPU on integrated VGA ! If it fails, do nothing more steps, you have some other noboot issue.

5. Run "pcie_patcher.cmd biosname" from command line
check output like:

Zitat

patch: replaced 10 bytes at offset xxxxh yyyyyy zzzzz <- must be 2 or 3 or 4 lines
patch: replaced 10 bytes at offset xxxxh yyyyyy zzzzz <-
patch: replaced 10 bytes at offset xxxxh yyyyyy zzzzz <-
patch: replaced 10 bytes at offset xxxxh yyyyyy zzzzz <-
Image patched
[total hits/matching patterns/non-matching patterns]
[004/1/0] MYBIOS.patched <- MUST be 4 or 6/8(asus)
1 files checked, 1 changed.
Patching successful <- this lines appear if modules has checksum
Patching successful <-
Patching successful <-
Patching successful <-



6. Flash complete patched bios

Thanks to CodeRush & LS_29 for great tools !
Discord discussions: https://discord.gg/FgpUVCy #english


1.4 - cleanup / added clevo patterns
1.3 - added asus z270 patterns
1.2 - added asus ddr3 patterns
1.1 - changed msys-1 to msys-2 .dll & .exe
1.0 - Initial

Download Link: VER 1.4 (pass 12345678) / mirror

#2 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by hwfdvd 28.02.2018 06:35

Great,thank you for sharing this tool.
but I can't downdload it. because it request registe by a credit card.
I don't have a abroad credit card.
can you share it another way?

#3 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by Mov AX, 0xDEAD 28.02.2018 08:20

avatar

Zitat von hwfdvd im Beitrag #2
Great,thank you for sharing this tool.
but I can't downdload it. because it request registe by a credit card.
I don't have a abroad credit card.
can you share it another way?


added mirror

#4 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by dsanke 28.02.2018 16:42

avatar

You awesome !
Thanks !

All MSI LGA1151 boards can work with 6-core cpu.
Use Intel Flash Image Tool and decomp original BIOS image.
Then extract vbios and upgrade to 1054.
For coffee lake 6-core,you need change sku (at the top of Flash Image Tool window )to Z370.
And ME FW Version is not important here.
Replace BIOS Region.bin to a MSI Z370 one.And replace Z370's vbios to the one we upgraded.
Build image and flash via SPI Programmer( may be need to change 8M Flash chip to 16M)
Last isolate 2 pins on cpu and you can power on.

#5 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by dsanke 28.02.2018 17:06

avatar

according to my test
if you modify a 100/200 seriers motherboard
me fw version last 4 numbers is 1xxx all can work with coffee lake i3
when it is 3xxx it can not boot

if you modify a z370 motherboard
downgrade me fw to 1xxx and add microcode , you can boot skylake and kabylake

and i have a question
how can i to add kaby lake support to bios
i have clevo laptop p775dm with z170 and i want to play with i7 7700
but clevo didn't release new bios to support kaby lake

#6 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by revlaay 28.02.2018 18:07

great work!

#7 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by Mov AX, 0xDEAD 28.02.2018 18:26

avatar

Zitat von dsanke im Beitrag #5

how can i to add kaby lake support to bios
i have clevo laptop p775dm with z170 and i want to play with i7 7700
but clevo didn't release new bios to support kaby lake

too hard work, you need manualy rewrite some asm parts in about 15-20 pei&dxe modules in uefi, add new cpuid/logic and etc.

#8 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by dsanke 28.02.2018 18:30

avatar

Zitat von Mov AX, 0xDEAD im Beitrag #7
Zitat von dsanke im Beitrag #5

how can i to add kaby lake support to bios
i have clevo laptop p775dm with z170 and i want to play with i7 7700
but clevo didn't release new bios to support kaby lake

too hard work, you need manualy rewrite some asm parts in about 15-20 pei&dxe modules in uefi, add new cpuid/logic and etc.

my laptop have new editon p775dm2 and it support kaby lake
i can flash its bios to my device but got only 2 problems.
1. can not power off ,after shutdown it wil automatic boot up.
2.speakers and audio jacks can't work.
in this case , can i get all things work?

#9 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by dsanke 28.02.2018 18:37

avatar

Zitat von Mov AX, 0xDEAD im Beitrag #7
Zitat von dsanke im Beitrag #5

how can i to add kaby lake support to bios
i have clevo laptop p775dm with z170 and i want to play with i7 7700
but clevo didn't release new bios to support kaby lake

too hard work, you need manualy rewrite some asm parts in about 15-20 pei&dxe modules in uefi, add new cpuid/logic and etc.

why is it so easy to get coffee lake work with kaby lake bios?

#10 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by Mov AX, 0xDEAD 28.02.2018 19:07

avatar

Zitat von dsanke im Beitrag #9

why is it so easy to get coffee lake work with kaby lake bios?

because they have one cpuid family 906Ex, pre 3xx bioses can't distinguish kaby&coffee, if they can kaby, they can coffee too.
on z370 i seen in some modules special logic for cpuid = 906EB (4 cores coffee), so z370 knows about some coffes

#11 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by Mov AX, 0xDEAD 28.02.2018 20:06

avatar

Zitat von dsanke im Beitrag #4
Last isolate 2 pins on cpu and you can power on.

what pins do you meen ?

#12 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by dsanke 28.02.2018 20:18

avatar

Zitat von Mov AX, 0xDEAD im Beitrag #11
Zitat von dsanke im Beitrag #4
Last isolate 2 pins on cpu and you can power on.

what pins do you meen ?


#13 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by Mov AX, 0xDEAD 28.02.2018 23:24

avatar

Zitat von dsanke im Beitrag #12
Zitat von Mov AX, 0xDEAD im Beitrag #11
Zitat von dsanke im Beitrag #4
Last isolate 2 pins on cpu and you can power on.

what pins do you meen ?




2 selected rsvd pins out of 20 rsvd pins
what is point ?

#14 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by dsanke 01.03.2018 02:21

avatar

Zitat von Mov AX, 0xDEAD im Beitrag #13
Zitat von dsanke im Beitrag #12
Zitat von Mov AX, 0xDEAD im Beitrag #11
Zitat von dsanke im Beitrag #4
Last isolate 2 pins on cpu and you can power on.

what pins do you meen ?




2 selected rsvd pins out of 20 rsvd pins
what is point ?


someone didn't isolate the pins and he got these 2 pins in socket melt down.

#15 RE: Fixing PCI-Express for Coffee Lake CPUs on Sky/Kaby Lake non-Asrock motherboards by dzpliu 01.03.2018 03:01

Thanks for sharing info!

Xobor Forum Software von Xobor
Datenschutz