Jump to content
30960 posts in this topic

Recommended Posts

Hi @Slice

One more thing about nvram2 on my Desktop3 legacy boot...

 

nvram.plist in EFI is always ZERO byts. Its like clover is not saving during shutdown process. Log says that nvram2 is not found

I checked the new 80.save_nvram_plist.local and noticed that in line 47, it was changed from nvram to nvram2.

Im sure i have nvram2 in /usr/local/bin & the path is working, because if i execute nvram2 in terminal, it works

 

So what i did is, changed $(nvram2 -x -p) to $(/usr/local/bin/nvram2 -x -p) in line 47. And now everything works

Maybe /usr/local/bin PATH is not working during shutdown process?

 

 

 

Edited by LockDown
  • Like 1
On 10/23/2023 at 2:52 AM, Slice said:

@LockDown,

It's new for me. May be you are right and nvram2 should be placed in more system folder like /usb/bin. This is a place for testing.

You can not put nvram 2 in /usr/bin in the new macOS System since BigSur 11

For doing this you need a SnapShot Disk 

  • Like 1
6 hours ago, LockDown said:

best to just edit 80.save_nvram_plist.local  and change line 47. No need for snapshot

Thanks!

https://github.com/CloverHackyColor/CloverBootloader/commit/164c956e0cf496a408572fb1ca6f57202bba8739

  • Like 3
On 10/26/2023 at 1:52 PM, Slice said:

hello I'd like you to take a look at this.

Spoiler

Please enter your choice: 7

[CHECK XCODE]

WORKSPACE: /Users/baby/CloverBootloader

EDK_TOOLS_PATH: /Users/baby/CloverBootloader/BaseTools

CONF_PATH: /Users/baby/CloverBootloader/Conf

Copying $EDK_TOOLS_PATH/Conf/build_rule.template

     to /Users/baby/CloverBootloader/Conf/build_rule.txt

Copying $EDK_TOOLS_PATH/Conf/tools_def.template

     to /Users/baby/CloverBootloader/Conf/tools_def.txt

Copying $EDK_TOOLS_PATH/Conf/target.template

     to /Users/baby/CloverBootloader/Conf/target.txt

[BUILD CLOVER]

TOOLCHAIN_DIR: /Users/baby/CloverBootloader/toolchain

MTOC_PREFIX: /Users/baby/CloverBootloader/toolchain/bin/

NASM_PREFIX: /Users/baby/CloverBootloader/toolchain/bin/

NASM_VER: 2.16.01

Initializing workspace

recreate Conf folder

WORKSPACE: /Users/baby/CloverBootloader

EDK_TOOLS_PATH: /Users/baby/CloverBootloader/BaseTools

CONF_PATH: /Users/baby/CloverBootloader/Conf

Copying $EDK_TOOLS_PATH/Conf/build_rule.template

     to /Users/baby/CloverBootloader/Conf/build_rule.txt

Copying $EDK_TOOLS_PATH/Conf/tools_def.template

     to /Users/baby/CloverBootloader/Conf/tools_def.txt

Copying $EDK_TOOLS_PATH/Conf/target.template

     to /Users/baby/CloverBootloader/Conf/target.txt

 

Running edk2 build for CloverX64 using the command:

build --cmd-len=50000 -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG --conf=/Users/baby/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t XCODE15 -n 5 

 

Build environment: macOS-14.2-x86_64-i386-64bit

Build start time: 12:41:42, Oct.30 2023

 

tools_def.txt parser: : warning: Line 2903: not correct assignment statement, skipped

WORKSPACE        = /Users/baby/CloverBootloader

EDK_TOOLS_PATH   = /Users/baby/CloverBootloader/BaseTools

CONF_PATH        = /Users/baby/CloverBootloader/Conf

PYTHON_COMMAND   = python3

 

 

Processing meta-data .

Architecture(s)  = X64

Build target     = RELEASE

Toolchain        = XCODE15

 

