Jump to content
30960 posts in this topic

Recommended Posts

I have to leave for now but I saw that some lines below, after setting up open core structure, I try to start openruntime.efi image even if it’s not loaded.

i only had time to test once but the crash seems gone.

Will test more and finish that tomorrow.

One more issue. debug.log is not created at this crash.

It is very-very bad. Old method for debug.log assumed that it must be created at any crash. Not now.

In the old method file opened or created and closed at every line. In the new method it will be open once and so not saved at incidence.

  • Like 1

For decades, I told programmer : "check return status of everything you call, even in experimental code. If you are sure of the return status, still check it and panic (or exception) if it's not what you think".

The obvious reason is to quickly know where is the problem when things change. If you don't panic, crash happens later on. You waste a lot of time understand where and why.

Why also in experimental code ? Because pieces of experimental code always crawl into production code !

I killed a lot of programmers over few decades to not follow this ! :)

Look what I did when I was trying to integrate OC 

    EFI_HANDLE DriverHandle;
    Status = gBS->LoadImage(false, gImageHandle, FileDevicePath(self.getSelfLoadedImage().DeviceHandle, FileName), NULL, 0, &DriverHandle);
    DBG("Load OpenRuntime.efi : Status %s\n", efiStrError(Status));
    Status = gBS->StartImage(DriverHandle, 0, 0);
    DBG("Start OpenRuntime.efi : Status %s\n", efiStrError(Status));

Do you see it ?

I call StartImage even if LoadImage fails !!! So bad. At that time, I thought OpenRuntime.efi was mandatory. But that's no excuse. By not testing the result code (Status) of LoadImage, I just wasted 2 programmers a lot of hours. Arg, shame on me.

If I had put something like this :

    EFI_HANDLE DriverHandle;
    Status = gBS->LoadImage(false, gImageHandle, FileDevicePath(self.getSelfLoadedImage().DeviceHandle, FileName), NULL, 0, &DriverHandle);
    DBG("Load OpenRuntime.efi : Status %s\n", efiStrError(Status));
    if ( EFI_ERROR(Status) ) panic("Cannot load OpenRuntime.efi");
    Status = gBS->StartImage(DriverHandle, 0, 0);
    DBG("Start OpenRuntime.efi : Status %s\n", efiStrError(Status));

See the "if ( EFI_ERROR(Status) ) panic("Cannot load OpenRuntime.efi");" ?

The message would have been very clear when people try to not put OpenRuntime.efi. Bug would have been fixed in 5 minutes top.

Good example that my advice was good and I must have followed it ;).

Sorry everyone.

@Slice : and please say sorry for me in Russian on Applelife.ru

 

  • Like 3

Ah and for the log : in the config.plist in the Qemu disk image, the key was Log instead of Debug. I fixed it and it's in the zip. Delete "disk_image_gpt.img.zip" and the launch script will re-extract the zip.

I don't understand why you said that I'm not closing the log, and why you re-import old method. At the end of the new "SaveMessageToDebugLogFile", there is "closeDebugLog();"

If there is a log creation problem, tell me how to reproduce and I'll fix it.

4 hours ago, Jief_Machak said:

 

See the "if ( EFI_ERROR(Status) ) panic("Cannot load OpenRuntime.efi");" ?

 

 

Hmmm... Not agree. Legacy bios boot may live without OpenRuntime.efi so in this case the driver is not mandatory.

May be better

if ( !EFI_ERROR(Status) ) Status = gBS->StartImage(DriverHandle, 0, 0);
Just now, Slice said:

Hmmm... Not agree. Legacy bios boot may live without OpenRuntime.efi so in this case the driver is not mandatory.

May be better


if ( !EFI_ERROR(Status) ) Status = gBS->StartImage(DriverHandle, 0, 0);

Yes, it's what I did now I know it's not mandatory.

I was explaining that, when I thought it was mandatory and always there, I still should have checked the return code. And because it was experimental at that time, if I had put a panic, we would have catch that bug very easy the first time someone tried to boot without OpenRuntime.efi, therefore avoiding painful process to reproduce and fix.

In short, when creating new code and focusing on one case (boot with OpenRuntime.efi), it's better to put some panic for non-handled cases instead of nothing.

As I remember Pene can boot Z390 without OpenRuntime in UEFI mode.

1 minute ago, Jief_Machak said:

Yes, it's what I did now I know it's not mandatory.

I was explaining that, when I thought it was mandatory and always there, I still should have checked the return code. And because it was experimental at that time, if I had put a panic, we would have catch that bug very easy the first time someone tried to boot without OpenRuntime.efi, therefore avoiding painful process to reproduce and fix.

In short, when creating new code and focusing on one case (boot with OpenRuntime.efi), it's better to put some panic for non-handled cases instead of nothing.

As a method yes

22 minutes ago, MifJpn said:

Hello, Slice, Jief.
Thank you for always doing your best for everyone.

 

I'm worried about Slice's rig malfunction.

 

For now, the latest commits can be compiled by me as well. Also, there is no problem with its movement.

From the place where * Dirty.efi was written in the middle of the compilation log, it seemed to me that the environment variables were adjusted again and the compilation was restarted.
I expect it to be an adjustment to avoid any problems.
Or is it due to enhancements?

 

