jl4c Posted November 11, 2019 Share Posted November 11, 2019 3 minutes ago, n.d.k said: Can you just add the a Method for _Q13 instead of renaming XQ13? Not sure what you suggest. The purpose of this is to use ACPI hotpatch. Link to comment Share on other sites More sharing options...
Andrey1970 Posted November 11, 2019 Share Posted November 11, 2019 (edited) 55 minutes ago, jl4c said: Not sure what you suggest. The purpose of this is to use ACPI hotpatch. You can add custom method _Q13 in DSDT with IF Darwin condition. And an original method _Q13 to leave with Else condition. And to remove a renaming patch. Edited November 11, 2019 by Andrey1970 Link to comment Share on other sites More sharing options...
n.d.k Posted November 11, 2019 Share Posted November 11, 2019 10 minutes ago, jl4c said: Not sure what you suggest. The purpose of this is to use ACPI hotpatch. You can have multi method like this: Method (_Q13, 0, Serialized){ } Method (XQ13, 0, Serialized){ } and Osx will call _Q13 Others will call XQ13... Link to comment Share on other sites More sharing options...
Slice Posted November 12, 2019 Share Posted November 12, 2019 9 hours ago, n.d.k said: You can have multi method like this: Method (_Q13, 0, Serialized){ } Method (XQ13, 0, Serialized){ } and Osx will call _Q13 Others will call XQ13... And other method will call what? Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 12, 2019 Share Posted November 12, 2019 (edited) 13 hours ago, jl4c said: Not sure what you suggest. The purpose of this is to use ACPI hotpatch. This should be fixed the problem DefinitionBlock ("", "SSDT", 2, "HACK", "_Q13", 0x00000000) { External (_SB_.PCI0.LPCB.PS2K, DeviceObj) External (HKNO, FieldUnitObj) Method (_Q13, 0, Serialized) // _Qxx: EC Query, xx=0x00-0xFF { If (_OSI ("Darwin")) { Local0 = HKNO /* External reference */ If ((Local0 == 0x07)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0405) } If ((Local0 == 0x08)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0406) } If ((Local0 == 0x04)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x046E) } } Else { Paste the original code of _Q13 from Original DSDT } } } Edited November 12, 2019 by Andres ZeroCross 1 Link to comment Share on other sites More sharing options...
NorthAmTrans Posted November 12, 2019 Share Posted November 12, 2019 Im curious here. I use the generic section under Platform Info and everything is fine. Is there an advantage to using the full SMBIOS section instead? Link to comment Share on other sites More sharing options...
Andrey1970 Posted November 12, 2019 Share Posted November 12, 2019 (edited) 2 hours ago, NorthAmTrans said: Im curious here. I use the generic section under Platform Info and everything is fine. Is there an advantage to using the full SMBIOS section instead? OpenCore DataBase is periodically updated, and it relieves you of routine and mistakes. But on models year of the end of production 2011 and older, PlatformInfo necessary to fill manually. It is made not to litter OpenCore library. https://docs.google.com/spreadsheets/d/1kGFz3_kp5xCDRRQpfnIUOvbiHXTmxEgyx97u73ImXXE/edit#gid=0 Edited November 12, 2019 by Andrey1970 3 1 Link to comment Share on other sites More sharing options...
tmbt Posted November 12, 2019 Share Posted November 12, 2019 Hi guys, i'm trying to migrate from clover to opencore but it always hangs during boot (a second or so after selecting the operating system to boot) and i can't understand why. could somebody point me in the right direction ? I'm attaching my OC folder without the kext folder (all the kext are the same i use in clover and anyway they are up to date to the latest version) Thanks Mattia OC.zip Link to comment Share on other sites More sharing options...
NorthAmTrans Posted November 13, 2019 Share Posted November 13, 2019 (edited) 22 hours ago, Andrey1970 said: OpenCore DataBase is periodically updated, and it relieves you of routine and mistakes. But on models year of the end of production 2011 and older, PlatformInfo necessary to fill manually. It is made not to litter OpenCore library. https://docs.google.com/spreadsheets/d/1kGFz3_kp5xCDRRQpfnIUOvbiHXTmxEgyx97u73ImXXE/edit#gid=0 Big thanks for the info. It inspired me to go back through Platform and fix my ROM string which got rid of my Parse Field 2 error that flashed before Picker showed up. Leaving that bit of obvious info for anyone searching. Edited November 13, 2019 by NorthAmTrans grammar Link to comment Share on other sites More sharing options...
Andrey1970 Posted November 13, 2019 Share Posted November 13, 2019 (edited) 1 hour ago, NorthAmTrans said: Big thanks for the info. It inspired me to go back through Platform and fix my ROM string which got rid of my Parse Field 2 error that flashed before Picker showed up. Leaving that bit of obvious info for anyone searching. DataBase updated in 0.5.3 Edited November 13, 2019 by Andrey1970 Link to comment Share on other sites More sharing options...
NorthAmTrans Posted November 13, 2019 Share Posted November 13, 2019 (edited) 3 hours ago, Andrey1970 said: Updated in 0.5.3 Thats what Im on, it looks like I made a bad copy and paste when moving from Clover to OC, again. Edit: I owe you an apology, I'm on 0.5.2. Edited November 13, 2019 by NorthAmTrans Was very wrong Link to comment Share on other sites More sharing options...
ramontorres Posted November 13, 2019 Share Posted November 13, 2019 On 11/8/2019 at 12:32 AM, Wppley2 said: When I've installed OpenCore for the first time, I don't disable these two things and was getting the same error that you have, so I disable these but it don't work. I think if you don't disable this on in the first time you configure OpenCore, you need to do all configuration again, from zero point, disabling vault. Yes I did it but it doesn't worked. Link to comment Share on other sites More sharing options...
NorthAmTrans Posted November 14, 2019 Share Posted November 14, 2019 4 hours ago, meaganmargaret said: @ellybz, and anyone else who is trying to build a custom menu on OpenCore: i have two problems. The first is I can't boot Linux. This is my path, and its identical to the path in Clover (except for the slashes reversed) and in Clover it works, but in OC, it goes off into space and does not load. You can see my attached jpg from the Clover boot screen below. Is it possible this is a video display issue? PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x3,0xFFFF,0x0)/HD(1,GPT,F23633BD-5766-4C50-9EC6-5D24425B8542,0x800,0x100000)/\EFI\ubuntu\grubx64.efi The second problem is more basic. I am loading a scan policy identical to yours, @Ellybz: 2689795. But below you can see what I get after adding my Entries, 4-7 work just fine, btw. I tried it with Hide Self on and Hide Self off. Any thoughts? Would use picker make a difference? Curious, what does "Mojave Menu" lead you to? Link to comment Share on other sites More sharing options...
Ellybz Posted November 14, 2019 Share Posted November 14, 2019 (edited) 5 hours ago, meaganmargaret said: HideSelf =YES Recovery partitions were deleted thru Terminal: "Diskutil List" , look for recovery partition then: Terminal command: diskutil eraseVolume apfs Blank diskXsY ( REPLACE X/Y Accordingly ) Step 2: Delete "Blank" APFS Volume in your Disk utility app. ( There's a faster way to do this, but I like the two step process for my own verification ) Also, for Linux, I have a NTFS Driver in my EFI folder. ( attached below ). PS: In Entries Only Windows & Linux path are reported . NTFS.efi Edited November 14, 2019 by Ellybz Link to comment Share on other sites More sharing options...
NorthAmTrans Posted November 14, 2019 Share Posted November 14, 2019 I'm a little confused here. After moving the Windows Entry I used in my initial build on clover to my EFI I was able to add a custom entry in OC to point to it's EFI which caused it to show up in Picker. Yay! However when I select it doesn't boot. I've also tried adding the NTFS.efi driver because that makes sense but no dice. So i've removed the windows folder from the EFI and thought maybe I should hop in shell to get device path but selecting shell does the same thing: resets Picker. I've been over the docs but can't quite figure this one out. Has anybody here worked this out and care to share their experience? Config.plist Link to comment Share on other sites More sharing options...
Ellybz Posted November 14, 2019 Share Posted November 14, 2019 (edited) 45 minutes ago, NorthAmTrans said: I'm a little confused here. After moving the Windows Entry I used in my initial build on clover to my EFI I was able to add a custom entry in OC to point to it's EFI which caused it to show up in Picker. Yay! However when I select it doesn't boot. I've also tried adding the NTFS.efi driver because that makes sense but no dice. So i've removed the windows folder from the EFI and thought maybe I should hop in shell to get device path but selecting shell does the same thing: resets Picker. I've been over the docs but can't quite figure this one out. Has anybody here worked this out and care to share their experience? Config.plist Finding the correct path in Custom Entries have been already explained several times within the last few pages of this thread. It should start with " PciRoot". Edited November 14, 2019 by Ellybz 1 Link to comment Share on other sites More sharing options...
NorthAmTrans Posted November 14, 2019 Share Posted November 14, 2019 (edited) 14 minutes ago, Ellybz said: Finding the correct path in Custom Entries have been already explained several times within the last few pages of this thread. It should start with " PciRoot". For sure it has and thanks for the link. I think i've the gotten right path. Im confused however on why when I select Shell in Picker it doesn't load. I'll keep digging. EDIT: Ignore this. I should probably umm place Shell in the tools folder. Edited November 14, 2019 by NorthAmTrans Link to comment Share on other sites More sharing options...
NorthAmTrans Posted November 14, 2019 Share Posted November 14, 2019 @Ellybz I'm sure that was annoying but thanks for that. I've been able to get into Windows now once or twice but mostly it locks up at the welcome screen. Link to comment Share on other sites More sharing options...
mashuk12 Posted November 15, 2019 Share Posted November 15, 2019 (edited) Could you please provide an example for CPU emulation (fake CPUID) for pentium CPUs. We normally use 0x0306A0 (Ivy Bridge i5) as a fake ID. This would be really helpful in the description below. Also, NullCPUPowerManagementkext is often needed do you know if it's compatible? Edited November 15, 2019 by mashuk12 Link to comment Share on other sites More sharing options...
jl4c Posted November 15, 2019 Share Posted November 15, 2019 Guys, how can i hide the recovery partition in OC boot menu? Link to comment Share on other sites More sharing options...
startergo Posted November 15, 2019 Share Posted November 15, 2019 I am testing OC on cMP5.1 so I don't need full blown SMBIOS, NVRAM and HUB values. I only updated the board ID to iMacPro and updated only SMBIOS. In Mojave that worked fine, but when I changed the startup disk to Catalina the boot process stalled with: waiting for an external debugger... All debug options have 0 values, so I had to remove the USB with OC and boot without it and remove the board ID injection. What instigates the wait for an external debugger? Link to comment Share on other sites More sharing options...
steve3d Posted November 15, 2019 Share Posted November 15, 2019 well, I have some problem here, I'm using z390 aorus master with i9-9900k, and installed with a titan-ridge thunderbolt card, and oc runs perfectly, and yesterday, I found giga-byte released a F10 bios for this board, then I decided to upgrade, and after upgrade, I can no longer use oc, It always tells me that error allocating pages, so I followed a guide here, and go to discord, the bot help me calculated the slide should be 196, then I set the slide=196 in boot-args, but I still can not boot. After slide=196, I can see the apple logo, then few seconds, oc told me there is a fatal error, system hang for 10 seconds. (tried with or without any ssdt patch, result are same) so what should I do to use oc with new version of bios? I've attached these files hoping someone can help me. Thanks. memmap.txt opencore-2019-11-15-165352.txt oc.zip Link to comment Share on other sites More sharing options...
hardcorehenry Posted November 15, 2019 Share Posted November 15, 2019 1 hour ago, mashuk12 said: Could you please provide an example for CPU emulation (fake CPUID) for pentium CPUs. We normally use 0x0306A0 (Ivy Bridge i5) as a fake ID. This would be really helpful in the description below. Also, NullCPUPowerManagementkext is often needed do you know if it's compatible? Try: Cpuid1Data: <A9 06 03 00 00 00 00 00 00 00 00 00 00 00 00 00> Cpuid1Mask: <FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00> or Cpuid1Data: <A0 06 03 00 00 00 00 00 00 00 00 00 00 00 00 00> Cpuid1Mask: <FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00> You can find out more here. Link to comment Share on other sites More sharing options...
jl4c Posted November 15, 2019 Share Posted November 15, 2019 There is any possibility to use hotkeys (boot into recovery from OC boot menu) in a laptop with PS2 keyboard? Link to comment Share on other sites More sharing options...
nmano Posted November 16, 2019 Share Posted November 16, 2019 Thanks for Team. How to fix this? Build Failed /Users/x99/Desktop/opencore/OpenCorePkg-master/build.sh: line 2: edksetup.sh: No such file or directory /Users/x99/Desktop/opencore/OpenCorePkg-master/build.sh: line 3: build: command not found Command ExternalBuildToolExecution failed with a nonzero exit code Link to comment Share on other sites More sharing options...
Recommended Posts