Jump to content

Clover General discussion


ErmaC
30,172 posts in this topic

Recommended Posts

I understand the problem with DUET.

DEFINE BUILD_OPTIONS=-DMDEPKG_NDEBUG -...

Now complete compilation.

It means we have too many codes to compile Efildr with a huge amount of debug messages. We have to strip them in order to produce working "boot" file.

  • Like 1
Link to comment
Share on other sites

I seems forgot to include new quirks so the result is negative.

Starting Clover revision: 5122 (opencore_integration, commit 86f90ef0d)

1. Boot BigSur installation. Stopped here

99:028  0:184  OSInfo:OSName called
99:276  0:247  OSInfo:OSVendor called
Spoiler

IMG_0281.jpeg

Strange, my version asks for OSName and not asked for OSVendor. It seems OC gives other reply leading to hangs.

 

2. Boot to Mojave.

Same hangs rebooted by the watchdog set before OS start.

 

3. Older Clover

0:100  0:000  Starting Clover revision: 5122 (master, commit f4e10b1a2) on American Megatrends EFI

Boot to Mojave succeded.

  • Like 1
Link to comment
Share on other sites

29 minutes ago, Download-Fritz said:

@Slice We don't use an "own EDK2", AUDK is vanilla and just a snapshot of the EDK2 commit we use.

The current patches target Shell and legacy, nothing else: https://github.com/acidanthera/OpenCorePkg/tree/master/Patches

No, I means you are using other EDK them we.  We don't use vanilla EDK2/UDK/AUDK because they are possible quirky. We are using good tested and corrected version.

 

@Jief_Machak

Booting verbose I see messages from boot.efi and see that new clover causes hangs at RestartDataProtocol.

Link to comment
Share on other sites

@Matgen84 and maybe the others. To boot with my EFI, you need to remove AptioMemoryFix.efi and OcQuirks.efi from drivers.

This efi will give a clear message in debug.log if it's still there.

 

5 minutes ago, Slice said:

@Jief_Machak

Booting verbose I see messages from boot.efi and see that new clover causes hangs at RestartDataProtocol.

When booting 11, or previous version ?

CloverX64.efi.zip

Link to comment
Share on other sites

Just now, Jief_Machak said:

@Matgen84 and maybe the others. To boot with my EFI, you need to remove AptioMemoryFix.efi and OcQuirks.efi from drivers.

This efi will give a clear message in debug.log if it's still there.

In my case now this picture, POST code 04 and cat_error led on motherboard.

EFI.zip

 

Spoiler

20200909_000825.jpg

 

Edited by yapan4
Link to comment
Share on other sites

@Jief_Machak If you want to automate kext order, it's likely better to just look at the Info.plist - each kext should list it's dependencies within the Info.plist. Injected kext order is important not only for Lilu and it's plugins, but also for VoodooPS2, VoodooI2C, VoodooSMBus, and VirtualSMC's plugins. I believe that ProperTree (a python plist editor which can automatically add kexts to OC config.plists) does this already for a point of reference. Probably not important for a proof of concept, but something to consider in the future.

Edited by 1Revenger1
Link to comment
Share on other sites

7 hours ago, iCanaro said:

rename your "Other" folder "10"

Just rename the folder named "Other" (the one selected in the picture) to "10". You don't need to rename back to "Other" to boot 10.x version.

 

Also, remove OcQuirks.efi from Drivers/UEFI. You may have to put it back to boot 10.x version.

 

2 hours ago, 1Revenger1 said:

something to consider in the future

agreed

 

@mifjpn I have an idea. Let me search...

  • Like 1
Link to comment
Share on other sites

9 hours ago, Jief_Machak said:

@Matgen84 and maybe the others. To boot with my EFI, you need to remove AptioMemoryFix.efi and OcQuirks.efi from drivers.

This efi will give a clear message in debug.log if it's still there.

 

When booting 11, or previous version ?

CloverX64.efi.zip

Booting Mojave.

9 hours ago, Jief_Machak said:

@Matgen84 and others. Forgot : also rename your "Other" folder "10". Because currently, kexts are included twice.

No real problem of kexts including twice. The macOS will just ignore duplicate. One of them will work. Those interested can try to make such test.

Except Lilu because it is bad designed. ;)

  • Like 1
  • Sad 1
