Jump to content

OpenCore General Discussion


dgsga
8,888 posts in this topic

Recommended Posts

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 by Andrey1970
Link to comment
Share on other sites

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

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

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 by Andres ZeroCross
  • Like 1
Link to comment
Share on other sites

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 by Andrey1970
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

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

 

20191112_174239.jpg

OC.zip

Link to comment
Share on other sites

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 by NorthAmTrans
grammar
Link to comment
Share on other sites

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 by Andrey1970
Link to comment
Share on other sites

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

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?

 

1771709650_ScreenShot2019-11-13at2_09_16PM.thumb.png.c93203dbf92398bf3fdd0361ea0de497.png1771709650_ScreenShot2019-11-13at2_09_16PM.thumb.png.c93203dbf92398bf3fdd0361ea0de497.png

Screen Shot 2019-11-13 at 2.42.05 PM.png

 

Curious, what does "Mojave Menu" lead you to?

Link to comment
Share on other sites

5 hours ago, meaganmargaret said:

 

 

1771709650_ScreenShot2019-11-13at2_09_16PM.thumb.png.c93203dbf92398bf3fdd0361ea0de497.png1771709650_ScreenShot2019-11-13at2_09_16PM.thumb.png.c93203dbf92398bf3fdd0361ea0de497.png

Screen Shot 2019-11-13 at 2.42.05 PM.png

 

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 .

Screen Shot 2019-11-13 at 7.59.04 PM.png

NTFS.efi

Edited by Ellybz
Link to comment
Share on other sites

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

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 by Ellybz
  • Like 1
Link to comment
Share on other sites

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 by NorthAmTrans
Link to comment
Share on other sites

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 by mashuk12
Link to comment
Share on other sites

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

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

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:a9.png.b5f0065c1e7800651a261a8dbcbf12d6.png

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

a0.png.3e789c835863b4f7b3d704186a7a0988.png

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

Thanks for Team.

How to fix this?

Build Failed

164863578_ScreenShot2019-11-16at4_39_18AM.thumb.png.04c16aa9a62f30150b18a4c4c8668720.png

/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

×
×
  • Create New...