mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
build.py: Add early MacPro6,1 support
This commit is contained in:
@@ -9,6 +9,9 @@
|
|||||||
- Ensures old, incompatible kexts are not linked against
|
- Ensures old, incompatible kexts are not linked against
|
||||||
- Old kexts are relocated to `/Library/Relocated Extensions`
|
- Old kexts are relocated to `/Library/Relocated Extensions`
|
||||||
- Add OpenCore Picker timeout selection
|
- Add OpenCore Picker timeout selection
|
||||||
|
- Partially resolve MacPro6,1 support
|
||||||
|
- Allows for install and usage of 2013 Mac Pros on Ventura
|
||||||
|
- Currently CPU Power Management is not supported
|
||||||
|
|
||||||
## 0.5.0
|
## 0.5.0
|
||||||
- Ventura Specific Updates:
|
- Ventura Specific Updates:
|
||||||
|
|||||||
+1
-1
@@ -1588,7 +1588,7 @@ class wx_python_gui:
|
|||||||
# - VBIOS Boot Issue (MacPro6,1)
|
# - VBIOS Boot Issue (MacPro6,1)
|
||||||
# - Non-Metal GPUs
|
# - Non-Metal GPUs
|
||||||
model = self.constants.custom_model or self.constants.computer.real_model
|
model = self.constants.custom_model or self.constants.computer.real_model
|
||||||
if model in model_array.LegacyGPU or model in ["MacPro3,1", "MacPro4,1", "MacPro5,1", "MacPro6,1"]:
|
if model in model_array.LegacyGPU or model in ["MacPro3,1", "MacPro4,1", "MacPro5,1"]:
|
||||||
try:
|
try:
|
||||||
app_major = app_dict['Version'].split(".")[0]
|
app_major = app_dict['Version'].split(".")[0]
|
||||||
if float(app_major) > self.constants.os_support:
|
if float(app_major) > self.constants.os_support:
|
||||||
|
|||||||
@@ -882,6 +882,17 @@ class BuildOpenCore:
|
|||||||
print("- Enabling AHCI SSD patch")
|
print("- Enabling AHCI SSD patch")
|
||||||
self.enable_kext("MonteAHCIPort.kext", self.constants.monterey_ahci_version, self.constants.monterey_ahci_path)
|
self.enable_kext("MonteAHCIPort.kext", self.constants.monterey_ahci_version, self.constants.monterey_ahci_path)
|
||||||
|
|
||||||
|
# Force VMM as a temporary solution to getting the MacPro6,1 booting in Ventura
|
||||||
|
# With macOS Ventura, Apple removed AppleIntelCPUPowerManagement.kext and assumed XCPM support across all Macs
|
||||||
|
# This change resulted in broken OS booting as the machine had no power management support
|
||||||
|
# Currently the AICPUPM fix is not fully functional, thus forcing VMM is a temporary solution
|
||||||
|
# Waiting for XNU source to be released to fix this properly
|
||||||
|
if self.model == "MacPro6,1":
|
||||||
|
print("- Enabling VMM patch")
|
||||||
|
self.config["Kernel"]["Emulate"]["Cpuid1Data"] = binascii.unhexlify("00000000000000000000008000000000")
|
||||||
|
self.config["Kernel"]["Emulate"]["Cpuid1Mask"] = binascii.unhexlify("00000000000000000000008000000000")
|
||||||
|
self.config["Kernel"]["Emulate"]["MinKernel"] = "22.0.0"
|
||||||
|
|
||||||
# Check if model has 5K display
|
# Check if model has 5K display
|
||||||
# Apple has 2 modes for display handling on 5K iMacs and iMac Pro
|
# Apple has 2 modes for display handling on 5K iMacs and iMac Pro
|
||||||
# If at any point in the boot chain an "unsupported" entry is loaded, the firmware will tell the
|
# If at any point in the boot chain an "unsupported" entry is loaded, the firmware will tell the
|
||||||
|
|||||||
Reference in New Issue
Block a user