Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

2 hours ago, naiclub said:

Hello, what's the update inside? I don't follow, I'm curious.

r5155.txt 52.11 kB · 4 downloads

The most significant change is NVRAM support at legacy boot on the new level. more useful variables will be saved which is needed for update process.

In previous releases significant things were different SMBIOS for different systems, different FakeCPUID. See Clover Change Explanations.

New toolsets for Ventura and Sonoma.

Small bugs eliminations.

  • Like 2
Link to comment
Share on other sites

15 hours ago, galisrule said:

Does anybody get their fenvi wifi card to work in Sonoma with clover boot loader and if anyone does what's the procedure?

Thanks very much in return 

with Clover bootloader (5155 release) is not possible to block this correctly:

image.thumb.png.13811b1a5077222ecc8a3b5e67bb82bf.png

 

If option is set to YES system hangs and it does not start at initial boot (+++++)

If option is set to NO system has a KP (obviusly it says we are using and old kext than Sonoma one which is newer)

Other unresolved question (i did in this thread) is if it is possible to set a kext order in clover bootloader as we must do in OpenCore bootloader config.plist

 

Probably no ones use Fenvi card with Sonoma with Clover bootloader ;)

 

Edited by mariosun
  • Like 2
  • Thanks 2
Link to comment
Share on other sites

41 minutes ago, mariosun said:

What I see here:

12:423  0:001  OCAK: Erasing com.apple.iokit.IOSkywalkFamily from prelinked kext under dict index 3, plist 615F3D98, plist index 167
12:425  0:001  OC: Prelinked blocker (Exclude) result 0 for com.apple.iokit.IOSkywalkFamily () - Success

It was native kext

and then

12:527  0:005  OC: Prelinked injection Kexts\14\IOSkywalkFamily.kext () - Success

it is new kext injected from Kexts/14/ folder.

👍

  • Like 2
Link to comment
Share on other sites

@Slicethank you for your answer

system hangs in early stage(++++++++) so others problem (maybe) loading the kexts in a correct order?

blocking seems to work brcause if i set NO in blocking option system has a kp (after +++++++ stage) and it says about newer kext IN OSX  than the one in 14 folder

 

Edited by mariosun
Link to comment
Share on other sites

1 hour ago, Slice said:

Other problem leads to hang may be FixUSBOwnership. Play with it.

enabling it or disabling it as i have by default is the same

so i am asking if it is possible to reproduce the exact kext order we must use in Opencore bootloader as this pictures in CLover bootloader?

image.thumb.png.076e063f876f24be90501f62f0e7619b.png

it seems by now the only part is missing

 

Block option is there

CSR-Config is there

Secureboot option (Disabled) is also in Clover (ProtectSecureBoot?)

 

However if some others Clover users have a positive experience in this task could be useful to follow exactly his steps to have this working

 

Thanks

 

Edited by mariosun
Link to comment
Share on other sites

But the order is already that

12:527  0:005  OC: Prelinked injection Kexts\14\IOSkywalkFamily.kext () - Success

12:834  0:005  OC: Prelinked injection Kexts\14\IO80211FamilyLegacy.kext () - Success

12:878  0:003  OC: Prelinked injection Kexts\14\IO80211FamilyLegacy.kext\Contents\PlugIns\AirPortBrcmNIC.kext () - Success

  • Like 2
Link to comment
Share on other sites

3 hours ago, galisrule said:

@slice could u take a look and see why I can't boot Sonoma and Catalina with r5155 it boots Monterey and Ventura fine.Please and thanks

preboot.log 250.92 kB · 1 download

Exclude

FSInject.efi - obsolete

SMCHelper.efi - already embedded

NTFS.efi - it is for searching a bootloader on NTFS partitions. Are you sure it is your case?

AudioDxe.efi - not needed for installation

 

13:185  0:000  Set FakeCPUID: 0x0 - I am not sure if it needs to be set. It is better exclude the Key.

 

Your videocard is

0:106  0:000  PCI (00|01:00.00) : 1002 67DF class=030000
0:106  0:000   - GFX: Model=AMD Radeon RX 480/570/580 (ATI/AMD)

It is not needed in any ejection. So exclude args: unfairgva=1  igfxmetal=1 

 

Exclude VirtualSMC.kext, SMCProcessor.kext, SMCSuperIO.kext and use FakeSMC with plugins instead. It is more compatible with Clover logic.

I also vote for replacements:

AppleALC -> VoodooHDA

IntelMausi -> IntelMausiEthernet

USBInjectALL -> nothing because you have USBMap

WhateverGreen -> nothing because RX570 not needed in it.

BrightnessKeys -> is it for laptops while you have desktop?

 

Numerous SSDT-*.aml that I don't know. Do you know what these and for a what?

 

