ycg31 发表于 2020-6-20 16:33

【翻译】适用于Catalina 10.15.5的Ivy Bridge XCPM补丁的解决方案

本帖最后由 ycg31 于 2020-6-20 21:41 编辑

原文:
https://www.insanelymac.com/forum/topic/338516-opencore-discussion/?do=findComment&comment=2724463
Got solution for Ivy Bridge XCPM patch for Catalina 10.15.5.
I compared the Kernels from 10.15.4 and 10.15.5 with a Disassembler and examined the _xcpm_bootstrap looking for 0xC4 & 0x3B (which were patched in 10.15.4).
In 10.15.5, they changed code a bit and “CMP BL, 0x3B” is not there but offset to a table dereference to 0xC4 was there.
Changing the 0xC4 to 0xC6 (for Ivy Bridge) enables XCPM.

The patch is (ONLY for 10.15.5):
Find: 8D43C43C42
Replace: 8D43C63C42

Full OC entry in Kernel->Patch:
                                           <dict>
                              <key>Base</key>
                              <string>_xcpm_bootstrap</string>
                              <key>Comment</key>
                              <string>_xcpm_bootstrap (For Ivy Bridge) 10.15.5 by MacNB</string>
                              <key>Count</key>
                              <integer>1</integer>
                              <key>Enabled</key>
                              <true/>
                              <key>Find</key>
                              <data>
                              jUPEPEI=
                              </data>
                              <key>Identifier</key>
                              <string>kernel</string>
                              <key>Limit</key>
                              <integer>0</integer>
                              <key>Mask</key>
                              <data>
                              </data>
                              <key>MaxKernel</key>
                              <string>19.99.99</string>
                              <key>MinKernel</key>
                              <string>19.5.0</string>
                              <key>Replace</key>
                              <data>
                              jUPGPEI=
                              </data>
                              <key>ReplaceMask</key>
                              <data>
                              </data>
                              <key>Skip</key>
                              <integer>0</integer>
                        </dict>

I get P-States from 1.6Ghz up to my overclock 4.8Ghz.

翻译:
我找到了适用于Catalina 10.15.5的Ivy Bridge XCPM补丁的解决方案。
我用Disassembler将10.15.4和10.15.5的内核进行了比较,并从_xcpm_bootstrap查找0xC4和0x3B(在10.15.4中就是对这两个值进行修补)。
在10.15.5中,他们稍稍更改了代码,“ CMP BL,0x3B”已经不存在了,但0xC4还在。
将0xC4更改为0xC6将启用XCPM(适用于Ivy Bridge)。
该补丁仅适用于10.15.5
查找:8D43C43C42
更换:8D43C63C42
在OC的Kernel->Patch下打补丁:
代码同上
我实现了P-States从1.6GHz一直到睿频4.8GHz。



译者注:如果打了这个补丁,系统无法启动或者没有效果,请将OC里Kernel->Quirks->AppleXcpmExtraMsrs设置为true。

hokimfei 发表于 2020-6-20 19:38

谢谢分享。。。

yjb888 发表于 2020-6-21 20:30

谢谢分享试试!!!!

superxgz 发表于 2020-7-16 22:04

麻烦帮忙找找看 10.15.6的, 升级后被变频被限制在800mhz了, 卡的很

mendax1234 发表于 2020-7-16 22:17

superxgz 发表于 2020-7-17 11:46

感谢大佬, 这个补丁同样适用于10.15.6,解决了我3代无法开启xcpm的问题

左右不过是爱情 发表于 2020-8-26 02:39

superxgz 发表于 2020-7-17 11:46 https://www.pcbeta.com/static/image/common/back.gif
感谢大佬, 这个补丁同样适用于10.15.6,解决了我3代无法开启xcpm的问题

老哥 能发一份你的config.plist给我吗 我也是三代cpu打了之后 没效果 不知道是不是哪弄错了

左右不过是爱情 发表于 2020-8-26 11:58

非常感谢 大佬。解决了变频问题

左右不过是爱情 发表于 2021-1-19 15:18

superxgz 发表于 2020-7-17 11:46 https://www.pcbeta.com/static/image/common/back.gif
感谢大佬, 这个补丁同样适用于10.15.6,解决了我3代无法开启xcpm的问题

你用的哪个机型?

superxgz 发表于 2021-1-20 08:43

左右不过是爱情 发表于 2021-1-19 15:18 https://www.pcbeta.com/static/image/common/back.gif
你用的哪个机型?

iMacPro1,1

丶俊仔 发表于 2021-1-21 05:38

感谢分享!
页: [1]
查看完整版本: 【翻译】适用于Catalina 10.15.5的Ivy Bridge XCPM补丁的解决方案