Active Platform          = /Users/baby/CloverBootloader/Clover.dsc

..... done!

[CC] MemLogLib

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] Acpi

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] IoHighLevel

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] ARShiftU64

make: Nothing to be done for `tbuild'.

[CC] CompareMemWrapper

[CC] BitField

[CC] IoLib

[CC] CopyMem

[CC] Console

[CC] printf_lite

[CC] IoLibGcc

[CC] CheckSum

[CC] CopyMemWrapper

[CC] IoLibMmioBuffer

[CC] UefiDriverModel

[CC] IsZeroBufferWrapper

[SLINK] MemLogLibDefault

[CC] ChkStkGcc

[CC] MemLibGeneric

[NASM] IoFifo

[CC] Cpu

[CC] MemLibGuid

[CC] UefiLib

[CC] CpuDeadLoop

[CC] ScanMem16Wrapper

[CC] DivS64x64Remainder

[SLINK] BaseIoLibIntrinsic

[CC] ScanMem32Wrapper

[CC] DivU64x32

[CC] UefiLibPrint

[CC] ScanMem64Wrapper

[CC] DivU64x32Remainder

[CC] ScanMem8Wrapper

[CC] UefiNotTiano

[CC] DivU64x64Remainder

[CC] SetMem

[CC] FilePaths

[SLINK] UefiLib

[CC] SetMem16Wrapper

[CC] GetPowerOfTwo32

[CC] SetMem32Wrapper

[CC] GetPowerOfTwo64

[CC] SetMem64Wrapper

[CC] HighBitSet32

[CC] SetMemWrapper

[CC] HighBitSet64

[CC] ZeroMemWrapper

[CC] LRotU32

[SLINK] BaseMemoryLib

[CC] LRotU64

[CC] LShiftU64

[CC] LinkedList

[CC] LongJump

[CC] LowBitSet32

[CC] LowBitSet64

[CC] Math64

[CC] ModU64x32

[CC] MultS64x64

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] MultU64x32

[CC] AutoGen

[CC] AutoGen

[CC] DxeMpLib

[CC] MultU64x64

[CC] BdsBoot

[CC] CustomizedDisplayLib

[CC] RRotU32

[CC] RRotU64

[CC] Microcode

[CC] CustomizedDisplayLibInternal

[CC] RShiftU64

[CC] MpLib

[CC] SafeString

[SLINK] CustomizedDisplayLib

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] DebugHelp

make: Nothing to be done for `tbuild'.

[CC] BdsConnect

[CC] SetJump

make: Nothing to be done for `tbuild'.

[CC] OpenCoreAcpi

[CC] DebugPrint

[CC] String

[NASM] MpFuncs

[CC] OcAppleLog

[CC] BdsConsole

[CC] OpenCoreDevProps

[CC] SwapBytes16

[CC] OcLog

[CC] SwapBytes32

[CC] OpenCoreKernel

[SLINK] OcDebugLogLib

[CC] SwapBytes64

[CC] BdsMisc

[SLINK] DxeMpInitLib

[CC] AcpiDump

[CC] AppleKeyMap

[CC] SwitchStack

[CC] Unaligned

[CC] AcpiParser

[CC] EventQueue

[CC] OpenCoreKernelPatch

[NASM] CpuId

[CC] DevicePath

[CC] KeyHandler

[CC] String

[CC] OpenCoreMisc

[NASM] CpuIdEx

[SLINK] GenericBdsLib

[CC] OcAppleEventLib

[CC] AIK

[CC] OcAcpiLib

[CC] PointerHandler

[CC] OpenCoreNvram

[CC] AIKData

[NASM] DisableCache

[CC] AIKMap

[SLINK] OcAppleEventLib

[CC] OpenCorePlatform

[CC] AIKShim

[CC] OcAppleImg4Lib

[SLINK] OcAcpiLib

make: Nothing to be done for `tbuild'.

[CC] AIKSource

