Jump to content

OpenCore General Discussion


dgsga
8,805 posts in this topic

Recommended Posts

46 minutes ago, tarvi47 said:

Hi!

 

I tried this also, it's for opencore 0.5.9 and it boots to my desktop very well.

My be you some hints more.

 

Thnx!

Just use that app to generate a 0.5.9 config and then use OCBuilder app to compile 0.6.0 and update the config.plist with the changes from the Sample.plist.

  • Like 1
Link to comment
Share on other sites

Hi all,

I am getting this error when booting my hackintosh laptop: Dependency com.apple.iokit.IOHIDSystem fallback to com.apple.iokit.IOHIDFamily succeeded. Please fix your kext!

 

Its getting stuck at End randomSeed. I have tried the debugging which the opencore guide says, but no luck whatsoever.

Can anyone help me plssss???

Link to comment
Share on other sites

Thanks, just ran it on my "Out of date" config...now to try and fix it :)

Spoiler



OCS: No schema for Block at 1 index, context <ACPI>!
OCS: No schema for Block at 1 index, context <DeviceProperties>!
OCS: No schema for HideSelf at 3 index, context <Boot>!
OCS: No schema for Block at 1 index, context <NVRAM>!
OCS: No schema for DirectGopCacheMode at 2 index, context <Output>!
OCS: No schema for Protocols at 6 index, context <UEFI>!
OCS: No schema for RequestBootVarFallback at 3 index, context <Quirks>!


 

 

Edited by D-an-W
Link to comment
Share on other sites

14 hours ago, Andrey1970 said:

 

No! Use OC utility ocvalidate.

how to compile the utility? When i type 'make' this is what i get:

cc -c -fshort-wchar -Wall -Wextra -D EFIUSER -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -Wno-address -mmacosx-version-min=10.6 -O3 -I../../User/Include -I../../Include/Acidanthera -I../../Include/Apple -I../../Include/Apple/X64 -I../../Include/Generic -I../../Include/Intel -I../../Include/Microsoft -D NO_MSABI_VA_FUNCS -D OC_TARGET_DEBUG -I../../UDK/MdePkg/Include -I../../UDK/MdePkg/Include/Library -I../../UDK/MdePkg/Include/X64 -I../../UDK/MdePkg/Library/BaseLib -I../../UDK/MdeModulePkg/Include -I../../UDK/UefiCpuPkg/Include -include ../../User/Include/Pcd.h -include ../../User/Include/GlobalVar.h ocvalidate.c -o Darwin_X64/ocvalidate.o

In file included from <built-in>:1:

./../../User/Include/Pcd.h:9:10: fatal error: 'Uefi.h' file not found

#include <Uefi.h>

         ^~~~~~~~

1 error generated.

make: *** [Darwin_X64/ocvalidate.o] Error 1

Link to comment
Share on other sites

1 hour ago, Paksman said:

how to compile the utility? When i type 'make' this is what i get:

cc -c -fshort-wchar -Wall -Wextra -D EFIUSER -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -Wno-address -mmacosx-version-min=10.6 -O3 -I../../User/Include -I../../Include/Acidanthera -I../../Include/Apple -I../../Include/Apple/X64 -I../../Include/Generic -I../../Include/Intel -I../../Include/Microsoft -D NO_MSABI_VA_FUNCS -D OC_TARGET_DEBUG -I../../UDK/MdePkg/Include -I../../UDK/MdePkg/Include/Library -I../../UDK/MdePkg/Include/X64 -I../../UDK/MdePkg/Library/BaseLib -I../../UDK/MdeModulePkg/Include -I../../UDK/UefiCpuPkg/Include -include ../../User/Include/Pcd.h -include ../../User/Include/GlobalVar.h ocvalidate.c -o Darwin_X64/ocvalidate.o

In file included from <built-in>:1:

./../../User/Include/Pcd.h:9:10: fatal error: 'Uefi.h' file not found

#include <Uefi.h>

         ^~~~~~~~

1 error generated.

make: *** [Darwin_X64/ocvalidate.o] Error 1

 

Open a terminal

git clone https://github.com/acidanthera/OpenCorePkg.git

Go to Opencore directory just create after "git clone" launch ./build_oc.tool

Build results will be in subdirectory UDK/Build/OpenCorePkg/ -> DEBUG,NOOPT,RELEASE

