Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

21 hours ago, stevezheng said:

Thank you all for the great work.

I have some suggestions about cleaning the config-sample.plist.

 

- KernelPm and AppleCpuPmCfgLock seems do the same thing. Maybe one of them should be removed?

- Same situation with KernelXCPM and AppleXcpmCfgLock, they all deal with CFG lock on XCPM.

- KernelLapic and LapicKernelPanic are also the same thing probably?

- There are two PanicNoKextDump in config-sample.plist (https://github.com/CloverHackyColor/CloverBootloader/blob/master/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist)

 

Please correct me if I am wrong. I haven't looked into the new OpenCore integration code yet. Appreciate all the efforts so far.

 

 

 

@Slice, @stevezheng,

 

About recent commit 641b75e based on the above post.

 

AFAIK,

 

OC AppleCpuPmCfgLock = Clover's AppleIntelCPUPM

OC AppleXcpmCfgLock = Clover's KernelPm

 

Please confirm with OC 0.6.1 Configuration.pdf

  • Like 2
Link to comment
Share on other sites

On 10/7/2020 at 2:53 AM, SavageAUS said:

Question for the Clover devs / Clover builders.

I have git cloned the CloverBootLoader repo but when i build it modifies the files from inside the repo (which i guess is expected) but is there a way i can prevent this?

Can i run the ./ebuild.sh command and append a directory where i want the output?

Or am i doing something wrong?

The .gitignore file has a list of items that are not to be included in source control.

This way git knows what files it needs to check for diffs, etc.

I suppose you could make a script, iterate each line in the .gitignore, use the line in a find command as a -path or -name item then do stuff with the results (such as delete them to clean the directory for archive purpose - or for diff purpose with tools that don't understand .gitignore).

 

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, cyrhex said:

tried the clover 5123 but it shows as 5122 in boot menu?and i cant reach to the desktop i received a kernel panic,,,got no issue in 5122 in my high sierra and catalina 

You probably didn't setup your config.plist/Quirks section correctly...?

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

1 hour ago, Jief_Machak said:

You probably didn't setup your config.plist/Quirks section correctly...?

@Jief_Machak Can you make files for 10.6-10.12? I like to try.

Because now I use it with 10.13-10.16, it works fine.

thank-you

Link to comment
Share on other sites

24 minutes ago, naiclub said:

Can you make files for 10.6-10.12

Make files with what ? 

 

@Everyone : duplicated settings are now ignored from Quirks section. Which can lead to failed boot if you don't have these settings in the "Clover place" in section KernelAndKextPatches. You may need these keys. Adapt value to what you have in your Quirks section.

	<key>KernelAndKextPatches</key>
	<dict>
		<key>KernelPm</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelXCPM</key>
		<true/>
		<key>PanicNoKextDump</key>
		<true/>
	</dict>

use this efi : CloverX64-20201009102950-2fddd11-dirty-jief.zip  It will panic at boot if you have 2 different values for the same setting.

Do NOT remove or modify yet the settings you have in Quirks section if it's working for now. I may need you to boot on a previous version to find a bug.

I know, "panic" is a bit extreme. I'm preparing proper warnings and messages about config.plist problems. Just not ready yet...

 

Edited by Jief_Machak
  • Like 3
  • Haha 1
Link to comment
Share on other sites

4 minutes ago, SavageAUS said:

An oversight?

Yes. I think you just forget to delete SMCHelper.efi

 

2 minutes ago, Jief_Machak said:

I only have "VirtualSMC.kext". Have you got a "VirtualSMC.efi" ?

I'm about SavageAUS EFI archive)

Link to comment
Share on other sites

49 minutes ago, Jief_Machak said:

Make files with what ? 

 

@Everyone : duplicated settings are now ignored from Quirks section. Which can lead to failed boot if you don't have these settings in the "Clover place" in section KernelAndKextPatches. You may need these keys. Adapt value to what you have in your Quirks section.


	<key>KernelAndKextPatches</key>
	<dict>
		<key>KernelPm</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelXCPM</key>
		<true/>
		<key>PanicNoKextDump</key>
		<true/>
	</dict>

use this efi : CloverX64-20201009102950-2fddd11-dirty-jief.zip  It will panic at boot if you have 2 different values for the same setting.

Do NOT remove or modify yet the settings you have in Quirks section if it's working for now. I may need you to boot on a previous version to find a bug.

I know, "panic" is a bit extreme. I'm preparing proper warnings and messages about config.plist problems. Just not ready yet...

 


No KP with your efi :)

 

If I understand well the latest commit:

 

Clover                    Quirks

KernelLapic ===> LapicKernelpanic

PanicNoKextDump ====> PanicNoKextDump
KernelXCPM ====> AppleXcpmCfgLock

KernelPm ===> AppleCpuPmCfgLock


Qurisk to remove: 

CustomSMBIOSGuid

 

The new section KernelAndKextPatches in my config.plist is good or not ? Have à look to the spoiler.


 

Spoiler

<key>KernelAndKextPatches</key>
    <dict>
        <key>KernelLapic</key>
        <false/>
        <key>PanicNoKextDump</key>
        <true/>
        <key>KernelPm</key>
        <false/>
        <key>AppleRTC</key>
        <true/>
        <key>KernelXCPM</key>
        <false/>
        <key>DellSMBIOSPatch</key>
        <false/>
        <key>KernelCpu</key>
        <false/>
        <key>Debug</key>
        <false/>
        <key>AppleIntelCPUPM</key>
        <false/>
        <key>KextsToPatch</key>
        <array>
            <dict>
                <key>Find</key>
                <data>RXh0ZXJuYWw=</data>
                <key>Comment</key>
                <string>External icons patch</string>
                <key>Disabled</key>
                <false/>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.AppleAHCIPort</string>
                <key>Replace</key>
                <data>SW50ZXJuYWw=</data>
                <key>MatchOS</key>
                <string>10.11.x,10.12.x,10.13.x,10.14.x,10.15.x</string>
            </dict>
            <dict>
                <key>Find</key>
                <data>U291bmQgYXNzZXJ0aW9uIA==</data>
                <key>Comment</key>
                <string>AppleHDA Patch Assertions</string>
                <key>Disabled</key>
                <false/>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.AppleHDA</string>
                <key>Replace</key>
                <data>AAAAAAAAAAAAAAAAAAAAAA==</data>
                <key>MatchOS</key>
                <string>10.11.x,10.12.x,10.13.x,10.14.x,10.15.x</string>
            </dict>
            <dict>
                <key>Find</key>
                <data>g/sPDw==</data>
                <key>Comment</key>
                <string>USB Port limit patch #1(credits PMheart)</string>
                <key>Disabled</key>
                <false/>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>com.apple.iokit.IOUSBHostFamily</string>
                <key>Replace</key>
                <data>g/s/Dw==</data>
                <key>MatchOS</key>
                <string>10.15.x</string>
            </dict>
            <dict>
                <key>Find</key>
                <data>g/kPDw==</data>
                <key>Comment</key>
                <string>USB Port limit patch #2(credits PMheart)</string>
                <key>Disabled</key>
                <false/>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>g/k/Dw==</data>
                <key>MatchOS</key>
                <string>10.15.x</string>
            </dict>
            <dict>
                <key>Find</key>
                <data>Ym9hcmQtaWQ=</data>
                <key>Name</key>
                <string>AppleGraphicsDevicePolicy</string>
                <key>Replace</key>
                <data>Ym9hcmQtaXg=</data>
                <key>Disabled</key>
                <true/>
                <key>Comment</key>
                <string>Black Screen Patch Vega 56/64, RX580 etc. (c)Pike R. Alpha</string>
                <key>InfoPlistPatch</key>
                <false/>
            </dict>
        </array>
    </dict>

 

 

Edited by Matgen84
  • Thanks 1
  • Haha 1
  • Confused 1
Link to comment
Share on other sites

7 minutes ago, Jief_Machak said:

Is "KernelXCPM", not "KPKernelXCPM". It's right in your config.plist.

 

Does it boot ?

 

Yes, I can boot with your efi posted here. Corrected my post: "KernelXCPM", not "KPKernelXCPM". It's a copy/paste error.

 

Edited by Matgen84
Link to comment
Share on other sites

16 minutes ago, SavageAUS said:

I know we have not begun to work on AMD yet but can anyone show me where we should have the kernel patches in clovers config.plist?

Kernel -> Patch

KernelAndKextPatches -> Patch

?

I have tested with Kernel->Patch and KernelAndKextPatches -> KernelToPatch all got freeze or instant reboot.

Link to comment
Share on other sites

I wouldn't say a huge craze and be mocked by the dev :rofl: but besides aligning with the same setting the entries that are now double, for hardware from Z97 to older, is not that you need some OC quirks present in UEFI????

 

Spoiler

1285935958_Schermata2020-10-09alle12_12_28.thumb.png.2b1005afb3b43862558687a59da62c2c.png

 

  • Haha 1
  • Confused 1
Link to comment
Share on other sites

×
×
  • Create New...