Contribute
Register

[Guide] Intel Kaby Lake NUC7 using Clover UEFI (NUC7i7BNH, NUC7i5BNK, NUC7i3BNH, etc)

Status
Not open for further replies.
Thanks for replying. I attach gen debug

Try iMac14,2 or iMac14,1 as per guide (eg. use the config.plist from the guide... do not edit the config.plist with Clover Configurator).

Also, config.plist/SMBIOS/Trust should be set false.

Your drivers64UEFI is wrong.
You have both OsxAptioMemoryFix-64.efi and AptioMemoryFix.efi... OsxAptioMemoryFix-64.efi must be paired with EmuVariableUefi-64.efi or use AptioMemoryFix.efi (without OsxAptioFixDrv-64.efi and without EmuVariableUefi-64.efi).

Finally, the guide recommends the RehabMan build of Clover, not Clover from sourceforge.

Also, check BIOS settings to insure they are as per guide.
 
Last edited:
Try iMac14,2 or iMac14,1 as per guide (eg. use the config.plist from the guide... do not edit the config.plist with Clover Configurator).

Also, config.plist/SMBIOS/Trust should be set false.

Your drivers64UEFI is wrong.
You have both OsxAptioMemoryFix-64.efi and AptioMemoryFix.efi... OsxAptioMemoryFix-64.efi must be paired with EmuVariableUefi-64.efi or use AptioMemoryFix.efi (without OsxAptioFixDrv-64.efi and without EmuVariableUefi-64.efi).

Finally, the guide recommends the RehabMan build of Clover, not Clover from sourceforge.

Also, check BIOS settings to insure they are as per guide.
the problem with sleep was not solved
transition to imac 14,2 and disable fixownership
also removed OsxAptioFixDrv-64.efi

bios is configured as you recommend
 

Attachments

  • debug_6108.zip
    1.8 MB · Views: 108
Last edited:
the problem with sleep was not solved
transition to imac 14,2 and disable fixownership
also removed OsxAptioFixDrv-64.efi

bios is configured as you recommend

These files show no sleep attempt... make sure the files you attach are collected after running through your reproduce scenario.

I haven't checked the NUC7 yet, but my NUC6 has stupid/buggy code in XDCI._STA:
Code:
            Method (_STA, 0, NotSerialized)
            {
                If (LNotEqual (DVID, 0xFFFFFFFF))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }

DVID is defined as follows:
Code:
            Field (OTGD, DWordAcc, NoLock, Preserve)
            {
                DVID,   16,

OK... so DVID is 16-bit, maximum value 0xFFFF.

So the comparison "LNotEqual (DVID, 0xFFFFFFFF)" will always be true, therefore _STA will always return 0xF.

They probably meant to write:
Code:
            Method (_STA, 0, NotSerialized)
            {
                If (LNotEqual (DVID, 0xFFFF))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }

It is relatively easy to make a replacement _STA.
First the XDCI._STA must be renamed... can be done with this entry in config.plist/ACPI/DSDT/Patches:
Comment: change XDCI._STA to XDCI.XSTA
Find: <5f535441>
Replace: <58535441>
TgtBridge: <58444349>

And then this additional code in SSDT-NUC7.dsl:
Code:
    Name(_SB.PCI0.XDCI._STA, 0)

With those changes in place, XDCI._STA will return 0.

The code for _STA could also be fixed (in SSDT-NUC7.dsl, same rename in config.plist)...
Code:
    External(_SB.PCI0.XDCI.DVID, FieldUnitObj)
    Method(_SB.PCI0.XDCI._STA)
    {
        If (DVID != 0xFFFF) { Return (0xf) } Else { Return (0) }
    }

Update: Testing this on my NUC6i7KYK... Found same/similar problem, but it doesn't happen if you use the yellow (charging) USB port. You might try that as a work around. And fixing XDCI._STA removes XDCI from the wake reason, but then you get wake reason XHC (and perhaps GLAN if you have it [incorrectly] enabled in SysPrefs). Although that kind of USB instant wake can be fixed (patching _PRW), it involves disabling wake on USB.
 
Last edited:
Many thanks for the given help and time. Another strange problem appeared that I see for the first time.
imessage (+ my rom) work perfect.Audio messages and text messages incoming, outgoing work.
Face time audio call not work.Press accept-the call is reset
 
Many thanks for the given help and time. Another strange problem appeared that I see for the first time.
imessage (+ my rom) work perfect.Audio messages and text messages incoming, outgoing work.
Face time audio call not work.Press accept-the call is reset

Your profile has no hardware details. Please fix as per guide/FAQ.
And you didn't attach any problem reporting files... read post #1.
I don't really use Facetime audio, so no idea if it works or not...
 
Your profile has no hardware details. Please fix as per guide/FAQ.
And you didn't attach any problem reporting files... read post #1.
I don't really use Facetime audio, so no idea if it works or not...
reporting file debug_6108.zip

the problem was always, I also did not use the facetime audio call. I found it instead with the problem sleep.
 
These files show no sleep attempt... make sure the files you attach are collected after running through your reproduce scenario.

I haven't checked the NUC7 yet, but my NUC6 has stupid/buggy code in XDCI._STA:
Code:
            Method (_STA, 0, NotSerialized)
            {
                If (LNotEqual (DVID, 0xFFFFFFFF))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }

DVID is defined as follows:
Code:
            Field (OTGD, DWordAcc, NoLock, Preserve)
            {
                DVID,   16,

OK... so DVID is 16-bit, maximum value 0xFFFF.

So the comparison "LNotEqual (DVID, 0xFFFFFFFF)" will always be true, therefore _STA will always return 0xF.

They probably meant to write:
Code:
            Method (_STA, 0, NotSerialized)
            {
                If (LNotEqual (DVID, 0xFFFF))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }

It is relatively easy to make a replacement _STA.
First the XDCI._STA must be renamed... can be done with this entry in config.plist/ACPI/DSDT/Patches:
Comment: change XDCI._STA to XDCI.XSTA
Find: <5f535441>
Replace: <58535441>
TgtBridge: <58444349>

And then this additional code in SSDT-NUC7.dsl:
Code:
    Name(_SB.PCI0.XDCI._STA, 0)

With those changes in place, XDCI._STA will return 0.

The code for _STA could also be fixed (in SSDT-NUC7.dsl, same rename in config.plist)...
Code:
    External(_SB.PCI0.XDCI.DVID, FieldUnitObj)
    Method(_SB.PCI0.XDCI._STA)
    {
        If (DVID != 0xFFFF) { Return (0xf) } Else { Return (0) }
    }

Update: Testing this on my NUC6i7KYK... Found same/similar problem, but it doesn't happen if you use the yellow (charging) USB port. You might try that as a work around. And fixing XDCI._STA removes XDCI from the wake reason, but then you get wake reason XHC (and perhaps GLAN if you have it [incorrectly] enabled in SysPrefs). Although that kind of USB instant wake can be fixed (patching _PRW), it involves disabling wake on USB.
The problem with getting out of sleep glan solved earlier so-
energy saving
output ethernet from sleep-disable, enable power nap-disable

in any case, thanks
 
Last edited:
The problem with getting out of sleep glan solved earlier so-
energy saving
output ethernet from sleep-disable, enable power nap-disable

in any case, thanks

No idea what you're saying...
Wake on lan should be disabled everywhere (in BIOS, in option ROM for LAN chip, in SysPrefs)
 
Status
Not open for further replies.
Back
Top