I hope you can answer when you have time.

 

I hope the problem of qemu issue will be cured.

 

Thank you.

I didn't understand you.

1. Where is my rig malfunction?

2. "I expect it to be an adjustment to avoid any problems." - it is about what? What is Dirty.efi?

I continue to refactor SETTINGS_DATA to separate functional layers.

For most of the settings it is just a rename, which cannot really introduce new bugs. But there is of course some more complicated ones.

So If you use the SSDT or CPU settings EnableC2, EnableC4, EnableC6, C3Latency, HWPEnable or HWPValue, I'll very much appreciate a test with the latest commit, or the efi supplied in this post.

Thanks.CLOVERX64.efi

 

error compilation

Spoiler

Last login: Fri Mar 19 17:21:33 on ttys000

 

The default interactive shell is now zsh.

To update your account to use zsh, please run `chsh -s /bin/zsh`.

For more details, please visit https://support.apple.com/kb/HT208050.

iMacSTRIX:~ utente$ /Users/utente/CloverBootloader/buildme ; exit;

 

------------------------------------------------------------------------

buildme, Clover r5131 (SHA: d33d0479f)

TOOLCHAIN: GCC53 (override example: './buildme XCODE8')

 

 1) build Clover

 2) build Clover with HFSPlus

 3) make pkg

 4) make app

 5) make app (with Clover)

 6) make iso

 7) build all

 8) test build (no autogen, no boot files)

 9) status

10) update Clover

11) show diff

12) open CloverV2/EFI/CLOVER directory

13) update Clover (reset changes)

14) clean BaseTools

15) quit

Please enter your choice: 13

Are you sure? (type y to confirm or any other to negate) y

[UPDATE RESET CLOVER]

Fetching origin

 

Fetching submodule OpenCorePkg

Fetching submodule OpenCorePkg

Entering 'OpenCorePkg'

Entering 'OpenCorePkg'

HEAD is now at 5ab1a58d Reactivate warnings.

HEAD is now at d33d0479f Continuing refactoring SETTINGS_DATA.

From https://github.com/CloverHackyColor/CloverBootloader

 * branch                master     -> FETCH_HEAD

Fetching submodule OpenCorePkg

Already up-to-date.

 

------------------------------------------------------------------------

buildme, Clover r5131 (SHA: d33d0479f)

TOOLCHAIN: GCC53 (override example: './buildme XCODE8')

 

 1) build Clover

 2) build Clover with HFSPlus

 3) make pkg

 4) make app

 5) make app (with Clover)

 6) make iso

 7) build all

 8) test build (no autogen, no boot files)

 9) status

10) update Clover

11) show diff

12) open CloverV2/EFI/CLOVER directory

13) update Clover (reset changes)

14) clean BaseTools

15) quit

Please enter your choice:  1) build Clover

 2) build Clover with HFSPlus

 3) make pkg

 4) make app

 5) make app (with Clover)

 6) make iso

 7) build all

 8) test build (no autogen, no boot files)

 9) status

10) update Clover

11) show diff

12) open CloverV2/EFI/CLOVER directory

13) update Clover (reset changes)

14) clean BaseTools

15) quit

Please enter your choice: 10

[UPDATE CLOVER]

Fetching origin

Fetching submodule OpenCorePkg

Fetching submodule OpenCorePkg

From https://github.com/CloverHackyColor/CloverBootloader

 * branch                master     -> FETCH_HEAD

Fetching submodule OpenCorePkg

Already up-to-date.

 

------------------------------------------------------------------------

buildme, Clover r5131 (SHA: d33d0479f)

TOOLCHAIN: GCC53 (override example: './buildme XCODE8')

 

 1) build Clover

 2) build Clover with HFSPlus

 3) make pkg

 4) make app

 5) make app (with Clover)

 6) make iso

 7) build all

 8) test build (no autogen, no boot files)

 9) status

10) update Clover

11) show diff

12) open CloverV2/EFI/CLOVER directory

13) update Clover (reset changes)

14) clean BaseTools

15) quit

Please enter your choice: 7

[CHECK XCODE]

WORKSPACE: /Users/utente/CloverBootloader

EDK_TOOLS_PATH: /Users/utente/CloverBootloader/BaseTools

CONF_PATH: /Users/utente/CloverBootloader/Conf

Copying $EDK_TOOLS_PATH/Conf/build_rule.template

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

Copying $EDK_TOOLS_PATH/Conf/tools_def.template

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

Copying $EDK_TOOLS_PATH/Conf/target.template

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

[BUILD CLOVER]

TOOLCHAIN_DIR: /Users/utente/CloverBootloader/toolchain

NASM_PREFIX: /Users/utente/CloverBootloader/toolchain/bin/

NASM_VER: 2.15.05

Initializing workspace

recreate Conf folder

WORKSPACE: /Users/utente/CloverBootloader

EDK_TOOLS_PATH: /Users/utente/CloverBootloader/BaseTools

CONF_PATH: /Users/utente/CloverBootloader/Conf

Copying $EDK_TOOLS_PATH/Conf/build_rule.template

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

Copying $EDK_TOOLS_PATH/Conf/tools_def.template

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

Copying $EDK_TOOLS_PATH/Conf/target.template

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

 