131:486  0:000  Kernel quirks
131:486  0:000  ACPCL 0 AXCL 0 AXEM 0 AXFB 0 CSG 0 DIM 1 DLJ 1 DRC 0 DPM 0 EBTFF 0 EDI 0 IPBS 0 LKP 0 PNKD 1 PTKP 1 TPD 0 XPL 0 PCC 0

I am lazy to check them while they are significant for system. Read WIKI about them.

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

@Slice

refining some changes in Clover Suite Builder, to integrate the new Xcode build toolsets added

image.png.db009563f9ad03c2eb3d36cfbc435f5d.png

 

I installed latest XCode 15 to make a few build tests

While using XCode 14, XCode 13 everything is fine

But with XCode 15 I encountered a few failures building Clover

Anyone experiencing the same?

On fresh install, first failure with Xcode 15 occurs when starting mtoc build

the second occurs during the build process when accessing OCGuardLib/UbsanPrintf

here's where it fails

/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:295:26: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
                    p.lz = 1;
                         ^ ~
/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:298:27: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
                    p.alt = 1;
                          ^ ~
/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:315:20: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
              p.lz = 1;  /* zero-padding */
                   ^ ~
/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:385:23: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
                p.alt = 1;
                      ^ ~
4 errors generated.
make: *** [/Users/labyone/src/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib/OUTPUT/UbsanPrintf.obj] Error 1


build.py...
 : error 7000: Failed to execute command
    make tbuild [/Users/labyone/src/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib]


build.py...
 : error F002: Failed to build module
    /Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf [X64, XCODE15, RELEASE]

- Failed -
Build end time: 13:13:16, Sep.22 2023
Build total time: 00:00:23

Solved both issues and now all build fine using all toolsets (GCC and XCode (all versions I have))

I also updated :

GCC to 13.2 and all dependencies

Gettext

If you want I can eventually upload here the files and patches or I can pull the changes via Git, until I still have the time :)

 

  • Like 2
Link to comment
Share on other sites

On 9/21/2023 at 8:16 AM, mariosun said:

Probably no ones use Fenvi card with Sonoma with Clover bootloader ;)

 

 

I've been trying this for a long time too. Unfortunately unsuccessful and I haven't read anywhere that it works.

 

https://github.com/CloverHackyColor/CloverBootloader/issues/625#issuecomment-1712841154

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

Spoiler
13 hours ago, LAbyOne said:

@Slice

refining some changes in Clover Suite Builder, to integrate the new Xcode build toolsets added

image.png.db009563f9ad03c2eb3d36cfbc435f5d.png

 

I installed latest XCode 15 to make a few build tests

While using XCode 14, XCode 13 everything is fine

But with XCode 15 I encountered a few failures building Clover

Anyone experiencing the same?

On fresh install, first failure with Xcode 15 occurs when starting mtoc build

the second occurs during the build process when accessing OCGuardLib/UbsanPrintf

here's where it fails

/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:295:26: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
                    p.lz = 1;
                         ^ ~
/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:298:27: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
                    p.alt = 1;
                          ^ ~
/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:315:20: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
              p.lz = 1;  /* zero-padding */
                   ^ ~
/Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:385:23: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
                p.alt = 1;
                      ^ ~
4 errors generated.
make: *** [/Users/labyone/src/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib/OUTPUT/UbsanPrintf.obj] Error 1


build.py...
 : error 7000: Failed to execute command
    make tbuild [/Users/labyone/src/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib]


build.py...
 : error F002: Failed to build module
    /Users/labyone/src/CloverBootloader/OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf [X64, XCODE15, RELEASE]

- Failed -
Build end time: 13:13:16, Sep.22 2023
Build total time: 00:00:23

Solved both issues and now all build fine using all toolsets (GCC and XCode (all versions I have))

I also updated :

GCC to 13.2 and all dependencies

Gettext

If you want I can eventually upload here the files and patches or I can pull the changes via Git, until I still have the time :)

 

 

I also have a problem with XCode 15, unable to compile Clover.

Link to comment
Share on other sites

5 hours ago, naiclub said:
  Reveal hidden contents

 

I also have a problem with XCode 15, unable to compile Clover.

Hi

 

In the file .../CloverBootloader/BaseTools/Conf/tools_def.template add switch -Wno-single-bit-bitfield-constant-conversion at the end of the line (2903) DEFINE XCODE15_COMMON_FLAGS

and relaunch

         DEFINE XCODE15_COMMON_FLAGS      =  -nostdinc -c -Wall -Wextra -include AutoGen.h -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mms-bitfields -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings -mno-red-zone -fno-common -fdata-sections -ffreestanding -ffunction-sections -fno-asynchronous-unwind-tables -m64 -mabi=ms -mcmodel=small -DNO_MSABI_VA_FUNCS -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -Wno-unused-command-line-argument -Wno-single-bit-bitfield-constant-conversion
 

Regards

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...