Resolve Ethernet support on MacPro3,1-5,1

This commit is contained in:
Mykola Grymalyuk
2022-06-11 11:11:59 -06:00
parent 084c0cc438
commit 05cff05749
6 changed files with 51 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
- Add Ventura Software Catalog parsing - Add Ventura Software Catalog parsing
- Add Kernel Debug Kit checks to Ventura root patching - Add Kernel Debug Kit checks to Ventura root patching
- Add USB map injection for dropped models - Add USB map injection for dropped models
- Resolve Ethernet support on MacPro3,1-5,1
## 0.4.6 ## 0.4.6
- Fix Bluetooth support in 12.4 Release - Fix Bluetooth support in 12.4 Release

View File

@@ -663,6 +663,42 @@
<key>PlistPath</key> <key>PlistPath</key>
<string>Contents/Info.plist</string> <string>Contents/Info.plist</string>
</dict> </dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Comment</key>
<string>Intel 80003ES2LAN Ethernet Patch</string>
<key>Enabled</key>
<false/>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>22.0.0</string>
<key>BundlePath</key>
<string>Intel82574L.kext</string>
<key>ExecutablePath</key>
<string>Contents/MacOS/Intel82574L</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Comment</key>
<string>Intel 82574L Ethernet Patch</string>
<key>Enabled</key>
<false/>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>22.0.0</string>
<key>BundlePath</key>
<string>AppleIntel8254XEthernet.kext</string>
<key>ExecutablePath</key>
<string>Contents/MacOS/AppleIntel8254XEthernet</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict> <dict>
<key>Arch</key> <key>Arch</key>
<string>x86_64</string> <string>x86_64</string>

Binary file not shown.

View File

@@ -219,6 +219,10 @@ class BuildOpenCore:
self.enable_kext("nForceEthernet.kext", self.constants.nforce_version, self.constants.nforce_path) self.enable_kext("nForceEthernet.kext", self.constants.nforce_version, self.constants.nforce_path)
elif smbios_data.smbios_dictionary[self.model]["Ethernet Chipset"] == "Marvell": elif smbios_data.smbios_dictionary[self.model]["Ethernet Chipset"] == "Marvell":
self.enable_kext("MarvelYukonEthernet.kext", self.constants.marvel_version, self.constants.marvel_path) self.enable_kext("MarvelYukonEthernet.kext", self.constants.marvel_version, self.constants.marvel_path)
elif smbios_data.smbios_dictionary[self.model]["Ethernet Chipset"] == "Intel 80003ES2LAN":
self.enable_kext("Intel82574L", self.constants.intel_82574l_version, self.constants.intel_82574l_path)
elif smbios_data.smbios_dictionary[self.model]["Ethernet Chipset"] == "Intel 82574L":
self.enable_kext("AppleIntel8254XEthernet.kext", self.constants.intel_8254x_version, self.constants.intel_8254x_path)
# i3 Ivy Bridge iMacs don't support RDRAND # i3 Ivy Bridge iMacs don't support RDRAND
# However for prebuilt, assume they do # However for prebuilt, assume they do

View File

@@ -58,6 +58,8 @@ class Constants:
self.apfs_zlib_version = "12.3.1" # NoAVXFSCompressionTypeZlib self.apfs_zlib_version = "12.3.1" # NoAVXFSCompressionTypeZlib
self.multitouch_version = "1.0.0" # AppleUSBMultitouch self.multitouch_version = "1.0.0" # AppleUSBMultitouch
self.topcase_version = "1.0.0" # AppleUSBTopCase self.topcase_version = "1.0.0" # AppleUSBTopCase
self.intel_82574l_version = "1.0.0" # Intel82574L
self.intel_8254x_version = "1.0.0" # AppleIntel8254XEthernet
## Apple - Dortania Modified ## Apple - Dortania Modified
self.bcm570_version = "1.0.2" # CatalinaBCM5701Ethernet self.bcm570_version = "1.0.2" # CatalinaBCM5701Ethernet
@@ -303,6 +305,14 @@ class Constants:
def nforce_path(self): def nforce_path(self):
return self.payload_kexts_path / Path(f"Ethernet/nForceEthernet-v{self.nforce_version}.zip") return self.payload_kexts_path / Path(f"Ethernet/nForceEthernet-v{self.nforce_version}.zip")
@property
def intel_82574l_path(self):
return self.payload_kexts_path / Path(f"Ethernet/Intel82574L-v{self.intel_82574l_version}.zip")
@property
def intel_8254x_path(self):
return self.payload_kexts_path / Path(f"Ethernet/AppleIntel8254XEthernet-v{self.intel_8254x_version}.zip")
@property @property
def mce_path(self): def mce_path(self):
return self.payload_kexts_path / Path(f"Misc/AppleMCEReporterDisabler-v{self.mce_version}.zip") return self.payload_kexts_path / Path(f"Misc/AppleMCEReporterDisabler-v{self.mce_version}.zip")