Running edk2 build for CloverX64 using the command:

build  -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/utente/CloverBootloader/Conf -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t GCC53 -n 13 

 

Build environment: Darwin-19.6.0-x86_64-i386-64bit

Build start time: 17:22:38, Mar.19 2021

 

WORKSPACE        = /Users/utente/CloverBootloader

EDK_TOOLS_PATH   = /Users/utente/CloverBootloader/BaseTools

CONF_PATH        = /Users/utente/CloverBootloader/Conf

 

 

 

Processing meta-data Architecture(s)  = X64

.Build target     = RELEASE

Toolchain        = GCC53

 

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

...build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/config-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/config-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/strcasecmp_test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/strcasecmp_test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/xml_lite-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/xml_lite-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf

 done!

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64]

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/HdaDevicesLib/HdaDevicesLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/DuetTimerLib/DuetTimerLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseLib/BaseLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf [X64]

Building ... /Users/utente/CloverBootloader/Protocols/DumpUefiCalls/DumpUefiCalls.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/CloverEFI/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcDebugLogLibOc2Clover/OcDebugLogLibOc2Clover.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/WaveLib/WaveLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/OpensslLib/OpensslLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleKernelLib/OcAppleKernelLib.inf [X64]

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcDeviceTreeLib/OcDeviceTreeLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcCpuLib/OcCpuLib.inf [X64]

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcRtcLib/OcRtcLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/CloverEFI/UefiCpuPkg/Library/MtrrLib/MtrrLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcDataHubLib/OcDataHubLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Platform/OpenRuntime/OpenRuntime.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcDevicePathLib/OcDevicePathLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/FileSystems/VBoxFsDxe/VBoxIso9660.inf [X64]

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcUnicodeCollationEngLib/OcUnicodeCollationEngGenericLib.inf [X64]

[CC] AutoGen

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/VideoBiosPatchLib/VideoBiosPatchLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Drivers/PartitionDxe/PartitionDxe.inf [X64]

Building ... /Users/utente/CloverBootloader/CloverEFI/AcpiReset/Reset.inf [X64]

[CC] Apple

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAfterBootCompatLib/OcAfterBootCompatLib.inf [X64]

[CC] fsw_core

[CC] AutoGen

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcOSInfoLib/OcOSInfoLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcRngLib/OcRngLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/PcAtChipsetPkg/8254TimerDxe/8254Timer.inf [X64]

Building ... /Users/utente/CloverBootloader/Protocols/AppleImageCodec/AppleImageCodec.inf [X64]

[CC] AutoGen

[CC] AutoGen

[CC] Reset

Building ... /Users/utente/CloverBootloader/Protocols/AppleKeyAggregator/AppleKeyAggregator.inf [X64]

[CC] AppleImageCodec

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Platform/OpenCore/OpenCoreLib.inf [X64]

[CC] fsw_efi

[CC] AppleKeyAggregator

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcInputLib/OcInputLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

[CC] ComponentName

[CC] Timer

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleImageVerificationLib/OcAppleImageVerificationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleSecureBootLib/OcAppleSecureBootLib.inf [X64]

make: Nothing to be done for `tbuild'.

[SLINK] AcpiReset

Building ... /Users/utente/CloverBootloader/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf [X64]

make: Nothing to be done for `tbuild'.

[CC] AutoGen

[DLINK] AcpiReset

Building ... /Users/utente/CloverBootloader/FileSystems/ApfsDriverLoader/ApfsDriverLoader.inf [X64]

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleUserInterfaceThemeLib/OcAppleUserInterfaceThemeLib.inf [X64]

[CC] AcpiTable

[CC] ElTorito

[CC] fsw_efi_lib

[CC] AutoGen

[SLINK] Timer

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleKeysLib/OcAppleKeysLib.inf [X64]

[CC] ApfsDriverLoader

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Drivers/OhciDxe/OhciDxe.inf [X64]

[DLINK] Timer

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64]

[CC] load_bmp

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]

[CC] AutoGen

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]

[SLINK] AppleKeyAggregator

make: Nothing to be done for `tbuild'.

[CC] AcpiTableProtocol

Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]

[CC] fsw_iso9660

make: Nothing to be done for `tbuild'.

[DLINK] AppleKeyAggregator

[CC] Gpt

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcStringLib/OcStringLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/CppMemLib/CppMemLib.inf [X64]

[CC] ComponentName

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Protocols/FirmwareVolume/FirmwareVolume.inf [X64]

[CC] AutoGen

[CC] load_icns

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/FileSystems/GrubFS/src/UDF.inf [X64]

[OBJCOPY] Timer

Building ... /Users/utente/CloverBootloader/FileSystems/GrubFS/src/ISO9660.inf [X64]

[CC] AutoGen

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf [X64]

[GENFW] Timer

[CC] AutoGen

[OBJCOPY] AcpiReset

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcStorageLib/OcStorageLib.inf [X64]

[CC] AutoGen

[CC] fsw_lib

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=1200(0x4b0) mCoffOffsetNew=1408(0x580) diff=208(0xd0)

Section 3 .data mCoffOffset=1408(0x580) mCoffOffsetNew=1216(0x4c0) diff=-192(0xffffff40)

[CC] Mbr