Link to comment
Share on other sites

@Jief_Machak

I build latest OpenCore_integration commit dfac7119f

 

  • rename Other folder to 10
  • rename DEBUG  Cloverx64.efi to /Boot/Bootx64.efi ----> Clover GUI Hangs on Options section :cry:

In second, I remove /Drivers/UEFI/OcQuirks.efi, keep Openruntime.efi (I use Redeststream OcQuirks compile with Quirks for my Z390 Aorus Master)

In third, I remove also Openruntime.efi

 

 

Error message on Clover GUI Options (see pictures)

 

Spoiler

2.thumb.jpg.35d9e4af58181aa8c6624d3ea8cb882f.jpg

 

  • Like 1
Link to comment
Share on other sites

17 minutes ago, Jief_Machak said:

I don't know what that is, but you have to remove it. OcQuirks is a "subset" of OC that already exist in my version, because I integrated the whole OC.

 

OK I already try it without sucesss, see my previous post :) 

 

My ReddestDream OcQuirks  is  installed with Openruntime.efi from OC in /Drivers/UEFI : it contains also quirks settings, so OcQuirks.plist is not necessary as OcQuirks section in my Clover config.plist

 

ReddestDream Repo

Edited by Matgen84
Link to comment
Share on other sites

53 minutes ago, Jief_Machak said:

@Matgen84 in your config.plist, in KernelAndKextPatches, you created a section Quirks. Currently, it should be OcQuirks. That means DisableLinkeditJettison wasn't taken into account.

 

@Jief_Machak In my working Catalina config.plist, Monday, you tell me to create this Quirks section in KernelAndKextstoPatch: in fact, this section corresponding to Kernel/Quirks and Scheme section in Opencore config.plist

I'm confused for my mistake on the name :bye:

 

Spoiler

<key>OcFuzzyMatch</key>
        <true/>
        <key>OcKernelCache</key>
        <string>Auto</string>
        <key>Quirks</key>
        <dict>
            <key>AppleCpuPmCfgLock</key>
            <false/>
            <key>AppleXcpmCfgLock</key>
            <false/>
            <key>AppleXcpmExtraMsrs</key>
            <false/>
            <key>AppleXcpmForceBoost</key>
            <false/>
            <key>CustomSMBIOSGuid</key>
            <false/>

 

I don't use Quirks section introduce by @Slice in this config.plist, because I have OcQuirks.efi and OpenRuntime.efi in Drivers/UEFI. Can I continued to use these drivers?

 

(Corresponding to my OcQuirks.efi in Clover) My Booter/Quirks in my OC config.plist is:

 

Spoiler

<key>Quirks</key>
        <dict>
            <key>AvoidRuntimeDefrag</key>
            <true/>
            <key>DevirtualiseMmio</key>
            <true/>
            <key>DisableSingleUser</key>
            <false/>
            <key>DisableVariableWrite</key>
            <false/>
            <key>DiscardHibernateMap</key>
            <false/>
            <key>EnableSafeModeSlide</key>
            <true/>
            <key>EnableWriteUnprotector</key>
            <false/>
            <key>ForceExitBootServices</key>
            <false/>
            <key>ProtectMemoryRegions</key>
            <false/>
            <key>ProtectSecureBoot</key>
            <false/>
            <key>ProtectUefiServices</key>
            <true/>
            <key>ProvideCustomSlide</key>
            <true/>
            <key>ProvideMaxSlide</key>
            <integer>0</integer>
            <key>RebuildAppleMemoryMap</key>
            <true/>
            <key>SetupVirtualMap</key>
            <true/>
            <key>SignalAppleOS</key>
            <false/>
            <key>SyncRuntimePermissions</key>
            <true/>
        </dict>

 

Edited by Matgen84
Link to comment
Share on other sites

3 minutes ago, chris1111 said:

@Jief_Machak I try 3 machine different and I have the same problem, it stop at GUI no Clover menue

getDist() called on tag of type key

A fatal error happened system halted

 

  Reveal hidden contents

IMG_2313.thumb.jpeg.821cd99e234f9fbc7595f74d19b99189.jpeg

 

 

Hi @chris1111 You're talking about Master branch ?

Link to comment
Share on other sites

×
×
  • Create New...