Fix Broadcom Ethernet on older Macs

This commit is contained in:
Mykola Grymalyuk
2021-03-26 21:15:32 -06:00
parent fbae80ec26
commit b227480e6c
7 changed files with 4 additions and 10 deletions

View File

@@ -4,7 +4,6 @@
- Add SMC-Spoof.kext to avoid triggering `smcupdater`
- Add Root Volume patching for older machines
- AppleHDA Patch for 2011 and older (Excluding MacPro4,1+)
- AppleBCM5701Ethernet patch for certain 2009-2011 Macs
- Fix CPU Speed reporting
- Increment binaries
- OpenCore c92bcb7 (0.6.8 rolling - 2021-03-20)
@@ -16,6 +15,8 @@
- Add custom SD Card icon
- Add automatic codesiging and notarization
- Fix crashing when CD is present
- Add custom SSD icon
- Fix Broadcom Ethernet on older 2009-2011 Macs
## 0.0.18
- Disable Vault by default due to breaking installations

View File

@@ -94,7 +94,6 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
print("""Patches Root volume to fix misc issues such as:
- Audio (AppleHDA) Patch for 2011 and older (Excluding MacPro4,1+)
- Ethernet (AppleBCM5701Ethernet) Patch for certain 2009-2011 Macs
WARNING: Root Volume Patching is still in active development, please
have all important user data backed up. Note when the system volume

View File

@@ -15,7 +15,7 @@ class Constants:
self.lilu_version = "1.5.1"
self.whatevergreen_version = "1.4.8"
self.airportbcrmfixup_version = "2.1.2"
self.bcm570_version = "1.0.0"
self.bcm570_version = "1.0.1"
self.marvel_version = "1.0.0"
self.nforce_version = "1.0.0"
self.mce_version = "1.0.0"

View File

@@ -162,12 +162,6 @@ class PatchSysVolume:
subprocess.run(f"sudo cp -R '{self.constants.applehda_path}' '{self.mount_extensions}'".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()
rebuild_required = True
if self.model in ModelArray.EthernetBroadcom:
print("- Attempting AppleBCM5701Ethernet Patch")
subprocess.run(f"sudo rm -R '{self.mount_extensions}/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext'".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()
subprocess.run(f"sudo cp -R '{self.constants.applebcm_path}' '{self.mount_extensions}/IONetworkingFamily.kext/Contents/PlugIns/'".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()
rebuild_required = True
if (self.model in ModelArray.LegacyGPU) and (Path(self.constants.hiddhack_path).exists()):
print(f"- Detected GPU: {self.constants.current_gpuv} {self.constants.current_gpud}")
if (self.constants.current_gpuv == "AMD (0x1002)") & (self.constants.current_gpud in ModelArray.AMDMXMGPUs):

View File

@@ -86,7 +86,7 @@ class BuildOpenCore:
# Ethernet patches
("nForceEthernet.kext", self.constants.nforce_version, self.constants.nforce_path, lambda: self.model in ModelArray.EthernetNvidia),
("MarvelYukonEthernet.kext", self.constants.marvel_version, self.constants.marvel_path, lambda: self.model in ModelArray.EthernetMarvell),
#("CatalinaBCM5701Ethernet.kext", self.constants.bcm570_version, self.constants.bcm570_path, lambda: self.model in ModelArray.EthernetBroadcom),
("CatalinaBCM5701Ethernet.kext", self.constants.bcm570_version, self.constants.bcm570_path, lambda: self.model in ModelArray.EthernetBroadcom),
# Legacy audio
#("VoodooHDA.kext", self.constants.voodoohda_version, self.constants.voodoohda_path, lambda: self.model in ModelArray.LegacyAudio),
# IDE patch