[CC] EfiComponentName

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf [X64]

[GENFW] AcpiReset

[CC] AutoGen

[CC] Ohci

[CC] picopng

[CC] FirmwareVolume

[CC] 8259

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 4 .eh_frame mCoffOffset=1520(0x5f0) mCoffOffsetNew=1792(0x700) diff=272(0x110)

Section 3 .data mCoffOffset=1792(0x700) mCoffOffsetNew=1536(0x600) diff=-256(0xffffff00)

[CC] driver

[CC] driver

[SLINK] ApfsDriverLoader

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcConfigurationLib/OcConfigurationLib.inf [X64]

[CC] Partition

[SLINK] AcpiTableDxe

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcDevicePropertyLib/OcDevicePropertyLib.inf [X64]

[SLINK] VBoxIso9600

[DLINK] ApfsDriverLoader

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcMachoLib/OcMachoLib.inf [X64]

[SLINK] FirmwareVolume

[DLINK] AcpiTableDxe

[CC] AutoGen

Building ... /Users/utente/CloverBootloader/FileSystems/VBoxFsDxe/VBoxExt4.inf [X64]

make: Nothing to be done for `tbuild'.

[DLINK] VBoxIso9600

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [X64]

[DLINK] FirmwareVolume

[CC] file

[CC] file

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/OsxBdsPlatformLib/PlatformBds.inf [X64]

[CC] AutoGen

[OBJCOPY] AppleKeyAggregator

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/GenericBdsLib/GenericBdsLib.inf [X64]

[SLINK] Legacy8259

[CC] OhciDebug

[GENFW] AppleKeyAggregator

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf [X64]

[SLINK] PartitionDxe

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [X64]

[DLINK] Legacy8259

[CC] fsw_core

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 4 .eh_frame mCoffOffset=2640(0xa50) mCoffOffsetNew=2816(0xb00) diff=176(0xb0)

[SLINK] AppleImageCodec

Section 3 .data mCoffOffset=2816(0xb00) mCoffOffsetNew=2688(0xa80) diff=-128(0xffffff80)

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [X64]

[DLINK] PartitionDxe

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]

[CC] grub

[DLINK] AppleImageCodec

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcSmbiosLib/OcSmbiosLib.inf [X64]

make: Nothing to be done for `tbuild'.

[CC] grub

Building ... /Users/utente/CloverBootloader/FileSystems/GrubFS/src/HFSPLUS.inf [X64]

[CC] OhciReg

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcDriverConnectionLib/OcDriverConnectionLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf [X64]

[CC] AutoGen

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf [X64]

[OBJCOPY] FirmwareVolume

[CC] fshelp

[CC] fsw_efi

[CC] AutoGen

[GENFW] FirmwareVolume

[OBJCOPY] Legacy8259

[CC] fshelp

[CC] driver

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=1600(0x640) mCoffOffsetNew=6144(0x1800) diff=4544(0x11c0)

Section 3 .data mCoffOffset=6144(0x1800) mCoffOffsetNew=1600(0x640) diff=-4544(0xffffee40)

[GENFW] Legacy8259

[CC] OhciSched

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf [X64]

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=1728(0x6c0) mCoffOffsetNew=1920(0x780) diff=192(0xc0)

Section 3 .data mCoffOffset=1920(0x780) mCoffOffsetNew=1728(0x6c0) diff=-192(0xffffff40)

[CC] ComponentName

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf [X64]

[CC] iso9660

[CC] AutoGen

[CC] udf

[CC] file

[OBJCOPY] AcpiTableDxe

[CC] fsw_efi_lib

[CC] DiskIo

[GENFW] AcpiTableDxe

[OBJCOPY] ApfsDriverLoader

[CC] OhciUrb

Building ... /Users/utente/CloverBootloader/FileSystems/VBoxFsDxe/VBoxExt2.inf [X64]

[GENFW] ApfsDriverLoader

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 4 .eh_frame mCoffOffset=5480(0x1568) mCoffOffsetNew=5632(0x1600) diff=152(0x98)

Section 3 .data mCoffOffset=5632(0x1600) mCoffOffsetNew=5504(0x1580) diff=-128(0xffffff80)

[CC] ComponentName

[CC] AutoGen

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=5560(0x15b8) mCoffOffsetNew=6080(0x17c0) diff=520(0x208)

Section 3 .data mCoffOffset=6080(0x17c0) mCoffOffsetNew=5568(0x15c0) diff=-512(0xfffffe00)

[CC] device

[CC] fsw_ext4

[CC] grub

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleEventLib/OcAppleEventLib.inf [X64]

[CC] device

[SLINK] DiskIoDxe

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcApfsLib/OcApfsLib.inf [X64]

[CC] fsw_core

[CC] UsbHcMem

[CC] IsaAcpi

Building ... /Users/utente/CloverBootloader/CloverEFI/PciRootBridgeDxe/PciRootBridge.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleRamDiskLib/OcAppleRamDiskLib.inf [X64]

[DLINK] DiskIoDxe

