-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Coffee Lake/Comet Lake #4
Comments
I suppose some dependencies are missing info about your PCH. Have you tried the debug version this efi?And since you mentioned OpenCore compatibility, what's the output in Clover? You can manually load it in UEFI shell. |
TbtForcePower should work fine with OC. The actual issue is that the Kaby Lake GPIO library (from edk2-platforms doesn't support your HM370 (Coffee Lake) PCH. It looks like CoffeelakeSiliconPkg supports HM370. I wonder if it's possible to use multiple versions of the same type of library in EDK2 - it doesn't help that KabylakeOpenBoardPkg/KabylakeSiliconPkg probably aren't meant to be used the way I'm using them... |
Hello, It doesn't work with OpenCore 6.0 on Intel NUC 10 (i7-10710U) - halting on critical error. |
@zavrazhny Since related borad package is not available from EDK2, the only way is to follow the guide and use that SSDT for values to be hardcoded in the efi. Someone I know managed to compiled his on a whiskey lake board, so the method should still be good. However, you need to adapt similar structure for your DSDT/SSDT. |
Here's a debug build that uses libraries from CoffeeLakeSiliconPkg, please try it on CFL/CML. |
I tried it on i7-9750H and it gives this error and freeze before open core lets me select boot option: |
Here's another debug version for testing, this will dump the Thunderbolt info HOB. 0x1FFFFFF doesn't look like a valid GPIO pad (chipset ID = 1 which is for SKL-H/KBL-H, not CFL) - maybe the HOB structure changed? |
Freezes are normal on assertion failure. Yup, this matches this HOB structure: https://github.com/tianocore/edk2-platforms/blob/f86c932ba5b3944ba3cab3b199796ae7cb4d203b/Platform/Intel/WhiskeylakeOpenBoardPkg/Features/Tbt/Include/TbtPolicyCommonDefinition.h Try this version: TbtForcePower.efi.zip |
Good news: Now it successfully boots, I didn't see anything notable. Bad news: Still, when I plugged in my eGPU, it says "No Removable GPU". Thanks for your help! |
Good to hear, it looks like TbtForcePower did its job. I'll keep this open until someone confirms that it also works on CML.
Thunderbolt is a fairly complex standard, and unfortunately TbtForcePower itself isn't enough for proper functionality in macOS. At a minimum, you'll probably need additional ACPI edits (and maybe even firmware modifications): some info is available in osy's NUC guide and CaseySJ's Z490 Vision D guide. I don't really have any advice of my own, since I still haven't looked extensively into fixing TB3 on my system (XPS 9560, KBL with Alpine Ridge). |
Awesome. Thanks for your help! At least we got one more piece of the puzzle somewhat working. And btw this is Big Sur. |
Can also confirm this works on my HP Z2 Mini G4 w/ thunderbolt flex io. (my initial attempt following the guide to track I tried osy's NUC guide as well as the ssdts in thunderboltnative, they do make disconnection immediate (previously IOReg does not refresh and I cannot see GPU disconnected notification), so I can get this: However, hot plug doesn't work so far, I can see the logs
But the device doesn't show up anywhere. Using methods from osy's guide has the same effect (immediate disconnection, no hot plug). Here is the log:
|
Good news, it seems on HP Z2 Mini G4, I can get TB hot plug working (without sleep wake, sometimes it works after wake, sometimes not). XHC2 disappears if boot up with TB plugged, otherwise both HotPlug works before sleep wake Thanks to this version of Tbtforcepower.efi |
I can confirm this version works on ASRock Z490 ITX/TB3. Without it, TB3 external disk is ignored. With it, hot plug works really well. |
work good in my nuc8i3beh cfl |
Hi,
I tried to use this with Opencore, but it is giving me this error:
I am using Opencore 0.5.9 (Newest), and I added TbtForcePower.efi in Drivers, and added it into my config.plist.
My CPU is i7-9750H (Razer Blade).
I am not sure if this EFI is compatible with Open core, or is there additional procedure needed to get this driver to work in open core? Thanks.
The text was updated successfully, but these errors were encountered: