mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
build: Add FixPCIeLinkRate.efi
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# OpenCore Legacy Patcher changelog
|
# OpenCore Legacy Patcher changelog
|
||||||
|
|
||||||
## 0.5.3
|
## 0.5.3
|
||||||
|
- Integrate FixPCIeLinkrate.efi v0.1.0
|
||||||
|
- Fixes link rate for PCIe 3.0 devices on MacPro3,1
|
||||||
|
|
||||||
## 0.5.2
|
## 0.5.2
|
||||||
- Ventura Specific Updates:
|
- Ventura Specific Updates:
|
||||||
|
|||||||
@@ -89,6 +89,8 @@ To run the project from source, see here: [Build and run from source](./SOURCE.m
|
|||||||
* Endless hours helping architect and troubleshoot many portions of the project
|
* Endless hours helping architect and troubleshoot many portions of the project
|
||||||
* [flagers](https://github.com/flagersgit)
|
* [flagers](https://github.com/flagersgit)
|
||||||
* Aid with Nvidia Web Driver research and development
|
* Aid with Nvidia Web Driver research and development
|
||||||
|
* [joevt](https://github.com/joevt)
|
||||||
|
* [FixPCIeLinkrate](https://github.com/joevt/joevtApps)
|
||||||
* MacRumors and Unsupported Mac Communities
|
* MacRumors and Unsupported Mac Communities
|
||||||
* Endless testing, reporting issues
|
* Endless testing, reporting issues
|
||||||
* Apple
|
* Apple
|
||||||
|
|||||||
@@ -2517,6 +2517,18 @@
|
|||||||
<key>LoadEarly</key>
|
<key>LoadEarly</key>
|
||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>FixPCIeLinkRate.efi</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Arguments</key>
|
||||||
|
<string></string>
|
||||||
|
<key>LoadEarly</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>Input</key>
|
<key>Input</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
|||||||
Binary file not shown.
@@ -176,6 +176,12 @@ class build_firmware:
|
|||||||
support.build_support(self.model, self.constants, self.config).get_efi_binary_by_path("XhciDxe.efi", "UEFI", "Drivers")["Enabled"] = True
|
support.build_support(self.model, self.constants, self.config).get_efi_binary_by_path("XhciDxe.efi", "UEFI", "Drivers")["Enabled"] = True
|
||||||
support.build_support(self.model, self.constants, self.config).get_efi_binary_by_path("UsbBusDxe.efi", "UEFI", "Drivers")["Enabled"] = True
|
support.build_support(self.model, self.constants, self.config).get_efi_binary_by_path("UsbBusDxe.efi", "UEFI", "Drivers")["Enabled"] = True
|
||||||
|
|
||||||
|
# PCIe Link Rate check
|
||||||
|
if self.model == "MacPro3,1":
|
||||||
|
print("- Adding PCIe Link Rate Patch")
|
||||||
|
shutil.copy(self.constants.link_rate_driver_path, self.constants.drivers_path)
|
||||||
|
support.build_support(self.model, self.constants, self.config).get_efi_binary_by_path("FixPCIeLinkRate.efi", "UEFI", "Drivers")["Enabled"] = True
|
||||||
|
|
||||||
|
|
||||||
def firmware_compatibility_handling(self):
|
def firmware_compatibility_handling(self):
|
||||||
self.dual_dp_handling()
|
self.dual_dp_handling()
|
||||||
|
|||||||
@@ -265,6 +265,10 @@ class Constants:
|
|||||||
def diags_launcher_path(self):
|
def diags_launcher_path(self):
|
||||||
return self.payload_path / Path("Drivers/diags.efi")
|
return self.payload_path / Path("Drivers/diags.efi")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def link_rate_driver_path(self):
|
||||||
|
return self.payload_path / Path("Drivers/FixPCIeLinkRate.efi")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def list_txt_path(self):
|
def list_txt_path(self):
|
||||||
return self.payload_path / Path("List.txt")
|
return self.payload_path / Path("List.txt")
|
||||||
|
|||||||
Reference in New Issue
Block a user