make: Nothing to be done for `tbuild'.

[CC] err

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcCompressionLib/OcCompressionLib.inf [X64]

[CC] AutoGen

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/FileSystems/FatPkg/EnhancedFatDxe/Fat.inf [X64]

[CC] fshelp

[CC] fsw_lib

[CC] err

[CC] AutoGen

[CC] PcatIsaAcpi

[SLINK] OhciDxe

[CC] DeviceIo

[CC] list

[CC] fsw_efi

[DLINK] OhciDxe

[CC] hfsplus

[CC] ComponentName

[OBJCOPY] VBoxIso9600

[CC] list

[GENFW] VBoxIso9600

[SLINK] IsaAcpi

[SLINK] VBoxExt4

[CC] misc

[CC] PcatIo

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=31424(0x7ac0) mCoffOffsetNew=32256(0x7e00) diff=832(0x340)

Section 3 .data mCoffOffset=32256(0x7e00) mCoffOffsetNew=31424(0x7ac0) diff=-832(0xfffffcc0)

[DLINK] IsaAcpi

[DLINK] VBoxExt4

[CC] fsw_efi_lib

[CC] Data

Building ... /Users/utente/CloverBootloader/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64]

[CC] misc

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]

[CC] hfspluscomp

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcMiscLib/OcMiscLib.inf [X64]

[CC] grub_driver

[CC] PcatPciRootBridge

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcHashServicesLib/OcHashServicesLib.inf [X64]

[CC] Delete

[CC] fsw_ext2

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcFileLib/OcFileLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleImg4Lib/OcAppleImg4Lib.inf [X64]

[CC] gzio

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf [X64]

[CC] grub_driver

[CC] grub_file

[CC] DirectoryCache

[CC] AutoGen

[CC] PcatPciRootBridgeDevicePath

[CC] fsw_lib

[OBJCOPY] DiskIoDxe

[OBJCOPY] IsaAcpi

[GENFW] DiskIoDxe

[GENFW] IsaAcpi

[CC] grub_file

[CC] ComponentName

[CC] device

[CC] DirectoryManage

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=6592(0x19c0) mCoffOffsetNew=7040(0x1b80) diff=448(0x1c0)

Section 3 .data mCoffOffset=7040(0x1b80) mCoffOffsetNew=6592(0x19c0) diff=-448(0xfffffe40)

[CC] logging

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=2672(0xa70) mCoffOffsetNew=3200(0xc80) diff=528(0x210)

Section 3 .data mCoffOffset=3200(0xc80) mCoffOffsetNew=2688(0xa80) diff=-512(0xfffffe00)

[CC] PcatPciRootBridgeIo

[SLINK] VBoxExt2

[CC] UsbMassBoot

[OBJCOPY] PartitionDxe

[CC] err

[CC] missing

Building ... /Users/utente/CloverBootloader/Protocols/MsgLog/MsgLog.inf [X64]

[CC] logging

[DLINK] VBoxExt2

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcConsoleLib/OcConsoleLib.inf [X64]

[OBJCOPY] AppleImageCodec

[CC] DiskCache

[GENFW] PartitionDxe

[CC] AutoGen

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf [X64]

[GENFW] AppleImageCodec

[SLINK] PcatPciRootBridge

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=17320(0x43a8) mCoffOffsetNew=18112(0x46c0) diff=792(0x318)

Section 3 .data mCoffOffset=18112(0x46c0) mCoffOffsetNew=17344(0x43c0) diff=-768(0xfffffd00)

[CC] AutoGen

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=12400(0x3070) mCoffOffsetNew=12544(0x3100) diff=144(0x90)

Section 3 .data mCoffOffset=12544(0x3100) mCoffOffsetNew=12416(0x3080) diff=-128(0xffffff80)

[CC] list

[CC] path

[DLINK] PcatPciRootBridge

[CC] UsbMassBot

[CC] missing

[CC] MsgLog

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcSerializeLib/OcSerializeLib.inf [X64]

[CC] Fat

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcCryptoLib/OcCryptoLib.inf [X64]

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcMacInfoLib/OcMacInfoLib.inf [X64]

[CC] SmbiosDxe

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Protocols/AppleUITheme/AppleUITheme.inf [X64]

[CC] misc

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]

[CC] utf8

[CC] path

[SLINK] MsgLog

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcVirtualFsLib/OcVirtualFsLib.inf [X64]

[CC] UsbMassCbi

[CC] AppleUITheme

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcSmcLib/OcSmcLib.inf [X64]

[CC] FileName

[DLINK] MsgLog

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAudioLib/OcAudioLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf [X64]

[SLINK] GrubISO9660

[CC] AutoGen

[CC] utf8

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/FileSystems/VBoxFsDxe/VBoxReiserFS.inf [X64]

[CC] grub_driver

[CC] UsbMassDiskInfo

[SLINK] SmbiosDxe

[DLINK] GrubISO9660

[CC] AutoGen

[CC] FileSpace

[DLINK] SmbiosDxe

[SLINK] AppleUITheme

[OBJCOPY] MsgLog

[CC] UsbMassImpl

[CC] grub_file

[SLINK] GrubUDF

[DLINK] AppleUITheme

[CC] fsw_core

[GENFW] MsgLog

[CC] Flush

[DLINK] GrubUDF

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 4 .eh_frame mCoffOffset=816(0x330) mCoffOffsetNew=896(0x380) diff=80(0x50)

Section 3 .data mCoffOffset=896(0x380) mCoffOffsetNew=832(0x340) diff=-64(0xffffffc0)

[SLINK] UsbMassStorageDxe

[CC] logging

[CC] Hash

[CC] fsw_efi

[OBJCOPY] AppleUITheme

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf [X64]

[OBJCOPY] VBoxExt4

[DLINK] UsbMassStorageDxe

[OBJCOPY] OhciDxe

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf [X64]

[GENFW] AppleUITheme

[GENFW] VBoxExt4

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf [X64]

[GENFW] OhciDxe

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=800(0x320) mCoffOffsetNew=960(0x3c0) diff=160(0xa0)

Section 3 .data mCoffOffset=960(0x3c0) mCoffOffsetNew=832(0x340) diff=-128(0xffffff80)

[CC] missing

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=14584(0x38f8) mCoffOffsetNew=15040(0x3ac0) diff=456(0x1c8)

Section 3 .data mCoffOffset=15040(0x3ac0) mCoffOffsetNew=14592(0x3900) diff=-448(0xfffffe40)

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=17152(0x4300) mCoffOffsetNew=17408(0x4400) diff=256(0x100)

Section 3 .data mCoffOffset=17408(0x4400) mCoffOffsetNew=17152(0x4300) diff=-256(0xffffff00)

[CC] Info

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf [X64]

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf [X64]

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf [X64]

[CC] fsw_efi_lib

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]

[CC] path

[OBJCOPY] SmbiosDxe

Building ... /Users/utente/CloverBootloader/NetworkPkg/Library/DxeNetLib/DxeNetLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf [X64]

make: Nothing to be done for `tbuild'.