Unzip OpenCore-0.6.0-xxxx.zip according to your choice.

Result will be in OpenCore-0.6.0-xxxx/Utilities/ocvalidate

 

Fred

Edited by FredWst
  • Like 1
Link to comment
Share on other sites

22 hours ago, Common_Sense said:

 

After you have removed BlacklistAppleUpdate, then go to https://opencore.slowgeek.com/ and validate your config.plist, it can help you to find misstakes in your config.

 

BlacklistAppleUpdate have been removed in newer versions of Opencore and replaced with something else, not sure exactly what was replacing it.

Thanks ! I've done it and all is validate by opencore.slowgeek :-)

 

I'll try to boot now.

 

A a nice day, thanks

Link to comment
Share on other sites

On 7/31/2020 at 8:53 AM, FredWst said:

 

I've a similar issue on hack MM8,1 reboot on Apple logo -> it needs -v option to boot. (Very strange, will make a debug log) 

 

@vit9696

I've found the issue, but not able to explain why...

I always made tweak DSDT and the one for my MM8,1 set ASPM in PCI space  for WIFI sleep/wake. (OC do that now but write 0x0)

 


  Scope (_SB)
    {
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            ^PCI0.RP01.ASPM = 0x41
            ^PCI0.RP01.ARPT.ASPM = 0x41
        }
*************************************

            Device (RP01)
            {
                Name (_ADR, 0x001C0007)  // _ADR: Address
                OperationRegion (LLLL, PCI_Config, 0x50, One)
                Field (LLLL, AnyAcc, NoLock, Preserve)
                {
                    ASPM,   8
                }

************************************

                Device (ARPT)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    OperationRegion (LLLL, PCI_Config, 0xBC, One)
                    Field (LLLL, AnyAcc, NoLock, Preserve)
                    {
                        ASPM,   8
                    }

 

 

Fred

Link to comment
Share on other sites

question to anybody.Is there a way to make external boot ENTRIES shows up in opencanopy just by themselves and nothing else?

Edited by galisrule
Link to comment
Share on other sites

On 8/2/2020 at 4:34 PM, FredWst said:

 

@vit9696

I've found the issue, but not able to explain why...

I always made tweak DSDT and the one for my MM8,1 set ASPM in PCI space  for WIFI sleep/wake. (OC do that now but write 0x0)

 

 


  Scope (_SB)
    {
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            ^PCI0.RP01.ASPM = 0x41
            ^PCI0.RP01.ARPT.ASPM = 0x41
        }
*************************************

            Device (RP01)
            {
                Name (_ADR, 0x001C0007)  // _ADR: Address
                OperationRegion (LLLL, PCI_Config, 0x50, One)
                Field (LLLL, AnyAcc, NoLock, Preserve)
                {
                    ASPM,   8
                }

************************************

                Device (ARPT)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    OperationRegion (LLLL, PCI_Config, 0xBC, One)
                    Field (LLLL, AnyAcc, NoLock, Preserve)
                    {
                        ASPM,   8
                    }

 

 

 

Fred

 

Have you tried replacing 0x41 with this values: 0x40 or 0x42 or 0x43. Here you can find out more.

Link to comment
Share on other sites

On 8/2/2020 at 9:28 PM, FredWst said:

 

Open a terminal

git clone https://github.com/acidanthera/OpenCorePkg.git

Go to Opencore directory just create after "git clone" launch ./build_oc.tool

Build results will be in subdirectory UDK/Build/OpenCorePkg/ -> DEBUG,NOOPT,RELEASE

Unzip OpenCore-0.6.0-xxxx.zip according to your choice.

Result will be in OpenCore-0.6.0-xxxx/Utilities/ocvalidate

 

Fred

Or use my "Bob The Builder"

  • Like 2
Link to comment
Share on other sites

I just switched from Clover to OpenCore yesterday and I'm impressed. Though I really need something akin to Clover's ResetHDA functionality.

VoodooHDA doesn't cut it and has its own issues and, for obvious reasons, I'd prefer to use the native audio solution on macOS.

 

What's the best way to approach the developers on this? I'd personally try my shot at implementing it, depending on where to start.

Does it make sense to add it to OpenCore itself or is it preferred to be implemented as an EFI driver?

(Never tried EFI hacking before, though I might find a way around it).

Link to comment
Share on other sites

×
×
  • Create New...