mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-14 03:16:28 +10:00
Merge branch 'main' into autopatcher
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
- Automatic Light/Darkmode (credit @moosethegoose2213)
|
||||
- Increment Binaries:
|
||||
- PatcherSupportPkg 0.3.6 - release
|
||||
- OpenCorePkg 0.8.0 - release
|
||||
- FeatureUnlock 1.0.8 - release
|
||||
- CPUFriend 1.2.5 - release
|
||||
- WhateverGreen 1.5.8 - release
|
||||
- Speed up loading available remote macOS Installers from Apple
|
||||
- Skips writing catalogs to disk, loads into memory directly
|
||||
|
||||
|
||||
@@ -1522,6 +1522,8 @@
|
||||
<false/>
|
||||
<key>AppleXcpmForceBoost</key>
|
||||
<false/>
|
||||
<key>CustomPciSerialDevice</key>
|
||||
<false/>
|
||||
<key>CustomSMBIOSGuid</key>
|
||||
<false/>
|
||||
<key>DisableIoMapper</key>
|
||||
@@ -1534,6 +1536,8 @@
|
||||
<false/>
|
||||
<key>ExternalDiskIcons</key>
|
||||
<false/>
|
||||
<key>ForceAquantiaEthernet</key>
|
||||
<false/>
|
||||
<key>ForceSecureBootScheme</key>
|
||||
<false/>
|
||||
<key>IncreasePciBarSize</key>
|
||||
@@ -1612,8 +1616,8 @@
|
||||
<integer>0</integer>
|
||||
<key>DisplayLevel</key>
|
||||
<integer>2147483650</integer>
|
||||
<key>SerialInit</key>
|
||||
<false/>
|
||||
<key>LogModules</key>
|
||||
<string>*</string>
|
||||
<key>SysReport</key>
|
||||
<false/>
|
||||
<key>Target</key>
|
||||
@@ -1654,6 +1658,40 @@
|
||||
<key>Vault</key>
|
||||
<string>Optional</string>
|
||||
</dict>
|
||||
<key>Serial</key>
|
||||
<dict>
|
||||
<key>Custom</key>
|
||||
<dict>
|
||||
<key>BaudRate</key>
|
||||
<integer>115200</integer>
|
||||
<key>ClockRate</key>
|
||||
<integer>1843200</integer>
|
||||
<key>DetectCable</key>
|
||||
<false/>
|
||||
<key>ExtendedTxFifoSize</key>
|
||||
<integer>64</integer>
|
||||
<key>FifoControl</key>
|
||||
<integer>7</integer>
|
||||
<key>LineControl</key>
|
||||
<integer>3</integer>
|
||||
<key>PciDeviceInfo</key>
|
||||
<data>/w==</data>
|
||||
<key>RegisterAccessWidth</key>
|
||||
<integer>8</integer>
|
||||
<key>RegisterBase</key>
|
||||
<integer>1016</integer>
|
||||
<key>RegisterStride</key>
|
||||
<integer>1</integer>
|
||||
<key>UseHardwareFlowControl</key>
|
||||
<false/>
|
||||
<key>UseMmio</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Init</key>
|
||||
<false/>
|
||||
<key>Override</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Tools</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
+5
-2
@@ -612,6 +612,7 @@ class BuildOpenCore:
|
||||
"CAIL,CAIL_DisableUVDPowerGating": 1,
|
||||
"CAIL,CAIL_DisableVCEPowerGating": 1,
|
||||
"agdpmod": "pikera",
|
||||
"enable-gva-support": 1
|
||||
})
|
||||
if self.constants.imac_model == "Legacy GCN":
|
||||
print("- Adding Legacy GCN Power Gate Patches")
|
||||
@@ -622,6 +623,7 @@ class BuildOpenCore:
|
||||
"CAIL,CAIL_DisableUVDPowerGating": 1,
|
||||
"CAIL,CAIL_DisableVCEPowerGating": 1,
|
||||
"agdpmod": "pikera",
|
||||
"enable-gva-support": 1
|
||||
})
|
||||
if self.model == "iMac11,2":
|
||||
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x0)"].update({
|
||||
@@ -631,6 +633,7 @@ class BuildOpenCore:
|
||||
"CAIL,CAIL_DisableUVDPowerGating": 1,
|
||||
"CAIL,CAIL_DisableVCEPowerGating": 1,
|
||||
"agdpmod": "pikera",
|
||||
"enable-gva-support": 1
|
||||
})
|
||||
|
||||
# Check GPU Vendor
|
||||
@@ -668,7 +671,7 @@ class BuildOpenCore:
|
||||
print(f"- Found dGPU ({i + 1}) at {device.pci_path}")
|
||||
if isinstance(device, device_probe.AMD):
|
||||
print("- Adding Mac Pro, Xserve DRM patches")
|
||||
self.config["DeviceProperties"]["Add"][device.pci_path] = {"shikigva": 128, "unfairgva": 1, "rebuild-device-tree": 1, "agdpmod": "pikera"}
|
||||
self.config["DeviceProperties"]["Add"][device.pci_path] = {"shikigva": 128, "unfairgva": 1, "rebuild-device-tree": 1, "agdpmod": "pikera", "enable-gva-support": 1}
|
||||
elif isinstance(device, device_probe.NVIDIA):
|
||||
print("- Enabling Nvidia Output Patch")
|
||||
self.config["DeviceProperties"]["Add"][device.pci_path] = {"rebuild-device-tree": 1, "agdpmod": "vit9696"}
|
||||
@@ -681,7 +684,7 @@ class BuildOpenCore:
|
||||
print("- Adding Mac Pro, Xserve DRM patches")
|
||||
if "shikigva=128 unfairgva=1" not in self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"]:
|
||||
print("- Falling back to boot-args")
|
||||
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " shikigva=128 unfairgva=1 agdpmod=pikera" + (
|
||||
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " shikigva=128 unfairgva=1 agdpmod=pikera radgva=1" + (
|
||||
" -wegtree" if "-wegtree" not in self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] else ""
|
||||
)
|
||||
elif isinstance(device, device_probe.NVIDIA):
|
||||
|
||||
@@ -28,22 +28,22 @@ class Constants:
|
||||
|
||||
# OpenCore Versioning
|
||||
# https://github.com/acidanthera/OpenCorePkg
|
||||
self.opencore_commit = "30798fb - 02-07-2022"
|
||||
self.opencore_version = "0.7.8"
|
||||
self.opencore_commit = "30798fb - 04-18-2022"
|
||||
self.opencore_version = "0.8.0"
|
||||
|
||||
# Kext Versioning
|
||||
## Acidanthera
|
||||
## https://github.com/acidanthera
|
||||
self.lilu_version = "1.6.0" # Lilu
|
||||
self.whatevergreen_version = "1.5.7" # WhateverGreen
|
||||
self.whatevergreen_version = "1.5.8" # WhateverGreen
|
||||
self.airportbcrmfixup_version = "2.1.3" # AirPortBrcmFixup
|
||||
self.nvmefix_version = "1.0.9" # NVMeFix
|
||||
self.applealc_version = "1.6.3" # AppleALC
|
||||
self.restrictevents_version = "1.0.6" # RestrictEvents
|
||||
self.restrictevents_mbp_version = "1.0.6" # RestrictEvents blocking displaypolicyd (see RestrictEvents-MBP91.patch)
|
||||
self.featureunlock_version = "1.0.7" # FeatureUnlock
|
||||
self.featureunlock_version = "1.0.8" # FeatureUnlock
|
||||
self.debugenhancer_version = "1.0.4" # DebugEnhancer
|
||||
self.cpufriend_version = "1.2.4" # CPUFriend
|
||||
self.cpufriend_version = "1.2.5" # CPUFriend
|
||||
self.bluetool_version = "2.6.1" # BlueToolFixup (BrcmPatchRAM)
|
||||
self.cslvfixup_version = "2.6.1" # CSLVFixup
|
||||
self.autopkg_version = "1.0.0" # AutoPkgInstaller
|
||||
|
||||
Reference in New Issue
Block a user