[CC] Init

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf [X64]

[GENFW] SmbiosDxe

[OBJCOPY] PcatPciRootBridge

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64]

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]

make: Nothing to be done for `tbuild'.

[CC] fsw_lib

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 4 .eh_frame mCoffOffset=5264(0x1490) mCoffOffsetNew=5632(0x1600) diff=368(0x170)

[GENFW] PcatPciRootBridge

Section 3 .data mCoffOffset=5632(0x1600) mCoffOffsetNew=5312(0x14c0) diff=-320(0xfffffec0)

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64]

make: Nothing to be done for `tbuild'.

[CC] utf8

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcXmlLib/OcXmlLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcFirmwareVolumeLib/OcFirmwareVolumeLib.inf [X64]

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 4 .eh_frame mCoffOffset=9768(0x2628) mCoffOffsetNew=9984(0x2700) diff=216(0xd8)

Section 3 .data mCoffOffset=9984(0x2700) mCoffOffsetNew=9792(0x2640) diff=-192(0xffffff40)

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcPeCoffLib/OcPeCoffLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcTemplateLib/OcTemplateLib.inf [X64]

make: Nothing to be done for `tbuild'.

[CC] Misc

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Protocols/DriverOverride/DriverOverride.inf [X64]

Building ... /Users/utente/CloverBootloader/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]

[CC] AutoGen

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

[CC] AutoGen

[SLINK] GrubHFSPLUS

[OBJCOPY] VBoxExt2

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAppleKeyMapLib/OcAppleKeyMapLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Protocols/HashServiceFix/HashServiceFix.inf [X64]

[CC] fsw_reiserfs

[GENFW] VBoxExt2

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/FileSystems/GrubFS/src/NTFS.inf [X64]

[DLINK] GrubHFSPLUS

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=14232(0x3798) mCoffOffsetNew=14720(0x3980) diff=488(0x1e8)

Section 3 .data mCoffOffset=14720(0x3980) mCoffOffsetNew=14272(0x37c0) diff=-448(0xfffffe40)

Building ... /Users/utente/CloverBootloader/CloverEFI/CpuDxe/Cpu.inf [X64]

[CC] AutoGen

[CC] Open

Building ... /Users/utente/CloverBootloader/Library/MemLogLibDefault/MemLogLibDefault.inf [X64]

[CC] OsxFatBinaryDrv

[CC] AutoGen

[CC] AutoGen

[CC] DriverOverride

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf [X64]

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Universal/Metronome/Metronome.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [X64]

[CC] HashServiceFix

[CC] AutoGen

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]

[CC] driver

[SLINK] VBoxReiserFS

[CC] OpenVolume

[CC] Cpu

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]

[SLINK] OsxFatBinaryDrv

[SLINK] DriverOverride

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]

[DLINK] VBoxReiserFS

[DLINK] OsxFatBinaryDrv

make: Nothing to be done for `tbuild'.

[DLINK] DriverOverride

Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]

[CC] Metronome

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]

[CC] sha1

[CC] ReadWrite

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64]

[CC] file

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]

[NASM] CpuInterrupt

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/FileSystems/GrubFS/src/EXFAT.inf [X64]

[OBJCOPY] UsbMassStorageDxe

[SLINK] Metronome

[GENFW] UsbMassStorageDxe

[CC] AutoGen

[DLINK] Metronome

[OBJCOPY] DriverOverride

[CC] UnicodeCollation

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=10776(0x2a18) mCoffOffsetNew=11328(0x2c40) diff=552(0x228)

Section 3 .data mCoffOffset=11328(0x2c40) mCoffOffsetNew=10816(0x2a40) diff=-512(0xfffffe00)