make: Nothing to be done for `tbuild'.

[CC] DER_CertCrl

[NASM] DisablePaging64

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] CxxSymbols

[CC] DER_Decode

[CC] AIKTarget

[CC] Fat

[CC] DER_Digest

[CC] AIKTranslate

[CC] OpenCoreUefi

[CC] DER_Keys

[CC] Header

[CC] AIM

[CC] oids

[NASM] EnableCache

[CC] DER_Img4Manifest

[CC] Macho32

[CC] AIT

[CC] Img4oids

[CC] OpenCoreUefiAudio

[SLINK] OcInputLib

[NASM] EnableDisableInterrupts

[SLINK] OcAppleImg4Lib

[CC] OcAppleDiskImageBlockIo

[CC] AsciiStringBuffer

[CC] OpenCoreUefiInOut

[CC] OcAppleDiskImageLib

[CC] FlexArray

[CC] Macho64

[CC] OcAppleDiskImageLibInternal

[CC] FlexString

[CC] GccInline

[CC] OpenCoreVault

[SLINK] OcFlexArrayLib

[SLINK] OcAppleDiskImageLib

[NASM] Lfence

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] ConsoleControl

make: Nothing to be done for `tbuild'.

[SLINK] OcMainLib

[CC] BlitBufferToVideo

make: Nothing to be done for `tbuild'.

[CC] Aes

[CC] ConsoleGop

[CC] Relocations

[CC] BlitVideoToBuffer

[CC] Symbols

[NASM] LongJump

[CC] Eg2Info

[SLINK] OcMachoLib

[CC] OcBlitLib

[CC] FramebufferInfo

make: Nothing to be done for `tbuild'.

[CC] BigNumMontgomery

[CC] LegacyRegionLock

[CC] GopPassThrough

[SLINK] OcBlitLib

[CC] LegacyRegionUnLock

