al3xtjames / ThunderboltPkg

Apache License 2.0
46 stars 13 forks source link

ThunderboltPkg

Various incomplete attempts to fix Thunderbolt on macOS

TbtForcePower

UEFI driver that attempts to force the internal Thunderbolt controller to power on at boot. This aims to replicate the functionality of the \_SB.TBFP ACPI method at boot time. See the FAQ for additional information.

Building

It is assumed that you have a functional EDK2 workspace.

TbtForcePower uses various chipset GPIO libraries from the Kaby Lake platform code in edk2-platforms. Ensure that edk2-platforms/Platform/Intel and edk2-platforms/Silicon/Intel are included in PACKAGES_PATH before building.

Additionally, the following patch must be applied to edk2-platforms:

$ curl 'https://github.com/al3xtjames/edk2-platforms/commit/ed9fae7b7e4621c391d3d485ddb18c3fdfb5507a.patch' | git apply