[SLINK] HashServiceFix

[CC] grub

[GENFW] DriverOverride

Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]

[CC] driver

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=680(0x2a8) mCoffOffsetNew=768(0x300) diff=88(0x58)

Section 3 .data mCoffOffset=768(0x300) mCoffOffsetNew=704(0x2c0) diff=-64(0xffffffc0)

[DLINK] HashServiceFix

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcBootManagementLib/OcBootManagementLib.inf [X64]

[OBJCOPY] OsxFatBinaryDrv

[SLINK] Fat

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf [X64]

[GENFW] OsxFatBinaryDrv

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Drivers/AudioDxe/AudioDxe.inf [X64]

[CC] fshelp

[DLINK] Fat

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 4 .eh_frame mCoffOffset=2752(0xac0) mCoffOffsetNew=2880(0xb40) diff=128(0x80)

Section 3 .data mCoffOffset=2880(0xb40) mCoffOffsetNew=2752(0xac0) diff=-128(0xffffff80)

[CC] file

[CC] AudioDxe

Building ... /Users/utente/CloverBootloader/Protocols/AptioInputFix/AptioInputFix.inf [X64]

[OBJCOPY] Metronome

Building ... /Users/utente/CloverBootloader/LegacyBios/VideoDxe/VideoDxe.inf [X64]

[GENFW] Metronome

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/CloverEFI/BiosKeyboard/KeyboardDxe.inf [X64]

[SLINK] Cpu

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Drivers/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf [X64]

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=1056(0x420) mCoffOffsetNew=1216(0x4c0) diff=160(0xa0)

Section 3 .data mCoffOffset=1216(0x4c0) mCoffOffsetNew=1088(0x440) diff=-128(0xffffff80)

make: Nothing to be done for `tbuild'.

[CC] ntfs

Building ... /Users/utente/CloverBootloader/Drivers/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf [X64]

[DLINK] Cpu

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/Protocols/EmuVariableUefi/EmuVariableRuntimeDxe.inf [X64]

[CC] AutoGen

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf [X64]

[CC] grub

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/utente/CloverBootloader/CloverEFI/BiosVideo/BiosVideo.inf [X64]

[CC] HdaCodec

Building ... /Users/utente/CloverBootloader/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf [X64]

[OBJCOPY] GrubISO9660

[CC] AutoGen

[CC] ntfscomp

[CC] AutoGen

[GENFW] GrubISO9660

[CC] exfat

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=59336(0xe7c8) mCoffOffsetNew=65216(0xfec0) diff=5880(0x16f8)

Section 3 .data mCoffOffset=65216(0xfec0) mCoffOffsetNew=59392(0xe800) diff=-5824(0xffffe940)

[CC] BiosVideoNew

[CC] ComponentName

Building ... /Users/utente/CloverBootloader/CloverEFI/OsxSmbiosGenDxe/SmbiosGen.inf [X64]

[CC] device

[CC] HdaCodecAudioIo

[CC] AutoGen

[CC] fshelp

[CC] NvmExpress

[CC] SmbiosGen

[CPP] APFS

[CC] err

[CC] HdaCodecComponentName

[CC] device

[OBJCOPY] HashServiceFix

[CC] ComponentName

[GENFW] HashServiceFix

[OBJCOPY] Cpu

[CC] list

Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)

Section 5 .eh_frame mCoffOffset=14896(0x3a30) mCoffOffsetNew=15040(0x3ac0) diff=144(0x90)

Section 3 .data mCoffOffset=15040(0x3ac0) mCoffOffsetNew=14912(0x3a40) diff=-128(0xffffff80)

In file included from /Users/utente/CloverBootloader/rEFIt_UEFI/Platform/APFS.cpp:8:

/Users/utente/CloverBootloader/rEFIt_UEFI/Platform/Platform.h:22:10: fatal error: ../cpp_lib/undefinable.h: No such file or directory

   22 | #include "../cpp_lib/undefinable.h"

      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~

[CC] HdaCodecInfo

compilation terminated.

make: *** [/Users/utente/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/APFS.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

make tbuild [/Users/utente/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]

 

 

build.py...

 : error F002: Failed to build module

/Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE]

 

- Failed -

Build end time: 17:22:47, Mar.19 2021

Build total time: 00:00:10

 

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

 

[Processo completato]

 

 

50 minutes ago, Jief_Machak said:

So If you use the SSDT or CPU settings EnableC2, EnableC4, EnableC6, C3Latency, HWPEnable or HWPValue, I'll very much appreciate a test with the latest commit, or the efi supplied in this post.

Thanks.CLOVERX64.efi

ok my z370 work :thumbsup_anim:

  • Like 1

@Jief_Machak

Something wrong here

iMac2017:CloverBootloader sergey$ cd OpenCorePkg/
iMac2017:OpenCorePkg sergey$ git branch
* master
iMac2017:OpenCorePkg sergey$ git pull
Already up to date.
iMac2017:OpenCorePkg sergey$ cd ..
iMac2017:CloverBootloader sergey$ git pull
Fetching submodule OpenCorePkg
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

iMac2017:CloverBootloader sergey$ 

 

Oh, sorry, I forgot to checkout master after my experiments!

In file included from /Users/sergey/src/CloverBootloader/rEFIt_UEFI/Platform/APFS.cpp:8:
/Users/sergey/src/CloverBootloader/rEFIt_UEFI/Platform/Platform.h:22:10: fatal error: ../cpp_lib/undefinable.h: No such file or directory
   22 | #include "../cpp_lib/undefinable.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

 

@Jief_Machak

 

I can't build latest commit d33d0479 with XCODE

 

Spoiler

[SLINK] RuntimeDxe
[CC] AutoGen
[DLINK] RuntimeDxe
In file included from /Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/APFS.cpp:8:
/Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/Platform.h:22:10: fatal error: '../cpp_lib/undefinable.h' file not found
#include "../cpp_lib/undefinable.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit/OUTPUT/Platform/APFS.obj] Error 1


build.py...
 : error 7000: Failed to execute command
    make tbuild [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
    /Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

 

  • Like 1
2 hours ago, Jief_Machak said:

I continue to refactor SETTINGS_DATA to separate functional layers.

For most of the settings it is just a rename, which cannot really introduce new bugs. But there is of course some more complicated ones.

So If you use the SSDT or CPU settings EnableC2, EnableC4, EnableC6, C3Latency, HWPEnable or HWPValue, I'll very much appreciate a test with the latest commit, or the efi supplied in this post.

Thanks.CLOVERX64.efi

 

Boot O'k on C422. But in my config do not used any settings you listed.

Sleep/wake also ok.

Edited by yapan4
42 minutes ago, Matgen84 said:

@Jief_Machak

 

I can't build latest commit d33d0479 with XCODE

 

  Hide contents

[SLINK] RuntimeDxe
[CC] AutoGen
[DLINK] RuntimeDxe
In file included from /Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/APFS.cpp:8:
/Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/Platform.h:22:10: fatal error: '../cpp_lib/undefinable.h' file not found
#include "../cpp_lib/undefinable.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit/OUTPUT/Platform/APFS.obj] Error 1


build.py...
 : error 7000: Failed to execute command
    make tbuild [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
    /Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

 

Oups. Forgot a file to commit... Is it better now ?

  • Thanks 1
4 minutes ago, Jief_Machak said:

Oups. Forgot a file to commit... Is it better now ?

No

REFIT_MENU_ENTRY_LOADER_TOOL::StartTool()':
<artificial>:(.text._ZN28REFIT_MENU_ENTRY_LOADER_TOOL9StartToolEv+0xd5): undefined reference to `_Unwind_Resume'

 