make: Nothing to be done for `tbuild'.

[CC] BigNumPrimitives

[CC] Non-existing

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] AutoGen

[NASM] RdRand

[CC] OcConsoleLib

[CC] MemoryAlloc

[CC] Ifconfig

/Users/baby/CloverBootloader/OpenCorePkg/Library/OcMemoryLib/MemoryAlloc.c:39:36: error: expected ';' at end of declaration

  UINTN                  MapKey = 0

                                   ^

                                   ;

1 error generated.

make: *** [/Users/baby/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib/OUTPUT/MemoryAlloc.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

make tbuild [/Users/baby/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib]

 

 

build.py...

 : error F002: Failed to build module

/Users/baby/CloverBootloader/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf [X64, XCODE15, RELEASE]

 

- Failed -

Build end time: 12:42:01, Oct.30 2023

Build total time: 00:00:20

 

baby@iMac CloverBootloader % 

 

  • 4 weeks later...
5 hours ago, cankiulascmnfye said:

Something is wrong with the lastes Clover Commit: https://github.com/CloverHackyColor/CloverBootloader/issues/650

Did you test previous commits? Since what commit this happened?

On 9/26/2023 at 9:26 PM, miliuco said:

@Matgen84

 

I can boot Sonoma without the wifi settings. 
 

I see in the log that IOSkywalk seems to be blocked. But it’s blocked after adding the 3 kexts. Maybe this must be the other way around, first the block before the addition. Waiting for @Slice

@Matgen84 / @miliuco / @Slice Anybody found Solution for BlockSkywalk & 3 Kext to use Broadcom Cards in Sonoma?  I am at the same situation using BlockSkywalk = true there is a early kp , Without BlockSkywalk & these 3 kexts i can boot sonoma ...

@datafeedexpert I have an early kernel panic when using the latest Clover version as well. I didn't know what it was at first. But since I need BlockSkywalk on my Laptop as well, I am pretty sure now that's the reason why. This was the last build that works for me: https://github.com/CloverHackyColor/CloverBootloader/actions/runs/6921325173

18 minutes ago, cankiulascmnfye said:

@datafeedexpert I have an early kernel panic when using the latest Clover version as well. I didn't know what it was at first. But since I need BlockSkywalk on my Laptop as well, I am pretty sure now that's the reason why. This was the last build that works for me: https://github.com/CloverHackyColor/CloverBootloader/actions/runs/6921325173

@cankiulascmnfye I just Tried Clover beta-c5cb64623 but still i am unable to boot sonoma, if i use False = BlockSkywalk & remove these 3 kext from 14 folder then only i can boot .... i Think @Slice & team needs some more time to provide us a proper solution....

56 minutes ago, datafeedexpert said:

@cankiulascmnfye I just Tried Clover beta-c5cb64623 but still i am unable to boot sonoma, if i use False = BlockSkywalk & remove these 3 kext from 14 folder then only i can boot .... i Think @Slice & team needs some more time to provide us a proper solution....

 

Which kexts exatly: those for modern Wifi or those for legacy Wifi? Because those for Legacy Wiifi had a naming issue in the info.plist which has only been corrected yesterday:

Quote

corecaptureElCap.kext's CFBundleExecutable is listed as corecatpure, but the actual binary is named corecaptureElCap.

IO80211ElCap.kext's CFBundleExecutable is listed as IO80211Family, but the actual binary is named IO80211ElCap.

 

SOURCE  https://github.com/corpnewt/ProperTree/issues/166

Edited by cankiulascmnfye
  • Like 2
12 minutes ago, cankiulascmnfye said:

 

Which kexts exatly: those for modern Wifi or those for legacy Wifi? Because those for Legacy Wiifi had a naming issue in the info.plist which has only been corrected yesterday:

 

SOURCE  https://github.com/corpnewt/ProperTree/issues/166

It's Modern Wifi 

 Model DW1830 - BCM43602 

 Vendor ID: 0x14e4

  Device ID: 0x43ba

Folder 14 Have : IO80211FamilyLegacy.kext --> (Plugin - AirPortBrcmNIC.kext )IOSkywalkFamily.kext

BlockSkywalk  | Boolean | Yes



 

  • Like 1

In Sonoma 14.1.2 (23B92) and Ventura Ventura 13.6.1 (22G313), the compilation of Clover r5156 (SHA: 09938d410) terminates abnormally with a number of errors. I am attaching the log:

Cloverbuild-5156-20231201-07.58.50.log

Edited by MakAsus
12 hours ago, MakAsus said:

In Sonoma 14.1.2 (23B92) and Ventura Ventura 13.6.1 (22G313), the compilation of Clover r5156 (SHA: 09938d410) terminates abnormally with a number of errors. I am attaching the log:

Cloverbuild-5156-20231201-07.58.50.log 33.24 kB · 4 downloads

It looks like gcc bug

internal compiler error: Segmentation fault: 11
 2650 |     da -= 2 * NSVG_PI;
      |     ^~
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.

But I will look if I can improve something.

What gcc version did you use? I have 

gcc version 13.1.0 (GCC) 

and there is no such errors.

The file  CloverBootloader/rEFIt_UEFI/libeg/nanosvg.cpp  lines 2649...

  if (fs == 0 && da > 0)
    da -= 2 * NSVG_PI;
  else if (fs == 1 && da < 0)
    da += 2 * NSVG_PI;

Try to change 2 -> 2.0f so

  if (fs == 0 && da > 0)
    da -= 2.0f * NSVG_PI;
  else if (fs == 1 && da < 0)
    da += 2.0f * NSVG_PI;

Is the compiler errors escape?

 

8 hours ago, Slice said:

It looks like gcc bug

internal compiler error: Segmentation fault: 11
 2650 |     da -= 2 * NSVG_PI;
      |     ^~
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.

But I will look if I can improve something.

What gcc version did you use? I have 

gcc version 13.1.0 (GCC) 

and there is no such errors.

I also have gcc-13.1.0 🤷‍♂️

×
×
  • Create New...