Pavo Posted August 1, 2020 Share Posted August 1, 2020 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. 1 Link to comment Share on other sites More sharing options...
FredWst Posted August 1, 2020 Share Posted August 1, 2020 2 hours ago, Sherlocks said: seems to fix problem in latest lilu thanks vit9696 Not for my hack, I'll investigate when be back from vacations. Fred 2 Link to comment Share on other sites More sharing options...
salim0786 Posted August 1, 2020 Share Posted August 1, 2020 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 More sharing options...
Andrey1970 Posted August 1, 2020 Share Posted August 1, 2020 3 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. No! Use OC utility ocvalidate. 6 Link to comment Share on other sites More sharing options...
Common_Sense Posted August 1, 2020 Share Posted August 1, 2020 1 hour ago, Andrey1970 said: No! Use OC utility ocvalidate. Great to know, thanks for the tip. Link to comment Share on other sites More sharing options...
D-an-W Posted August 2, 2020 Share Posted August 2, 2020 10 hours ago, Andrey1970 said: No! Use OC utility ocvalidate. Am I right in thinking you have to be booted with OC for this to work? Link to comment Share on other sites More sharing options...
Andrey1970 Posted August 2, 2020 Share Posted August 2, 2020 2 hours ago, D-an-W said: Am I right in thinking you have to be booted with OC for this to work? Doesn't matter as you booted to macOS. 1 Link to comment Share on other sites More sharing options...
D-an-W Posted August 2, 2020 Share Posted August 2, 2020 (edited) 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 August 2, 2020 by D-an-W Link to comment Share on other sites More sharing options...
Paksman Posted August 2, 2020 Share Posted August 2, 2020 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 More sharing options...
D-an-W Posted August 2, 2020 Share Posted August 2, 2020 (edited) Mine was already compiled after compiling OpenCore in the /OpenCorePkg/Utilities/ocvalidate/ folder. Edited August 2, 2020 by D-an-W 2 Link to comment Share on other sites More sharing options...
FredWst Posted August 2, 2020 Share Posted August 2, 2020 (edited) 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 August 2, 2020 by FredWst 1 Link to comment Share on other sites More sharing options...
Andrey1970 Posted August 2, 2020 Share Posted August 2, 2020 The ocvalidate utility has to correspond to the OC version. P.S. In 0.5.9 utility other name ConfigValidity. Link to comment Share on other sites More sharing options...
lesvink Posted August 2, 2020 Share Posted August 2, 2020 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 More sharing options...
FredWst Posted August 2, 2020 Share Posted August 2, 2020 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 More sharing options...
galisrule Posted August 2, 2020 Share Posted August 2, 2020 (edited) question to anybody.Is there a way to make external boot ENTRIES shows up in opencanopy just by themselves and nothing else? Edited August 2, 2020 by galisrule Link to comment Share on other sites More sharing options...
jsl2000 Posted August 3, 2020 Share Posted August 3, 2020 On 8/2/2020 at 3:56 AM, Andrey1970 said: No! Use OC utility ocvalidate. Thanks. But I got this error. How to fix it ? Link to comment Share on other sites More sharing options...
testubabe Posted August 3, 2020 Share Posted August 3, 2020 add the path to your config.plist as an argument to ocvalidate Link to comment Share on other sites More sharing options...
startergo Posted August 3, 2020 Share Posted August 3, 2020 10 hours ago, jsl2000 said: Thanks. But I got this error. How to fix it ? /Volumes/EFI/Utilities/ocvalidate/ocvalidate /Volumes/EFI/EFI/OC/config.plist 1 Link to comment Share on other sites More sharing options...
kocoman Posted August 3, 2020 Share Posted August 3, 2020 How to select boot options in opencore similar to clover in picture? Thanks Link to comment Share on other sites More sharing options...
vandroiy2012 Posted August 3, 2020 Share Posted August 3, 2020 5 minutes ago, kocoman said: How to select boot options in opencore similar to clover in picture? Thanks OpenCore Shell -> FS0: -> Enter -> cd EFI/OC -> Enter -> edit config.plist -> Enter 3 2 Link to comment Share on other sites More sharing options...
jsl2000 Posted August 3, 2020 Share Posted August 3, 2020 1 hour ago, startergo said: /Volumes/EFI/Utilities/ocvalidate/ocvalidate /Volumes/EFI/EFI/OC/config.plist Thanks and it worked ! Link to comment Share on other sites More sharing options...
D-an-W Posted August 3, 2020 Share Posted August 3, 2020 Just wanted to say, OCValidate is great! Switching from v0.5.8 to v0.6.0 would have probably taken me a few failed boots to figure out my Config.plist errors but after using OCValidate it worked first time 3 Link to comment Share on other sites More sharing options...
hardcorehenry Posted August 4, 2020 Share Posted August 4, 2020 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 More sharing options...
STLVNUB Posted August 4, 2020 Share Posted August 4, 2020 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" 2 Link to comment Share on other sites More sharing options...
beidl Posted August 4, 2020 Share Posted August 4, 2020 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 More sharing options...
Recommended Posts