Just now, Slice said:

No


REFIT_MENU_ENTRY_LOADER_TOOL::StartTool()':
<artificial>:(.text._ZN28REFIT_MENU_ENTRY_LOADER_TOOL9StartToolEv+0xd5): undefined reference to `_Unwind_Resume'

 

Don't know how you got that.

If you "rm -r Build" first, same error ?

Which config ? RELEASE GCC53 ?

On 12/14/2020 at 12:37 PM, Slice said:

FixRTC provides two patches, exclude IRQ and change length. Changing length leads to using one CMOS bank which leads to preventing corruption.

But in this case using RTC will be restricted. Acidanthera thinks that's bad idea. I don't.

 

@Slice I should have listened to you.  After using RtcMemoryFixup.kext with a custom rtcfx_exclude range, I have switched back to using an RTC SSDT patch with RTC memory length = 0x02.  RtcMemoryFixup.kext with a custom rtcfx_exclude range was working for a while, but recently (not sure if because of a BIOS update or macOS update), my custom rtcfx_exclude range was no longer correct and needed to be changed.  Anyway, just wanted to let you know it took me a while to catch on, but I think you are correct.  RTC memory length = 0x02 seems to be best.  It prevents RTC corruption and doesn't require any config changes after updating BIOS or macOS.

 

Do you have any suggested reading for me to help me understand why setting memory length to 0x02 prevents RTC corruption?  Thank you.

Hello friends. I'm sorry for my meddling. Since the incorporation of OpenCore into Clover, my patch list has never worked. Has anything changed in the "Kernel And Kext Patches" section?

 

why does the "Whatevergreen" kext not load? In the log it says "Invalid parameter" but in OpenCore it loads.

 

Below my debug log:

2021-3-19_23-59-12_BOOTX64.EFI.log

 

config.plist

 

Thanks

  • Sad 1
4 hours ago, JorgeMax said:

Hello friends. I'm sorry for my meddling. Since the incorporation of OpenCore into Clover, my patch list has never worked. Has anything changed in the "Kernel And Kext Patches" section?

 

why does the "Whatevergreen" kext not load? In the log it says "Invalid parameter" but in OpenCore it loads.

 

Below my debug log:

2021-3-19_23-59-12_BOOTX64.EFI.log 55.02 kB · 3 downloads

 

config.plist 8.6 kB · 4 downloads

 

Thanks

There are new caches in BigSur and we have to load and patch kexts new way as OpenCore does.

This way we loose an ability to patch graphics kexts. May be some others too.

About WhateverGreen I see no any problem. It was loaded and works as it can.

Open the Terminal.app program and type the command

sudo kextstat | grep -v "pple"

  • Like 1
  • Thanks 1
×
×
  • Create New...