Jump to content
ErmaC

Clover General discussion

20,610 posts in this topic

Recommended Posts

39 minutes ago, chris1111 said:

See in Root disk /Volumes

2074230145_Capturedcranle2019-06-0510_14_42.png.fef38059aaf7d764e40147ce065a6741.png

 

if you have folder EFI, ESP or EFIROOTDIR delete them and try again

 


 

The problem has been solved for two days already. Thank you for this tip :)

Share this post


Link to post
Share on other sites
Advertisement
Posted (edited)
20 hours ago, Slice said:

Let Clover do this itself. 

well currently im on iMac Pro SMBIOS and have a core i9. so it doesnt work. ide have to switch over to iMac 19.1 (i think?) but the rest of my hardware fits better with the iMac Pro. @MaLd0n claims that 0x1009 should work. but it doesn't. so im wondering where you find said info.

 

**i should clarify that is a skylake-x i9

Edited by Wackymac

Share this post


Link to post
Share on other sites

where link download Clover r4399 ? thank install for macos Catalila 10.15 beta 1

Share this post


Link to post
Share on other sites
Posted (edited)
52 minutes ago, ccphuc2016 said:

where link download Clover r4399 ? thank install for macos Catalila 10.15 beta 1

All the official releases are here: https://sourceforge.net/projects/cloverefiboot/files/Installer/

 

However, versions older than 4938 (so, official release 4945) are not compatible with MacOS Catalina.

Edited by arsradu

Share this post


Link to post
Share on other sites

hello Slice

 

last commit update to Catalina Icon

 

something is wrong

 

only thing I see is icons with apfs in Catalina

 

thanks

Share this post


Link to post
Share on other sites
44 minutes ago, artur_pt said:

hello Slice

 

last commit update to Catalina Icon

 

something is wrong

 

only thing I see is icons with apfs in Catalina

 

thanks

thanks for the test, I will check

Share this post


Link to post
Share on other sites
23 hours ago, Slice said:

What you mean "doesnt work"? CPU-type is cosmetic only. The computer will work with any random value.

i know its just cosmetic but would love it to report i9 instead of xeon w (as i currently have it set) or instead of manually setting it in AppleSystemInfo.Framework

Share this post


Link to post
Share on other sites

macOS Sierra 10.12.6(16G29) is no longer supported after updating Clover to 4938.

 

Clover 4938 uses Catalina kext inject patches to patch Sierra. You can find it in debug mode of Clover.

photo_2019-06-08_16-06-26.jpg

photo_2019-06-08_16-07-08.jpg

Share this post


Link to post
Share on other sites
Posted (edited)
3 hours ago, Mison said:

macOS Sierra 10.12.6(16G29) is no longer supported after updating Clover to 4938.

 

Clover 4938 uses Catalina kext inject patches to patch Sierra. You can find it in debug mode of Clover.

photo_2019-06-08_16-06-26.jpg

photo_2019-06-08_16-07-08.jpg

 

True, but I already fixed that with r4949. Try a later revision.

 

Edited by Pene

Share this post


Link to post
Share on other sites

Hi @vector sigma, Clover build failed after r4955 commit. Thanks.

 

Last login: Sat Jun  8 18:02:51 on ttys001
MacBookPro:~ badruzeus$ cd ~/src/UDK2018/
MacBookPro:UDK2018 badruzeus$ svn co svn://svn.code.sf.net/p/cloverefiboot/code/ Clover
U    Clover/rEFIt_UEFI/Platform/platformdata.c
Checked out revision 4955.
MacBookPro:UDK2018 badruzeus$ cd Clover
MacBookPro:Clover badruzeus$ ./ebuild.sh --ext-co -fr
TOOLCHAIN_DIR: /Users/badruzeus/src/UDK2018/Clover/../../opt/local
MTOC_PREFIX: /usr/local/bin/
NASM_PREFIX: /opt/local/bin/
NASM_VER: 2.14.03
Initializing workspace
Loading previous configuration from /Users/badruzeus/src/UDK2018/Conf/BuildEnv.sh
WORKSPACE: /Users/badruzeus/src/UDK2018
EDK_TOOLS_PATH: /Users/badruzeus/src/UDK2018/BaseTools
CONF_PATH: /Users/badruzeus/src/UDK2018/Conf

Running edk2 build for CloverX64 using the command:
build  -D NO_GRUB_DRIVERS -D USE_LOW_EBDA -D HAVE_LEGACY_EMURUNTIMEDXE -p Clover/Clover.dsc  -a X64 -b RELEASE -t XCODE8 -n 5 

Build environment: Darwin-17.7.0-x86_64-i386-64bit
Build start time: 18:25:16, Jun.08 2019

WORKSPACE        = /Users/badruzeus/src/UDK2018
ECP_SOURCE       = /Users/badruzeus/src/UDK2018/EdkCompatibilityPkg
EDK_SOURCE       = /Users/badruzeus/src/UDK2018/EdkCompatibilityPkg
EFI_SOURCE       = /Users/badruzeus/src/UDK2018/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/badruzeus/src/UDK2018/BaseTools
CONF_PATH        = /Users/badruzeus/src/UDK2018/Conf


Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE8

Active Platform          = /Users/badruzeus/src/UDK2018/Clover/Clover.dsc
Flash Image Definition   = /Users/badruzeus/src/UDK2018/Clover/Clover.fdf

Processing meta-data ............... done!
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseLib/BaseLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiLib/UefiLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]
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'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/GenericBdsLib/GenericBdsLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/OsxBdsPlatformLib/PlatformBds.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/MemLogLibDefault/MemLogLibDefault.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/VideoBiosPatchLib/VideoBiosPatchLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxDxeIpl/DxeIpl.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxDxeCore/DxeMain.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/GraphicsConsoleDxe/GraphicsConsoleDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxSmbiosGenDxe/SmbiosGen.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxEfiLdr/EfiLdr.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxBdsDxe/BdsDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/CpuDxe/Cpu.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/AcpiReset/Reset.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Metronome/Metronome.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/PcAtChipsetPkg/8254TimerDxe/8254Timer.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/PciRootBridgeDxe/PciRootBridge.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxPciBusNoEnumerationDxe/PciBusNoEnumeration.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/DriverOverride/DriverOverride.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FileSystems/VBoxFsDxe/VBoxHfs.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FileSystems/VBoxFsDxe/VBoxExt4.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FileSystems/FatPkg/EnhancedFatDxe/Fat.inf [X64]
[CC] EfiLoader
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/BiosVideo/BiosVideo.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/LegacyBios/VideoDxe/VideoDxe.inf [X64]
[SLINK] EfiLoader
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/SataControllerDxe/SataControllerDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/AtaAtapi/AtaAtapiPassThru.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/AtaBus/AtaBusDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/DVDBus/ScsiBusDxe.inf [X64]
[DLINK1] EfiLoader
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/DVDDisk/ScsiDiskDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf [X64]
[MTOC] EfiLoader
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/OhciDxe/OhciDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/XhciDxe/XhciDxe.inf [X64]
[CC] BdsEntry
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/UsbBusDxe/UsbBusDxe.inf [X64]
[GENFW] EfiLoader
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/UsbKbDxe/UsbKbDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf [X64]
make: Nothing to be done for `tbuild'.
[SLINK] BdsDxe
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/Ps2MouseDxe/Ps2MouseDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/PartitionDxe/PartitionDxe.inf [X64]
[DLINK1] BdsDxe
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/BiosKeyboard/KeyboardDxe.inf [X64]
[MTOC] BdsDxe
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/LegacyBios/Region2Dxe/LegacyRegion2Dxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FSInject/FSInject.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/MsgLog/MsgLog.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/SMCHelper/SMCHelper.inf [X64]
make: Nothing to be done for `tbuild'.
[GENFW] BdsDxe
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/FirmwareVolume/FirmwareVolume.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleImageCodec/AppleImageCodec.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleUITheme/AppleUITheme.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/HashServiceFix/HashServiceFix.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleKeyAggregator/AppleKeyAggregator.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleKeyFeeder/AppleKeyFeeder.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/DumpUefiCalls/DumpUefiCalls.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/EmuVariableUefi/EmuVariableRuntimeDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/OpensslLib/OpensslLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/WaveLib/WaveLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/AudioDxe/AudioDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/bdmesg_efi/bdmesg.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/refit.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Application/Shell/Shell.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/OsxAptioFixDrv/OsxAptioFixDrv.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/OsxAptioFixDrv/OsxAptioFix3Drv.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/OsxLowMemFixDrv/OsxLowMemFixDrv.inf [X64]
make: Nothing to be done for `tbuild'.
[CC] OsxLowMemFixDrv
[SLINK] OsxLowMemFixDrv
[CC] OsxAptioFixDrv
[CC] OsxAptioFix3Drv
[DLINK1] OsxLowMemFixDrv
[MTOC] OsxLowMemFixDrv
[SLINK] OsxAptioFixDrv
[SLINK] OsxAptioFix3Drv
[DLINK1] OsxAptioFixDrv
[DLINK1] OsxAptioFix3Drv
[MTOC] OsxAptioFixDrv
[MTOC] OsxAptioFix3Drv
[GENFW] OsxLowMemFixDrv
[GENFW] OsxAptioFixDrv
[GENFW] OsxAptioFix3Drv
[CC] main
[CC] menu
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:25: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
                        ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:25: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
                        ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [6]' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:26: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
                         ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:25: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
                        ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:447:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j137", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:447:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j137", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:447:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j137", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [/Users/badruzeus/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/platformdata.obj] Error 1


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


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

- Failed -
Build end time: 18:25:46, Jun.08 2019
Build total time: 00:00:29

MacBookPro:Clover badruzeus$ 

 

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, Badruzeus said:

Hi @vector sigma, Clover build failed after r4955 commit. Thanks.

 


Last login: Sat Jun  8 18:02:51 on ttys001
MacBookPro:~ badruzeus$ cd ~/src/UDK2018/
MacBookPro:UDK2018 badruzeus$ svn co svn://svn.code.sf.net/p/cloverefiboot/code/ Clover
U    Clover/rEFIt_UEFI/Platform/platformdata.c
Checked out revision 4955.
MacBookPro:UDK2018 badruzeus$ cd Clover
MacBookPro:Clover badruzeus$ ./ebuild.sh --ext-co -fr
TOOLCHAIN_DIR: /Users/badruzeus/src/UDK2018/Clover/../../opt/local
MTOC_PREFIX: /usr/local/bin/
NASM_PREFIX: /opt/local/bin/
NASM_VER: 2.14.03
Initializing workspace
Loading previous configuration from /Users/badruzeus/src/UDK2018/Conf/BuildEnv.sh
WORKSPACE: /Users/badruzeus/src/UDK2018
EDK_TOOLS_PATH: /Users/badruzeus/src/UDK2018/BaseTools
CONF_PATH: /Users/badruzeus/src/UDK2018/Conf

Running edk2 build for CloverX64 using the command:
build  -D NO_GRUB_DRIVERS -D USE_LOW_EBDA -D HAVE_LEGACY_EMURUNTIMEDXE -p Clover/Clover.dsc  -a X64 -b RELEASE -t XCODE8 -n 5 

Build environment: Darwin-17.7.0-x86_64-i386-64bit
Build start time: 18:25:16, Jun.08 2019

WORKSPACE        = /Users/badruzeus/src/UDK2018
ECP_SOURCE       = /Users/badruzeus/src/UDK2018/EdkCompatibilityPkg
EDK_SOURCE       = /Users/badruzeus/src/UDK2018/EdkCompatibilityPkg
EFI_SOURCE       = /Users/badruzeus/src/UDK2018/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/badruzeus/src/UDK2018/BaseTools
CONF_PATH        = /Users/badruzeus/src/UDK2018/Conf


Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE8

Active Platform          = /Users/badruzeus/src/UDK2018/Clover/Clover.dsc
Flash Image Definition   = /Users/badruzeus/src/UDK2018/Clover/Clover.fdf

Processing meta-data ............... done!
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseLib/BaseLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiLib/UefiLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]
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'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/GenericBdsLib/GenericBdsLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/OsxBdsPlatformLib/PlatformBds.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/MemLogLibDefault/MemLogLibDefault.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/VideoBiosPatchLib/VideoBiosPatchLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxDxeIpl/DxeIpl.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxDxeCore/DxeMain.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/GraphicsConsoleDxe/GraphicsConsoleDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxSmbiosGenDxe/SmbiosGen.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxEfiLdr/EfiLdr.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxBdsDxe/BdsDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/CpuDxe/Cpu.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/AcpiReset/Reset.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Metronome/Metronome.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/PcAtChipsetPkg/8254TimerDxe/8254Timer.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/PciRootBridgeDxe/PciRootBridge.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxPciBusNoEnumerationDxe/PciBusNoEnumeration.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/DriverOverride/DriverOverride.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FileSystems/VBoxFsDxe/VBoxHfs.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FileSystems/VBoxFsDxe/VBoxExt4.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FileSystems/FatPkg/EnhancedFatDxe/Fat.inf [X64]
[CC] EfiLoader
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/BiosVideo/BiosVideo.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/LegacyBios/VideoDxe/VideoDxe.inf [X64]
[SLINK] EfiLoader
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/SataControllerDxe/SataControllerDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/AtaAtapi/AtaAtapiPassThru.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/AtaBus/AtaBusDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/DVDBus/ScsiBusDxe.inf [X64]
[DLINK1] EfiLoader
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/DVDDisk/ScsiDiskDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf [X64]
[MTOC] EfiLoader
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/OhciDxe/OhciDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/XhciDxe/XhciDxe.inf [X64]
[CC] BdsEntry
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/UsbBusDxe/UsbBusDxe.inf [X64]
[GENFW] EfiLoader
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/UsbKbDxe/UsbKbDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf [X64]
make: Nothing to be done for `tbuild'.
[SLINK] BdsDxe
Building ... /Users/badruzeus/src/UDK2018/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/Ps2MouseDxe/Ps2MouseDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/PartitionDxe/PartitionDxe.inf [X64]
[DLINK1] BdsDxe
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/CloverEFI/BiosKeyboard/KeyboardDxe.inf [X64]
[MTOC] BdsDxe
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/LegacyBios/Region2Dxe/LegacyRegion2Dxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/FSInject/FSInject.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/MsgLog/MsgLog.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/SMCHelper/SMCHelper.inf [X64]
make: Nothing to be done for `tbuild'.
[GENFW] BdsDxe
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/FirmwareVolume/FirmwareVolume.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleImageCodec/AppleImageCodec.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleUITheme/AppleUITheme.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/HashServiceFix/HashServiceFix.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleKeyAggregator/AppleKeyAggregator.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/AppleKeyFeeder/AppleKeyFeeder.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/DumpUefiCalls/DumpUefiCalls.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Protocols/EmuVariableUefi/EmuVariableRuntimeDxe.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/OpensslLib/OpensslLibNull.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/Library/WaveLib/WaveLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/Drivers/AudioDxe/AudioDxe.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/bdmesg_efi/bdmesg.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/refit.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/ShellPkg/Application/Shell/Shell.inf [X64]
Building ... /Users/badruzeus/src/UDK2018/Clover/OsxAptioFixDrv/OsxAptioFixDrv.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/OsxAptioFixDrv/OsxAptioFix3Drv.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/badruzeus/src/UDK2018/Clover/OsxLowMemFixDrv/OsxLowMemFixDrv.inf [X64]
make: Nothing to be done for `tbuild'.
[CC] OsxLowMemFixDrv
[SLINK] OsxLowMemFixDrv
[CC] OsxAptioFixDrv
[CC] OsxAptioFix3Drv
[DLINK1] OsxLowMemFixDrv
[MTOC] OsxLowMemFixDrv
[SLINK] OsxAptioFixDrv
[SLINK] OsxAptioFix3Drv
[DLINK1] OsxAptioFixDrv
[DLINK1] OsxAptioFix3Drv
[MTOC] OsxAptioFixDrv
[MTOC] OsxAptioFix3Drv
[GENFW] OsxLowMemFixDrv
[GENFW] OsxAptioFixDrv
[GENFW] OsxAptioFix3Drv
[CC] main
[CC] menu
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:25: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j680", NULL }, // there are no BIOS REV rBR EPCI
                        ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:25: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j132", NULL }, // there are no BIOS REV rBR EPCI
                        ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [6]' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:26: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j140k", NULL }, // there are no BIOS REV rBR EPCI
                         ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:25: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j174", NULL }, // there are no BIOS REV rBR EPCI
                        ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:447:5: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j137", NULL }, // there are no BIOS REV rBR EPCI
    ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:447:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'void *' [-Werror,-Wint-conversion]
    NULL, NULL, "j137", NULL }, // there are no BIOS REV rBR EPCI
          ^~~~
/Users/badruzeus/src/UDK2018/MdePkg/Include/Base.h:360:15: note: expanded from macro 'NULL'
#define NULL  ((VOID *) 0)
              ^~~~~~~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:447:17: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    NULL, NULL, "j137", NULL }, // there are no BIOS REV rBR EPCI
                ^~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [/Users/badruzeus/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/platformdata.obj] Error 1


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


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

- Failed -
Build end time: 18:25:46, Jun.08 2019
Build total time: 00:00:29

MacBookPro:Clover badruzeus$ 

 

Try replacing with this: platformdata.c.zip

Edited by vector sigma

Share this post


Link to post
Share on other sites
3 minutes ago, vector sigma said:

Try replacing with this: platformdata.c.zip

 

Still failed after using this platformdata.c (macOS 10.13.6, Xcode 10,1, UDK2018).

Do I need `cd ~/src/UDK2018/ && make -C BaseTools/Source/C` first?

 

/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    0, 0, "j680", 0 }, // there are no BIOS REV rBR EPCI
          ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:227:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    0, 0, "j132", 0 }, // there are no BIOS REV rBR EPCI
          ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:279:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [6]' [-Werror,-Wint-conversion]
    0, 0, "j140k", 0 }, // there are no BIOS REV rBR EPCI
          ^~~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:323:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    0, 0, "j174", 0 }, // there are no BIOS REV rBR EPCI
          ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:447:11: error: incompatible pointer to integer conversion initializing 'UINT8' (aka 'unsigned char') with an expression of type 'char [5]' [-Werror,-Wint-conversion]
    0, 0, "j137", 0 }, // there are no BIOS REV rBR EPCI
          ^~~~~~
/Users/badruzeus/src/UDK2018/Clover/rEFIt_UEFI/Platform/platformdata.c:223:11: error: initializer element is not a compile-time constant
    0, 0, "j680", 0 }, // there are no BIOS REV rBR EPCI
          ^~~~~~
6 errors generated.
make: *** [/Users/badruzeus/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/platformdata.obj] Error 1


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


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

- Failed -
Build end time: 18:39:49, Jun.08 2019
Build total time: 00:00:23

 

Share this post


Link to post
Share on other sites
28 minutes ago, vector sigma said:

Any one with one of those model:


MacBookPro15,1 
MacBookPro15,2 
MacBookAir8,1  
Macmini8,1     
iMacPro1,1    

that can show me a ioreg with r4957? Thanks in advance!

 

P.S. attached precompiled Clover r4957 for convenience.

BOOTX64.efi.zip

CLOVERX64.efi.zip

 

did you consider datahubcpu.c?

Share this post


Link to post
Share on other sites
29 minutes ago, Sherlocks said:

did you consider datahubcpu.c?

No but is not what I asked now, otherwise why ask for a ioreg?.

Later I'will want to try with this that is ready:

//
/// @file rEFIt_UEFI/Platform/DataHubCpu.c
///
/// VirtualBox CPU descriptors
///
/// VirtualBox CPU descriptors also used to set OS X-used NVRAM variables and DataHub data
///

// Copyright(C) 2009-2010 Oracle Corporation
//
// This file is part of VirtualBox Open Source Edition(OSE), as
// available from http://www.virtualbox.org. This file is free software;
// you can redistribute it and/or modify it under the terms of the GNU
// General Public License(GPL) as published by the Free Software
// Foundation, in version 2 as it comes in the "COPYING" file of the
// VirtualBox OSE distribution. VirtualBox OSE is distributed in the
// hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.

//
// CHANGELOG:
//
// 2014/11/20
// Download-Fritz
// Removed commented out code in rev 2963 and 2965
//

#ifndef DEBUG_ALL
#define DEBUG_DH 1
#else
#define DEBUG_DH DEBUG_ALL
#endif

#if DEBUG_DH == 0
#define DBG(...)
#else
#define DBG(...) DebugLog(DEBUG_DH, __VA_ARGS__)
#endif


#include "Platform.h"
//#include "Version.h"

#include <Guid/DataHubRecords.h>

#define EFI_CPU_DATA_MAXIMUM_LENGTH 0x100

// gDataHub
/// A pointer to the DataHubProtocol
EFI_DATA_HUB_PROTOCOL     *gDataHub;

EFI_SUBCLASS_TYPE1_HEADER mCpuDataRecordHeader = {
  EFI_PROCESSOR_SUBCLASS_VERSION,       // Version
  sizeof(EFI_SUBCLASS_TYPE1_HEADER),    // Header Size
  0,                                    // Instance (initialize later)
  EFI_SUBCLASS_INSTANCE_NON_APPLICABLE, // SubInstance
  0                                     // RecordType (initialize later)
};

// gDataHubPlatformGuid
/// The GUID of the DataHubProtocol
EFI_GUID gDataHubPlatformGuid = {
  0x64517cc8, 0x6561, 0x4051, { 0xb0, 0x3c, 0x59, 0x64, 0xb6, 0x0f, 0x4c, 0x7a }
};

extern EFI_GUID gDataHubPlatformGuid;
extern APPLE_SMC_IO_PROTOCOL        *gAppleSmc;

typedef union {
  EFI_CPU_DATA_RECORD *DataRecord;
  UINT8               *Raw;
} EFI_CPU_DATA_RECORD_BUFFER;

// PLATFORM_DATA
/// The struct passed to "LogDataHub" holing key and value to be added
#pragma pack(1)
typedef struct {
  EFI_SUBCLASS_TYPE1_HEADER Hdr;     /// 0x48
  UINT32                    NameLen; /// 0x58 (in bytes)
  UINT32                    ValLen;  /// 0x5c
  UINT8                     Data[1]; /// 0x60 Name Value
} PLATFORM_DATA;
#pragma pack()

// CopyRecord
/// Copy the data provided in arguments into a PLATFORM_DATA buffer
///
/// @param Rec    The buffer the data should be copied into
/// @param Name   The value for the member "name"
/// @param Val    The data the object should have
/// @param ValLen The length of the parameter "Val"
///
/// @return The size of the new PLATFORM_DATA object is returned
UINT32 EFIAPI
CopyRecord(IN        PLATFORM_DATA *Rec,
           IN  CONST CHAR16        *Name,
           IN        VOID          *Val,
           IN        UINT32        ValLen)
{
  CopyMem(&Rec->Hdr, &mCpuDataRecordHeader, sizeof(EFI_SUBCLASS_TYPE1_HEADER));
  Rec->NameLen = (UINT32)StrLen(Name) * sizeof(CHAR16);
  Rec->ValLen  = ValLen;
  CopyMem(Rec->Data,                Name, Rec->NameLen);
  CopyMem(Rec->Data + Rec->NameLen, Val,  ValLen);

  return (sizeof(EFI_SUBCLASS_TYPE1_HEADER) + 8 + Rec->NameLen + Rec->ValLen);
}

// LogDataHub
/// Adds a key-value-pair to the DataHubProtocol
EFI_STATUS EFIAPI
LogDataHub(IN  EFI_GUID *TypeGuid,
           IN  CHAR16   *Name,
           IN  VOID     *Data,
           IN  UINT32   DataSize)
{
  UINT32        RecordSize;
  EFI_STATUS    Status;
  PLATFORM_DATA *PlatformData;

  PlatformData = (PLATFORM_DATA*)AllocatePool(sizeof(PLATFORM_DATA) + DataSize + EFI_CPU_DATA_MAXIMUM_LENGTH);
  if (PlatformData == NULL) {
    return EFI_OUT_OF_RESOURCES;
  }

  RecordSize = CopyRecord(PlatformData, Name, Data, DataSize);
  Status     = gDataHub->LogData(gDataHub,
                                 TypeGuid,                   // DataRecordGuid
                                 &gDataHubPlatformGuid,      // ProducerName (always)
                                 EFI_DATA_RECORD_CLASS_DATA,
                                 PlatformData,
                                 RecordSize);

  FreePool(PlatformData);
  return Status;
}

// SetVariablesForOSX
/// Sets the volatile and non-volatile variables used by OS X
EFI_STATUS EFIAPI
SetVariablesForOSX(LOADER_ENTRY *Entry)
{
  // The variable names used should be made global constants to prevent them being allocated multiple times

  UINT32  Attributes;
  UINT32  Color;
  CHAR8   *None;
  CHAR8   *NvidiaWebValue;

  CHAR16  *KbdPrevLang;
  UINTN   LangLen;
  CHAR8   *VariablePtr;
  VOID    *OldData;
  UINT64  os_version = AsciiOSVersionToUint64(Entry->OSVersion);
  CHAR8   *PlatformLang;

  //
  // firmware Variables
  //

  // As found on a real Mac, the system-id variable solely has the BS flag
  SetNvramVariable(L"system-id",
                   &gEfiAppleNvramGuid,
                   EFI_VARIABLE_BOOTSERVICE_ACCESS,
                   sizeof(gUuid),
                   &gUuid);

  Attributes     = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS;

  if (gSettings.RtMLB != NULL) {
    if (AsciiStrLen(gSettings.RtMLB) != 17) {
      DBG("** Warning: Your MLB is not suitable for iMessage(must be 17 chars long) !\n");
    }

    SetNvramVariable(L"MLB",
                     &gEfiAppleNvramGuid,
                     Attributes,
                     AsciiStrLen(gSettings.RtMLB),
                     gSettings.RtMLB);
  }

  if (gSettings.RtROM != NULL) {
    SetNvramVariable(L"ROM",
                     &gEfiAppleNvramGuid,
                     Attributes,
                     gSettings.RtROMLen,
                     gSettings.RtROM);
  }

  SetNvramVariable(L"FirmwareFeatures",
                   &gEfiAppleNvramGuid,
                   Attributes,
                   sizeof(gFwFeatures),
                   &gFwFeatures);

  // Download-Fritz: Should be added to SMBIOS or at least to some other config section
  AddNvramVariable(L"FirmwareFeaturesMask",
                   &gEfiAppleNvramGuid,
                   Attributes,
                   sizeof(gFwFeaturesMask),
                   &gFwFeaturesMask);

  // HW_MLB and HW_ROM are also around on some Macs with the same values as MLB and ROM
  AddNvramVariable(L"HW_BID", &gEfiAppleNvramGuid, Attributes, AsciiStrLen(gSettings.BoardNumber), gSettings.BoardNumber);


  //
  // OS X non-volatile Variables
  //

  // note: some gEfiAppleBootGuid vars present in nvram.plist are already set by PutNvramPlistToRtVars()
  // we should think how to handle those vars from nvram.plist and ones set here from gSettings

  if ((gFirmwareClover && gDriversFlags.EmuVariableLoaded) || gSettings.KbdPrevLang) {
    // using AddNvramVariable content instead of calling the function to do LangLen calculation only when necessary
    // Do not mess with prev-lang:kbd on UEFI systems without NVRAM emulation; it's OS X's business
    KbdPrevLang = L"prev-lang:kbd";
    OldData     = GetNvramVariable(KbdPrevLang, &gEfiAppleBootGuid, NULL, NULL);
    if (OldData == NULL) {
      LangLen     = 16;
      VariablePtr = &gSettings.Language[15];
      for (LangLen = 16; ((*VariablePtr == ' ') || (*VariablePtr == 0)) && (LangLen != 0); --LangLen) {
        --VariablePtr;
      }

      gRT->SetVariable(KbdPrevLang, &gEfiAppleBootGuid, Attributes, LangLen, &gSettings.Language);
    } else {
      FreePool(OldData);
    }
  } else {
    Attributes |= EFI_VARIABLE_NON_VOLATILE;
  }

//#define EFI_PLATFORM_LANG_VARIABLE_NAME             L"PlatformLang"
  PlatformLang = GetNvramVariable(EFI_PLATFORM_LANG_VARIABLE_NAME, &gEfiGlobalVariableGuid, NULL, NULL);
  //
  // On some platforms with missing gEfiUnicodeCollation2ProtocolGuid EFI_PLATFORM_LANG_VARIABLE_NAME is set
  // to the value different from "en-...". This is not going to work with our driver UEFI Shell load failures.
  // We did not overwrite EFI_PLATFORM_LANG_VARIABLE_NAME, but it uses some other language.
  //
//  if (!PlatformLang || AsciiStrnCmp (PlatformLang, "en-", 3)) {
  if (!PlatformLang) {
    SetNvramVariable(EFI_PLATFORM_LANG_VARIABLE_NAME, &gEfiGlobalVariableGuid,
                     Attributes,
                     6, "en-US");
  }
  if (PlatformLang) {
    FreePool(PlatformLang);
  }

  None           = "none";
  AddNvramVariable(L"security-mode", &gEfiAppleBootGuid, Attributes, 5, (VOID*)None);

  // we should have two UUID: platform and system
  // NO! Only Platform is the best solution
  if (!gSettings.InjectSystemID) {
    if (gSettings.SmUUIDConfig) {
      SetNvramVariable(L"platform-uuid", &gEfiAppleBootGuid, Attributes, 16, &gUuid);
    } else {
      AddNvramVariable(L"platform-uuid", &gEfiAppleBootGuid, Attributes, 16, &gUuid);
    }
  }

  // Download-Fritz: Do not mess with BacklightLevel; it's OS X's business
  if (gMobile) {
    if (gSettings.BacklightLevelConfig) {
      SetNvramVariable(L"backlight-level", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.BacklightLevel), &gSettings.BacklightLevel);
    } else {
      AddNvramVariable(L"backlight-level", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.BacklightLevel), &gSettings.BacklightLevel);
    }
  }

  if (gSettings.DefaultBackgroundColor == 0x80000000) {
    DeleteNvramVariable(L"DefaultBackgroundColor", &gEfiAppleNvramGuid);
  } else {
    UINT16 ActualDensity = 0xE1;
    UINT16 DensityThreshold = 0x96;
    UINT64 ConfigStatus = 0;
    Color = gSettings.DefaultBackgroundColor;
    AddNvramVariable(L"DefaultBackgroundColor", &gEfiAppleNvramGuid, Attributes, 4, &Color);
    // add some UI variables
    AddNvramVariable(L"ActualDensity", &gEfiAppleBootGuid, Attributes, 2, &ActualDensity);
    AddNvramVariable(L"DensityThreshold", &gEfiAppleBootGuid, Attributes, 2, &DensityThreshold);
    AddNvramVariable(L"gfx-saved-config-restore-status", &gEfiAppleNvramGuid, Attributes, 8, &ConfigStatus);
  }

  if (gSettings.UIScale == 0x80000000) {
    DeleteNvramVariable(L"UIScale", &gEfiAppleNvramGuid);
  } else {
    SetNvramVariable(L"UIScale", &gEfiAppleNvramGuid, Attributes, 1, &gSettings.UIScale);
  }

  if (gSettings.EFILoginHiDPI == 0x80000000) {
    DeleteNvramVariable(L"EFILoginHiDPI", &gEfiAppleBootGuid);
  } else {
    SetNvramVariable(L"EFILoginHiDPI", &gEfiAppleBootGuid, Attributes, 4, &gSettings.EFILoginHiDPI);
  }

  // ->GetVariable(flagstate, gEfiAppleBootGuid, 0/0, 20, 10FE110) = Not Found
  if (gSettings.flagstate[3] == 0x80) {
    DeleteNvramVariable(L"flagstate", &gEfiAppleBootGuid);
  } else {
    SetNvramVariable(L"flagstate", &gEfiAppleBootGuid, Attributes, 32, &gSettings.flagstate);
  }

  // Hack for recovery by Asgorath
  if (gSettings.CsrActiveConfig != 0xFFFF) {
    SetNvramVariable(L"csr-active-config", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.CsrActiveConfig), &gSettings.CsrActiveConfig);
  }
/*
  if (gSettings.BooterConfig != 0) {
    SetNvramVariable(L"bootercfg", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.BooterConfig), &gSettings.BooterConfig);
  }
*/
  INTN CfgStrLen = AsciiStrLen(gSettings.BooterCfgStr);
  if (CfgStrLen > 0) {
    SetNvramVariable(L"bootercfg", &gEfiAppleBootGuid, Attributes, CfgStrLen+1, &gSettings.BooterCfgStr[0]);
  } else {
    DeleteNvramVariable(L"bootercfg", &gEfiAppleBootGuid);
  }
  if (gSettings.NvidiaWeb) {
    NvidiaWebValue = "1";
    SetNvramVariable(L"nvda_drv", &gEfiAppleBootGuid, Attributes, 2, (VOID*)NvidiaWebValue);
  } else {
    DeleteNvramVariable(L"nvda_drv", &gEfiAppleBootGuid);
  }
  
  if (!gDriversFlags.AptioMemFixLoaded) {
    DeleteNvramVariable(L"recovery-boot-mode", &gEfiAppleBootGuid);
  }
  
  // Check for AptioFix2Drv loaded to store efi-boot-device for special boot
    if (gDriversFlags.AptioFix2Loaded || gDriversFlags.AptioFixLoaded ||
        gDriversFlags.AptioFix3Loaded || gDriversFlags.AptioMemFixLoaded)  {
      EFI_STATUS          Status;
      REFIT_VOLUME *Volume = Entry->Volume;
      EFI_DEVICE_PATH_PROTOCOL    *DevicePath = Volume->DevicePath;
      // We need to remember from which device we boot, to make silence boot while special recovery boot
      Status = gRT->SetVariable(L"specialbootdevice", &gEfiAppleBootGuid,
                                EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,
                                GetDevicePathSize(DevicePath), (UINT8 *)DevicePath);
      if (EFI_ERROR(Status)) {
        DBG("can't set  specialbootdevice!\n");
      }
    }

  // Sherlocks: to fix "OSInstall.mpkg appears to be missing or damaged" in 10.13+, we should remove this variables.
  if (Entry->LoaderType == OSTYPE_OSX_INSTALLER) {
    if (os_version > AsciiOSVersionToUint64("10.12")) {
      DeleteNvramVariable(L"install-product-url",  &gEfiAppleBootGuid);
      DeleteNvramVariable(L"previous-system-uuid", &gEfiAppleBootGuid);
    }
  }

  return EFI_SUCCESS;
}

VOID
AddSMCkey(SMC_KEY Key, SMC_DATA_SIZE Size, SMC_KEY_TYPE Type, SMC_DATA *Data)
{
  if (gAppleSmc && (gAppleSmc->Signature == NON_APPLE_SMC_SIGNATURE)) {
    gAppleSmc->SmcAddKey(gAppleSmc,     Key, Size, Type, 0xC0);
    gAppleSmc->SmcWriteValue(gAppleSmc, Key, Size, Data);
  }
}

// SetupDataForOSX
/// Sets the DataHub data used by OS X
VOID EFIAPI
SetupDataForOSX(BOOLEAN Hibernate)
{
  EFI_STATUS Status;

  UINT32     DevPathSupportedVal;
  UINT64     FrontSideBus;
  UINT64     CpuSpeed;
  UINT64     TscFrequency;
  UINT64     ARTFrequency;
  CHAR16*    ProductName;
  CHAR16*    SerialNumber;
  UINTN      Revision;
  UINT16     Zero = 0;
  BOOLEAN    isRevLess = (gSettings.REV[0] == 0 &&
                          gSettings.REV[1] == 0 &&
                          gSettings.REV[2] == 0 &&
                          gSettings.REV[3] == 0 &&
                          gSettings.REV[4] == 0 &&
                          gSettings.REV[5] == 0);

  Revision = StrDecimalToUintn(gFirmwareRevision);

  // fool proof
  FrontSideBus = gCPUStructure.FSBFrequency;
  if ((FrontSideBus < (50 * Mega)) || (FrontSideBus > (1000 * Mega))) {
    DBG("Wrong FrontSideBus=%d, set to 100MHz\n", FrontSideBus);
    FrontSideBus = 100 * Mega;
  }

  if (gSettings.QEMU) {
    FrontSideBus = gCPUStructure.TSCFrequency;
    switch (gCPUStructure.Model) {
      case CPU_MODEL_DOTHAN:
      case CPU_MODEL_YONAH:
      case CPU_MODEL_MEROM:
      case CPU_MODEL_PENRYN:
        FrontSideBus = DivU64x32(FrontSideBus, 4);
        break;
      default:
        break;
    }
    DBG("Using QEMU FrontSideBus=%ull\n", FrontSideBus);
  }

  // Save values into gSettings for the genconfig aim
  gSettings.BusSpeed   = (UINT32)DivU64x32(FrontSideBus, kilo);

  CpuSpeed = gCPUStructure.CPUFrequency;
  gSettings.CpuFreqMHz = (UINT32)DivU64x32(CpuSpeed,     Mega);

  // Locate DataHub Protocol
  Status = gBS->LocateProtocol(&gEfiDataHubProtocolGuid, NULL, (VOID**)&gDataHub);
  if (!EFI_ERROR(Status)) {
    ProductName         = AllocateZeroPool(128);
    AsciiStrToUnicodeStrS(gSettings.ProductName, ProductName, 64);

    SerialNumber        = AllocateZeroPool(128);
    AsciiStrToUnicodeStrS(gSettings.SerialNr,    SerialNumber, 64);

    LogDataHub(&gEfiProcessorSubClassGuid, L"FSBFrequency",     &FrontSideBus,        sizeof(UINT64));

    if (gCPUStructure.ARTFrequency && gSettings.UseARTFreq) {
      ARTFrequency = gCPUStructure.ARTFrequency;
      LogDataHub(&gEfiProcessorSubClassGuid, L"ARTFrequency",   &ARTFrequency,        sizeof(UINT64));
    }

    TscFrequency        = 0; //gCPUStructure.TSCFrequency;
    LogDataHub(&gEfiProcessorSubClassGuid, L"InitialTSC",       &TscFrequency,        sizeof(UINT64));
    LogDataHub(&gEfiProcessorSubClassGuid, L"CPUFrequency",     &CpuSpeed,            sizeof(UINT64));

    //gSettings.BoardNumber
    LogDataHub(&gEfiMiscSubClassGuid,      L"board-id",         &gSettings.BoardNumber,   (UINT32)iStrLen(gSettings.BoardNumber, 64) + 1);
    TscFrequency++;
    LogDataHub(&gEfiProcessorSubClassGuid, L"board-rev",       &TscFrequency,        1);

    DevPathSupportedVal = 1;
    LogDataHub(&gEfiMiscSubClassGuid,      L"DevicePathsSupported", &DevPathSupportedVal, sizeof(UINT32));
    LogDataHub(&gEfiMiscSubClassGuid,      L"Model",                ProductName,         (UINT32)StrSize(ProductName));
    LogDataHub(&gEfiMiscSubClassGuid,      L"SystemSerialNumber",   SerialNumber,        (UINT32)StrSize(SerialNumber));

    if (gSettings.InjectSystemID) {
      LogDataHub(&gEfiMiscSubClassGuid, L"system-id", &gUuid, sizeof(EFI_GUID));
    }

    LogDataHub(&gEfiProcessorSubClassGuid, L"clovergui-revision", &Revision, sizeof(UINT32));

    // collect info about real hardware
    LogDataHub(&gEfiMiscSubClassGuid, L"OEMVendor",  &gSettings.OEMVendor,  (UINT32)iStrLen(gSettings.OEMVendor,  64) + 1);
    LogDataHub(&gEfiMiscSubClassGuid, L"OEMProduct", &gSettings.OEMProduct, (UINT32)iStrLen(gSettings.OEMProduct, 64) + 1);
    LogDataHub(&gEfiMiscSubClassGuid, L"OEMBoard",   &gSettings.OEMBoard,   (UINT32)iStrLen(gSettings.OEMBoard,   64) + 1);

    // SMC helper
    if (!isRevLess) {
      LogDataHub(&gEfiMiscSubClassGuid, L"RBr",  &gSettings.RBr,    8);
      LogDataHub(&gEfiMiscSubClassGuid, L"EPCI", &gSettings.EPCI,   4);
      LogDataHub(&gEfiMiscSubClassGuid, L"REV",  &gSettings.REV,    6);
    }
    LogDataHub(&gEfiMiscSubClassGuid, L"RPlt", &gSettings.RPlt,   8);
    LogDataHub(&gEfiMiscSubClassGuid, L"BEMB", &gSettings.Mobile, 1);

    // all current settings
    LogDataHub(&gEfiMiscSubClassGuid, L"Settings", &gSettings, sizeof(gSettings));
  }
  if (!gAppleSmc) {
    return;
  }
  if (!isRevLess) {
    AddSMCkey(SMC_MAKE_KEY('R','B','r',' '), 8, SmcKeyTypeCh8, (SMC_DATA *)&gSettings.RBr);
    AddSMCkey(SMC_MAKE_KEY('E','P','C','I'), 4, SmcKeyTypeUint32, (SMC_DATA *)&gSettings.EPCI);
    AddSMCkey(SMC_MAKE_KEY('R','E','V',' '), 6, SmcKeyTypeCh8, (SMC_DATA *)&gSettings.REV);
  }
  AddSMCkey(SMC_MAKE_KEY('R','P','l','t'), 8, SmcKeyTypeCh8, (SMC_DATA *)&gSettings.RPlt);
  AddSMCkey(SMC_MAKE_KEY('B','E','M','B'), 1, SmcKeyTypeFlag, (SMC_DATA *)&gSettings.Mobile);
  //laptop battery keys will be better to import from nvram.plist or read from ACPI(?)
  //they are needed for FileVault2 who want to draw battery status
  AddSMCkey(SMC_MAKE_KEY('B','A','T','P'), 1, SmcKeyTypeFlag, (SMC_DATA *)&Zero); //isBatteryPowered
  AddSMCkey(SMC_MAKE_KEY('B','N','u','m'), 1, SmcKeyTypeUint8, (SMC_DATA *)&gSettings.Mobile); // Num Batteries
  if (gSettings.Mobile) {
    AddSMCkey(SMC_MAKE_KEY('B','B','I','N'), 1, SmcKeyTypeUint8, (SMC_DATA *)&gSettings.Mobile); //Battery inserted
  }
  AddSMCkey(SMC_MAKE_KEY('M','S','T','c'), 1, SmcKeyTypeUint8, (SMC_DATA *)&Zero); // CPU Plimit
  AddSMCkey(SMC_MAKE_KEY('M','S','A','c'), 2, SmcKeyTypeUint16, (SMC_DATA *)&Zero);// GPU Plimit
//  AddSMCkey(SMC_MAKE_KEY('M','S','L','D'), 1, SmcKeyTypeUint8, (SMC_DATA *)&Zero);   //isLidClosed
  Zero = Hibernate?((ResumeFromCoreStorage||GlobalConfig.HibernationFixup)?25:29):0;

  AddSMCkey(SMC_MAKE_KEY('M','S','W','r'), 1, SmcKeyTypeUint8, (SMC_DATA *)&Zero);
  Zero = 1;
  AddSMCkey(SMC_MAKE_KEY('M','S','F','W'), 2, SmcKeyTypeUint8, (SMC_DATA *)&Zero);
  Zero = 0x300;
  AddSMCkey(SMC_MAKE_KEY('M','S','P','S'), 2, SmcKeyTypeUint16, (SMC_DATA *)&Zero);
}

But If you want to try the final solution this is what: BOOTX64.efi.zip CLOVERX64.efi.zip

Share this post


Link to post
Share on other sites
12 minutes ago, vector sigma said:

No but is not what I asked now, otherwise why ask for a ioreg?.

Later I'will want to try with this that is ready:


//
/// @file rEFIt_UEFI/Platform/DataHubCpu.c
///
/// VirtualBox CPU descriptors
///
/// VirtualBox CPU descriptors also used to set OS X-used NVRAM variables and DataHub data
///

// Copyright(C) 2009-2010 Oracle Corporation
//
// This file is part of VirtualBox Open Source Edition(OSE), as
// available from http://www.virtualbox.org. This file is free software;
// you can redistribute it and/or modify it under the terms of the GNU
// General Public License(GPL) as published by the Free Software
// Foundation, in version 2 as it comes in the "COPYING" file of the
// VirtualBox OSE distribution. VirtualBox OSE is distributed in the
// hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.

//
// CHANGELOG:
//
// 2014/11/20
// Download-Fritz
// Removed commented out code in rev 2963 and 2965
//

#ifndef DEBUG_ALL
#define DEBUG_DH 1
#else
#define DEBUG_DH DEBUG_ALL
#endif

#if DEBUG_DH == 0
#define DBG(...)
#else
#define DBG(...) DebugLog(DEBUG_DH, __VA_ARGS__)
#endif


#include "Platform.h"
//#include "Version.h"

#include <Guid/DataHubRecords.h>

#define EFI_CPU_DATA_MAXIMUM_LENGTH 0x100

// gDataHub
/// A pointer to the DataHubProtocol
EFI_DATA_HUB_PROTOCOL     *gDataHub;

EFI_SUBCLASS_TYPE1_HEADER mCpuDataRecordHeader = {
  EFI_PROCESSOR_SUBCLASS_VERSION,       // Version
  sizeof(EFI_SUBCLASS_TYPE1_HEADER),    // Header Size
  0,                                    // Instance (initialize later)
  EFI_SUBCLASS_INSTANCE_NON_APPLICABLE, // SubInstance
  0                                     // RecordType (initialize later)
};

// gDataHubPlatformGuid
/// The GUID of the DataHubProtocol
EFI_GUID gDataHubPlatformGuid = {
  0x64517cc8, 0x6561, 0x4051, { 0xb0, 0x3c, 0x59, 0x64, 0xb6, 0x0f, 0x4c, 0x7a }
};

extern EFI_GUID gDataHubPlatformGuid;
extern APPLE_SMC_IO_PROTOCOL        *gAppleSmc;

typedef union {
  EFI_CPU_DATA_RECORD *DataRecord;
  UINT8               *Raw;
} EFI_CPU_DATA_RECORD_BUFFER;

// PLATFORM_DATA
/// The struct passed to "LogDataHub" holing key and value to be added
#pragma pack(1)
typedef struct {
  EFI_SUBCLASS_TYPE1_HEADER Hdr;     /// 0x48
  UINT32                    NameLen; /// 0x58 (in bytes)
  UINT32                    ValLen;  /// 0x5c
  UINT8                     Data[1]; /// 0x60 Name Value
} PLATFORM_DATA;
#pragma pack()

// CopyRecord
/// Copy the data provided in arguments into a PLATFORM_DATA buffer
///
/// @param Rec    The buffer the data should be copied into
/// @param Name   The value for the member "name"
/// @param Val    The data the object should have
/// @param ValLen The length of the parameter "Val"
///
/// @return The size of the new PLATFORM_DATA object is returned
UINT32 EFIAPI
CopyRecord(IN        PLATFORM_DATA *Rec,
           IN  CONST CHAR16        *Name,
           IN        VOID          *Val,
           IN        UINT32        ValLen)
{
  CopyMem(&Rec->Hdr, &mCpuDataRecordHeader, sizeof(EFI_SUBCLASS_TYPE1_HEADER));
  Rec->NameLen = (UINT32)StrLen(Name) * sizeof(CHAR16);
  Rec->ValLen  = ValLen;
  CopyMem(Rec->Data,                Name, Rec->NameLen);
  CopyMem(Rec->Data + Rec->NameLen, Val,  ValLen);

  return (sizeof(EFI_SUBCLASS_TYPE1_HEADER) + 8 + Rec->NameLen + Rec->ValLen);
}

// LogDataHub
/// Adds a key-value-pair to the DataHubProtocol
EFI_STATUS EFIAPI
LogDataHub(IN  EFI_GUID *TypeGuid,
           IN  CHAR16   *Name,
           IN  VOID     *Data,
           IN  UINT32   DataSize)
{
  UINT32        RecordSize;
  EFI_STATUS    Status;
  PLATFORM_DATA *PlatformData;

  PlatformData = (PLATFORM_DATA*)AllocatePool(sizeof(PLATFORM_DATA) + DataSize + EFI_CPU_DATA_MAXIMUM_LENGTH);
  if (PlatformData == NULL) {
    return EFI_OUT_OF_RESOURCES;
  }

  RecordSize = CopyRecord(PlatformData, Name, Data, DataSize);
  Status     = gDataHub->LogData(gDataHub,
                                 TypeGuid,                   // DataRecordGuid
                                 &gDataHubPlatformGuid,      // ProducerName (always)
                                 EFI_DATA_RECORD_CLASS_DATA,
                                 PlatformData,
                                 RecordSize);

  FreePool(PlatformData);
  return Status;
}

// SetVariablesForOSX
/// Sets the volatile and non-volatile variables used by OS X
EFI_STATUS EFIAPI
SetVariablesForOSX(LOADER_ENTRY *Entry)
{
  // The variable names used should be made global constants to prevent them being allocated multiple times

  UINT32  Attributes;
  UINT32  Color;
  CHAR8   *None;
  CHAR8   *NvidiaWebValue;

  CHAR16  *KbdPrevLang;
  UINTN   LangLen;
  CHAR8   *VariablePtr;
  VOID    *OldData;
  UINT64  os_version = AsciiOSVersionToUint64(Entry->OSVersion);
  CHAR8   *PlatformLang;

  //
  // firmware Variables
  //

  // As found on a real Mac, the system-id variable solely has the BS flag
  SetNvramVariable(L"system-id",
                   &gEfiAppleNvramGuid,
                   EFI_VARIABLE_BOOTSERVICE_ACCESS,
                   sizeof(gUuid),
                   &gUuid);

  Attributes     = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS;

  if (gSettings.RtMLB != NULL) {
    if (AsciiStrLen(gSettings.RtMLB) != 17) {
      DBG("** Warning: Your MLB is not suitable for iMessage(must be 17 chars long) !\n");
    }

    SetNvramVariable(L"MLB",
                     &gEfiAppleNvramGuid,
                     Attributes,
                     AsciiStrLen(gSettings.RtMLB),
                     gSettings.RtMLB);
  }

  if (gSettings.RtROM != NULL) {
    SetNvramVariable(L"ROM",
                     &gEfiAppleNvramGuid,
                     Attributes,
                     gSettings.RtROMLen,
                     gSettings.RtROM);
  }

  SetNvramVariable(L"FirmwareFeatures",
                   &gEfiAppleNvramGuid,
                   Attributes,
                   sizeof(gFwFeatures),
                   &gFwFeatures);

  // Download-Fritz: Should be added to SMBIOS or at least to some other config section
  AddNvramVariable(L"FirmwareFeaturesMask",
                   &gEfiAppleNvramGuid,
                   Attributes,
                   sizeof(gFwFeaturesMask),
                   &gFwFeaturesMask);

  // HW_MLB and HW_ROM are also around on some Macs with the same values as MLB and ROM
  AddNvramVariable(L"HW_BID", &gEfiAppleNvramGuid, Attributes, AsciiStrLen(gSettings.BoardNumber), gSettings.BoardNumber);


  //
  // OS X non-volatile Variables
  //

  // note: some gEfiAppleBootGuid vars present in nvram.plist are already set by PutNvramPlistToRtVars()
  // we should think how to handle those vars from nvram.plist and ones set here from gSettings

  if ((gFirmwareClover && gDriversFlags.EmuVariableLoaded) || gSettings.KbdPrevLang) {
    // using AddNvramVariable content instead of calling the function to do LangLen calculation only when necessary
    // Do not mess with prev-lang:kbd on UEFI systems without NVRAM emulation; it's OS X's business
    KbdPrevLang = L"prev-lang:kbd";
    OldData     = GetNvramVariable(KbdPrevLang, &gEfiAppleBootGuid, NULL, NULL);
    if (OldData == NULL) {
      LangLen     = 16;
      VariablePtr = &gSettings.Language[15];
      for (LangLen = 16; ((*VariablePtr == ' ') || (*VariablePtr == 0)) && (LangLen != 0); --LangLen) {
        --VariablePtr;
      }

      gRT->SetVariable(KbdPrevLang, &gEfiAppleBootGuid, Attributes, LangLen, &gSettings.Language);
    } else {
      FreePool(OldData);
    }
  } else {
    Attributes |= EFI_VARIABLE_NON_VOLATILE;
  }

//#define EFI_PLATFORM_LANG_VARIABLE_NAME             L"PlatformLang"
  PlatformLang = GetNvramVariable(EFI_PLATFORM_LANG_VARIABLE_NAME, &gEfiGlobalVariableGuid, NULL, NULL);
  //
  // On some platforms with missing gEfiUnicodeCollation2ProtocolGuid EFI_PLATFORM_LANG_VARIABLE_NAME is set
  // to the value different from "en-...". This is not going to work with our driver UEFI Shell load failures.
  // We did not overwrite EFI_PLATFORM_LANG_VARIABLE_NAME, but it uses some other language.
  //
//  if (!PlatformLang || AsciiStrnCmp (PlatformLang, "en-", 3)) {
  if (!PlatformLang) {
    SetNvramVariable(EFI_PLATFORM_LANG_VARIABLE_NAME, &gEfiGlobalVariableGuid,
                     Attributes,
                     6, "en-US");
  }
  if (PlatformLang) {
    FreePool(PlatformLang);
  }

  None           = "none";
  AddNvramVariable(L"security-mode", &gEfiAppleBootGuid, Attributes, 5, (VOID*)None);

  // we should have two UUID: platform and system
  // NO! Only Platform is the best solution
  if (!gSettings.InjectSystemID) {
    if (gSettings.SmUUIDConfig) {
      SetNvramVariable(L"platform-uuid", &gEfiAppleBootGuid, Attributes, 16, &gUuid);
    } else {
      AddNvramVariable(L"platform-uuid", &gEfiAppleBootGuid, Attributes, 16, &gUuid);
    }
  }

  // Download-Fritz: Do not mess with BacklightLevel; it's OS X's business
  if (gMobile) {
    if (gSettings.BacklightLevelConfig) {
      SetNvramVariable(L"backlight-level", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.BacklightLevel), &gSettings.BacklightLevel);
    } else {
      AddNvramVariable(L"backlight-level", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.BacklightLevel), &gSettings.BacklightLevel);
    }
  }

  if (gSettings.DefaultBackgroundColor == 0x80000000) {
    DeleteNvramVariable(L"DefaultBackgroundColor", &gEfiAppleNvramGuid);
  } else {
    UINT16 ActualDensity = 0xE1;
    UINT16 DensityThreshold = 0x96;
    UINT64 ConfigStatus = 0;
    Color = gSettings.DefaultBackgroundColor;
    AddNvramVariable(L"DefaultBackgroundColor", &gEfiAppleNvramGuid, Attributes, 4, &Color);
    // add some UI variables
    AddNvramVariable(L"ActualDensity", &gEfiAppleBootGuid, Attributes, 2, &ActualDensity);
    AddNvramVariable(L"DensityThreshold", &gEfiAppleBootGuid, Attributes, 2, &DensityThreshold);
    AddNvramVariable(L"gfx-saved-config-restore-status", &gEfiAppleNvramGuid, Attributes, 8, &ConfigStatus);
  }

  if (gSettings.UIScale == 0x80000000) {
    DeleteNvramVariable(L"UIScale", &gEfiAppleNvramGuid);
  } else {
    SetNvramVariable(L"UIScale", &gEfiAppleNvramGuid, Attributes, 1, &gSettings.UIScale);
  }

  if (gSettings.EFILoginHiDPI == 0x80000000) {
    DeleteNvramVariable(L"EFILoginHiDPI", &gEfiAppleBootGuid);
  } else {
    SetNvramVariable(L"EFILoginHiDPI", &gEfiAppleBootGuid, Attributes, 4, &gSettings.EFILoginHiDPI);
  }

  // ->GetVariable(flagstate, gEfiAppleBootGuid, 0/0, 20, 10FE110) = Not Found
  if (gSettings.flagstate[3] == 0x80) {
    DeleteNvramVariable(L"flagstate", &gEfiAppleBootGuid);
  } else {
    SetNvramVariable(L"flagstate", &gEfiAppleBootGuid, Attributes, 32, &gSettings.flagstate);
  }

  // Hack for recovery by Asgorath
  if (gSettings.CsrActiveConfig != 0xFFFF) {
    SetNvramVariable(L"csr-active-config", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.CsrActiveConfig), &gSettings.CsrActiveConfig);
  }
/*
  if (gSettings.BooterConfig != 0) {
    SetNvramVariable(L"bootercfg", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.BooterConfig), &gSettings.BooterConfig);
  }
*/
  INTN CfgStrLen = AsciiStrLen(gSettings.BooterCfgStr);
  if (CfgStrLen > 0) {
    SetNvramVariable(L"bootercfg", &gEfiAppleBootGuid, Attributes, CfgStrLen+1, &gSettings.BooterCfgStr[0]);
  } else {
    DeleteNvramVariable(L"bootercfg", &gEfiAppleBootGuid);
  }
  if (gSettings.NvidiaWeb) {
    NvidiaWebValue = "1";
    SetNvramVariable(L"nvda_drv", &gEfiAppleBootGuid, Attributes, 2, (VOID*)NvidiaWebValue);
  } else {
    DeleteNvramVariable(L"nvda_drv", &gEfiAppleBootGuid);
  }
  
  if (!gDriversFlags.AptioMemFixLoaded) {
    DeleteNvramVariable(L"recovery-boot-mode", &gEfiAppleBootGuid);
  }
  
  // Check for AptioFix2Drv loaded to store efi-boot-device for special boot
    if (gDriversFlags.AptioFix2Loaded || gDriversFlags.AptioFixLoaded ||
        gDriversFlags.AptioFix3Loaded || gDriversFlags.AptioMemFixLoaded)  {
      EFI_STATUS          Status;
      REFIT_VOLUME *Volume = Entry->Volume;
      EFI_DEVICE_PATH_PROTOCOL    *DevicePath = Volume->DevicePath;
      // We need to remember from which device we boot, to make silence boot while special recovery boot
      Status = gRT->SetVariable(L"specialbootdevice", &gEfiAppleBootGuid,
                                EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,
                                GetDevicePathSize(DevicePath), (UINT8 *)DevicePath);
      if (EFI_ERROR(Status)) {
        DBG("can't set  specialbootdevice!\n");
      }
    }

  // Sherlocks: to fix "OSInstall.mpkg appears to be missing or damaged" in 10.13+, we should remove this variables.
  if (Entry->LoaderType == OSTYPE_OSX_INSTALLER) {
    if (os_version > AsciiOSVersionToUint64("10.12")) {
      DeleteNvramVariable(L"install-product-url",  &gEfiAppleBootGuid);
      DeleteNvramVariable(L"previous-system-uuid", &gEfiAppleBootGuid);
    }
  }

  return EFI_SUCCESS;
}

VOID
AddSMCkey(SMC_KEY Key, SMC_DATA_SIZE Size, SMC_KEY_TYPE Type, SMC_DATA *Data)
{
  if (gAppleSmc && (gAppleSmc->Signature == NON_APPLE_SMC_SIGNATURE)) {
    gAppleSmc->SmcAddKey(gAppleSmc,     Key, Size, Type, 0xC0);
    gAppleSmc->SmcWriteValue(gAppleSmc, Key, Size, Data);
  }
}

// SetupDataForOSX
/// Sets the DataHub data used by OS X
VOID EFIAPI
SetupDataForOSX(BOOLEAN Hibernate)
{
  EFI_STATUS Status;

  UINT32     DevPathSupportedVal;
  UINT64     FrontSideBus;
  UINT64     CpuSpeed;
  UINT64     TscFrequency;
  UINT64     ARTFrequency;
  CHAR16*    ProductName;
  CHAR16*    SerialNumber;
  UINTN      Revision;
  UINT16     Zero = 0;
  BOOLEAN    isRevLess = (gSettings.REV[0] == 0 &&
                          gSettings.REV[1] == 0 &&
                          gSettings.REV[2] == 0 &&
                          gSettings.REV[3] == 0 &&
                          gSettings.REV[4] == 0 &&
                          gSettings.REV[5] == 0);

  Revision = StrDecimalToUintn(gFirmwareRevision);

  // fool proof
  FrontSideBus = gCPUStructure.FSBFrequency;
  if ((FrontSideBus < (50 * Mega)) || (FrontSideBus > (1000 * Mega))) {
    DBG("Wrong FrontSideBus=%d, set to 100MHz\n", FrontSideBus);
    FrontSideBus = 100 * Mega;
  }

  if (gSettings.QEMU) {
    FrontSideBus = gCPUStructure.TSCFrequency;
    switch (gCPUStructure.Model) {
      case CPU_MODEL_DOTHAN:
      case CPU_MODEL_YONAH:
      case CPU_MODEL_MEROM:
      case CPU_MODEL_PENRYN:
        FrontSideBus = DivU64x32(FrontSideBus, 4);
        break;
      default:
        break;
    }
    DBG("Using QEMU FrontSideBus=%ull\n", FrontSideBus);
  }

  // Save values into gSettings for the genconfig aim
  gSettings.BusSpeed   = (UINT32)DivU64x32(FrontSideBus, kilo);

  CpuSpeed = gCPUStructure.CPUFrequency;
  gSettings.CpuFreqMHz = (UINT32)DivU64x32(CpuSpeed,     Mega);

  // Locate DataHub Protocol
  Status = gBS->LocateProtocol(&gEfiDataHubProtocolGuid, NULL, (VOID**)&gDataHub);
  if (!EFI_ERROR(Status)) {
    ProductName         = AllocateZeroPool(128);
    AsciiStrToUnicodeStrS(gSettings.ProductName, ProductName, 64);

    SerialNumber        = AllocateZeroPool(128);
    AsciiStrToUnicodeStrS(gSettings.SerialNr,    SerialNumber, 64);

    LogDataHub(&gEfiProcessorSubClassGuid, L"FSBFrequency",     &FrontSideBus,        sizeof(UINT64));

    if (gCPUStructure.ARTFrequency && gSettings.UseARTFreq) {
      ARTFrequency = gCPUStructure.ARTFrequency;
      LogDataHub(&gEfiProcessorSubClassGuid, L"ARTFrequency",   &ARTFrequency,        sizeof(UINT64));
    }

    TscFrequency        = 0; //gCPUStructure.TSCFrequency;
    LogDataHub(&gEfiProcessorSubClassGuid, L"InitialTSC",       &TscFrequency,        sizeof(UINT64));
    LogDataHub(&gEfiProcessorSubClassGuid, L"CPUFrequency",     &CpuSpeed,            sizeof(UINT64));

    //gSettings.BoardNumber
    LogDataHub(&gEfiMiscSubClassGuid,      L"board-id",         &gSettings.BoardNumber,   (UINT32)iStrLen(gSettings.BoardNumber, 64) + 1);
    TscFrequency++;
    LogDataHub(&gEfiProcessorSubClassGuid, L"board-rev",       &TscFrequency,        1);

    DevPathSupportedVal = 1;
    LogDataHub(&gEfiMiscSubClassGuid,      L"DevicePathsSupported", &DevPathSupportedVal, sizeof(UINT32));
    LogDataHub(&gEfiMiscSubClassGuid,      L"Model",                ProductName,         (UINT32)StrSize(ProductName));
    LogDataHub(&gEfiMiscSubClassGuid,      L"SystemSerialNumber",   SerialNumber,        (UINT32)StrSize(SerialNumber));

    if (gSettings.InjectSystemID) {
      LogDataHub(&gEfiMiscSubClassGuid, L"system-id", &gUuid, sizeof(EFI_GUID));
    }

    LogDataHub(&gEfiProcessorSubClassGuid, L"clovergui-revision", &Revision, sizeof(UINT32));

    // collect info about real hardware
    LogDataHub(&gEfiMiscSubClassGuid, L"OEMVendor",  &gSettings.OEMVendor,  (UINT32)iStrLen(gSettings.OEMVendor,  64) + 1);
    LogDataHub(&gEfiMiscSubClassGuid, L"OEMProduct", &gSettings.OEMProduct, (UINT32)iStrLen(gSettings.OEMProduct, 64) + 1);
    LogDataHub(&gEfiMiscSubClassGuid, L"OEMBoard",   &gSettings.OEMBoard,   (UINT32)iStrLen(gSettings.OEMBoard,   64) + 1);

    // SMC helper
    if (!isRevLess) {
      LogDataHub(&gEfiMiscSubClassGuid, L"RBr",  &gSettings.RBr,    8);
      LogDataHub(&gEfiMiscSubClassGuid, L"EPCI", &gSettings.EPCI,   4);
      LogDataHub(&gEfiMiscSubClassGuid, L"REV",  &gSettings.REV,    6);
    }
    LogDataHub(&gEfiMiscSubClassGuid, L"RPlt", &gSettings.RPlt,   8);
    LogDataHub(&gEfiMiscSubClassGuid, L"BEMB", &gSettings.Mobile, 1);

    // all current settings
    LogDataHub(&gEfiMiscSubClassGuid, L"Settings", &gSettings, sizeof(gSettings));
  }
  if (!gAppleSmc) {
    return;
  }
  if (!isRevLess) {
    AddSMCkey(SMC_MAKE_KEY('R','B','r',' '), 8, SmcKeyTypeCh8, (SMC_DATA *)&gSettings.RBr);
    AddSMCkey(SMC_MAKE_KEY('E','P','C','I'), 4, SmcKeyTypeUint32, (SMC_DATA *)&gSettings.EPCI);
    AddSMCkey(SMC_MAKE_KEY('R','E','V',' '), 6, SmcKeyTypeCh8, (SMC_DATA *)&gSettings.REV);
  }
  AddSMCkey(SMC_MAKE_KEY('R','P','l','t'), 8, SmcKeyTypeCh8, (SMC_DATA *)&gSettings.RPlt);
  AddSMCkey(SMC_MAKE_KEY('B','E','M','B'), 1, SmcKeyTypeFlag, (SMC_DATA *)&gSettings.Mobile);
  //laptop battery keys will be better to import from nvram.plist or read from ACPI(?)
  //they are needed for FileVault2 who want to draw battery status
  AddSMCkey(SMC_MAKE_KEY('B','A','T','P'), 1, SmcKeyTypeFlag, (SMC_DATA *)&Zero); //isBatteryPowered
  AddSMCkey(SMC_MAKE_KEY('B','N','u','m'), 1, SmcKeyTypeUint8, (SMC_DATA *)&gSettings.Mobile); // Num Batteries
  if (gSettings.Mobile) {
    AddSMCkey(SMC_MAKE_KEY('B','B','I','N'), 1, SmcKeyTypeUint8, (SMC_DATA *)&gSettings.Mobile); //Battery inserted
  }
  AddSMCkey(SMC_MAKE_KEY('M','S','T','c'), 1, SmcKeyTypeUint8, (SMC_DATA *)&Zero); // CPU Plimit
  AddSMCkey(SMC_MAKE_KEY('M','S','A','c'), 2, SmcKeyTypeUint16, (SMC_DATA *)&Zero);// GPU Plimit
//  AddSMCkey(SMC_MAKE_KEY('M','S','L','D'), 1, SmcKeyTypeUint8, (SMC_DATA *)&Zero);   //isLidClosed
  Zero = Hibernate?((ResumeFromCoreStorage||GlobalConfig.HibernationFixup)?25:29):0;

  AddSMCkey(SMC_MAKE_KEY('M','S','W','r'), 1, SmcKeyTypeUint8, (SMC_DATA *)&Zero);
  Zero = 1;
  AddSMCkey(SMC_MAKE_KEY('M','S','F','W'), 2, SmcKeyTypeUint8, (SMC_DATA *)&Zero);
  Zero = 0x300;
  AddSMCkey(SMC_MAKE_KEY('M','S','P','S'), 2, SmcKeyTypeUint16, (SMC_DATA *)&Zero);
}

But If you want to try the final solution this is what: BOOTX64.efi.zip CLOVERX64.efi.zip

 

@vector sigma

nice working :)

1184563247_2019-06-0811_04_31.png.3698aeb17a2ea34f6c6115d6781b0927.png

 

here is nvram. i used cleanup nvram with f11 in gui. then got clean nvram.plist

4:262  0:001  === [ PutNvramPlistToRtVars ] =============================
4:262  0:000   Adding Key: EFILoginHiDPI: Size = 4, Data: 00 00 00 00 
4:262  0:000   Skipping EmuVariableUefiPresent
4:262  0:000   Adding Key: backlight-level: Size = 2, Data: FF FF 
4:262  0:000   Adding Key: bluetoothActiveControllerInfo: Size = 16, Data: 7A E0 89 04 00 00 00 00 50 14 AC D1 B8 E2 A4 D0 
4:262  0:000   Adding Key: csr-active-config: Size = 4, Data: 77 00 00 00 
4:262  0:000   Adding Key: fakesmc-key-#KEY-ui32: Size = 4, Data: 00 00 00 00 
4:262  0:000   Adding Key: fakesmc-key-$Adr-ui32: Size = 4, Data: 00 00 03 00 
4:262  0:000   Adding Key: fakesmc-key-$Num-ui8: Size = 1, Data: 01 
4:262  0:000   Adding Key: fakesmc-key-BATP-flag: Size = 1, Data: 00 
4:262  0:000   Adding Key: fakesmc-key-BBIN-ui8: Size = 1, Data: 01 
4:262  0:000   Adding Key: fakesmc-key-BEMB-flag: Size = 1, Data: 01 
4:262  0:000   Adding Key: fakesmc-key-BNum-ui8: Size = 1, Data: 01 
4:262  0:000   Adding Key: fakesmc-key-MSAc-ui16: Size = 2, Data: 00 00 
4:262  0:000   Adding Key: fakesmc-key-MSFW-ui8: Size = 2, Data: 01 00 
4:262  0:000   Adding Key: fakesmc-key-MSPS-ui16: Size = 2, Data: 00 03 
4:262  0:000   Adding Key: fakesmc-key-MSTc-ui8: Size = 1, Data: 00 
4:262  0:000   Adding Key: fakesmc-key-MSWr-ui8: Size = 1, Data: 00 
4:262  0:000   Adding Key: fakesmc-key-RMde-char: Size = 1, Data: 41 
4:262  0:000   Adding Key: fakesmc-key-RPlt-ch8*: Size = 8, Data: 6A 31 33 32 00 00 00 00 
4:262  0:000   Adding Key: flagstate: Size = 32, Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
4:262  0:000   Adding Key: prev-lang:kbd: Size = 4, Data: 6B 6F 3A 30 
4:262  0:000   Adding Key: security-mode: String: Size = 4, Val = 'none'
4:262  0:000   Adding Key: specialbootdevice: Size = 110, Data: 02 01 0C 00 D0 41 03 0A 00 00 00 00 01 01 06 00 00 17 03 12 0A 00 01 00 00 00 00 00 04 01 2A 00 02 00 00 00 00 48 06 00 00 00 00 00 00 28 2A 08 00 00 00 00 B6 8E A5 86 32 34 71 44 BB 10 B9 DE E2 00 F6 66 02 02 04 03 24 00 F7 FC 74 BE 7C 0B F3 49 91 47 01 F4 04 2E 68 42 A7 C7 61 31 C7 3E 31 40 8D 2E 22 98 21 1E E8 E3 7F FF 04 00 

 

ioreg.zip

Share this post


Link to post
Share on other sites
Just now, vector sigma said:

commited. All models with REV = {0,0,0,0,0,0} will not be published.

 

great. thank you so much for support new smc3 and update both clover and fakesmc.:thumbsup_anim:

Share this post


Link to post
Share on other sites
28 minutes ago, Sherlocks said:

great. thank you so much for support new smc3 and update both clover and fakesmc.:thumbsup_anim:

What about:

// SetupDataForOSX
/// Sets the DataHub data used by OS X
VOID EFIAPI
SetupDataForOSX(BOOLEAN Hibernate)
{
  EFI_STATUS Status;

  UINT32     DevPathSupportedVal;
  UINT64     FrontSideBus;
  UINT64     CpuSpeed;
  UINT64     TscFrequency;
  UINT64     ARTFrequency;
  CHAR16*    ProductName;
  CHAR16*    SerialNumber;
  UINTN      Revision;
  UINT16     Zero = 0;
  BOOLEAN    isRevLess = (gSettings.REV[0] == 0 &&
                          gSettings.REV[1] == 0 &&
                          gSettings.REV[2] == 0 &&
                          gSettings.REV[3] == 0 &&
                          gSettings.REV[4] == 0 &&
                          gSettings.REV[5] == 0);
  
  if (AsciiStrStr(gSettings.BootArgs, "-withREV") != NULL) {
    isRevLess = false;
  } else if (AsciiStrStr(gSettings.BootArgs, "-noREV") != NULL) {
    isRevLess = true;
  }

and use the same arguments used by FakeSMC??

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member

  • Similar Content

    • By MaLd0n
      ---TUTORIAL---

      https://olarila.com/forum/viewtopic.php?f=50&t=8685
       
      --Original Post--
       
      https://olarila.com/forum/viewtopic.php?f=97&t=11237
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      https://www.mediafire.com/file/wp52azi4dtr0uby/EFI_CLOVER_Z390_DESIGNARE.zip/file
      *Use this folder with FULL DSDT PATCHED
       
      ---OPENCORE FOLDER---
      https://olarila.com/forum/viewtopic.php?f=28&amp;t=10578
      *Use this folder with FULL DSDT PATCHED
       
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app
       
       
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By kylon
      ACPI and Clover config for Acer Aspire v5-571PG
       
      Tested on Catalina 10.15.1 and Clover EFI 5098 (Should work on MacOS 10.9.x - 10.15.x)
       
      Not Working:
      - sd card reader
      - Atheros AR9462 (use a compatible USB wireless adapter, see below)
      - Touchscreen (MacOS 10.15 only)
       
       
      Notes:
      Disable Secure Boot and enable Legacy Boot. Legacy Mode is recommended.  
      **To reset your BIOS, power on the pc and hold the power button for about 30-40 seconds or you can short G2101 (RAM SLOT 1)**
       
       
      About the Atheros card:
      You can install ATH9KFixup (you will also need additional patches on 10.14+ to restore Atheros support) to enable this card, however,
      it will break sleep on MacOS 10.14+, it can freeze your OS at any time and it can freeze your network settings.
      Because of its instability it is highly recommended to buy a USB wireless adapter.
       
      You can find a list of working adapters, and the drivers, here.
       
       
      Additional things you will need:
      Latest Clover config (AcerAspireV5-571pg - CCE Bank) from here CloverEFI (download) or OpenCore (download - Untested) WhateverGreen (download) VoodooPS2 (download) VirtualSMC + SMCBatteryManager (download) AppleALC (download) Lilu (download) Mieze Realtek RTL8111 (download)  
      CloverEFI drivers you will need:
      ApfsDriverLoader EmuVariableUefi FSInject DataHubDxe VBoxHfs (if you have hfs partitions)  
      Remember to install BIOS drivers if you enable Legaby Boot.
       
       
       
      Feel free to ask for help.
      Please send me a PM if you have fixes or improvements, thanks.
    • By oldman20
      Hi all, i just want to know how can use mouse & keyboard USB with USB port when Cloverbootloader startup? I installed Ps2MouseDxe.efi and UsbMouseDxe.efi but not work, while touchpad and keyboard integrated laptop working!!
      thanks all!
      and 2nd question is: i installed success Catalina with APFS format, in Disk Utility show 2 partition is Catalina SSD and Catalina Data?? what is it?

      more and last, sorry cause it's short question: which most right, in 2 ways create USB installer Catalina,
      sorry my bad english!

      sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled && echo Catalina Boot Drive Created

      sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Catalina.app --nointeraction

      thanks and regards    
    • By kushwavez
      Acer Aspire V15 V5-591G - Catalina 10.15.1
      Original link:
      https://osxlatitude.com/forums/topic/11355-acer-aspire-v-15-v5-591g-catalina-windows-10/
      (Note: mine is 55TU version, but the bootpack will work fine with another versions of 591G, for example: V5-591G-71K2, -764Z, -59PU, etc.)
      Specifications:
      - Motherboard: USOPP_SLS (Skylake-H PCH)
      - BIOS: Insyde Corp. v 1.15
      - CPU: Intel Core i5-6300HQ 2.3 GHz (Skylake)
      - GPU: NVIDIA GeForce GTX 950M 2 GB (Optimus) & Intel HD Graphics 530
      - RAM: SK hynix 4 GB DDR4 (Later I bought + KINGSTON 4 GB) 2133 MHz
      - WiFi + Bluetooth: Qualcomm Atheros QCNFA344A 5 GHz (Later -> Broadcom BRCM94352Z M.2 5 GHz WiFi + 4.0 Bluetooth)
      - Audio: Realtek HD Audio: ALC 255 
      - Ethernet: Realtek RTL8168/8111
      - Card Reader: Realtek USB 2.0 Card Reader (USB2.0-CRW)
      - Webcam: HD Webcam
      - HDD: TOSHIBA MQ01ACF032 320 GB HDD
      - SSD: SPCC M.2 230 GB SSD
      - Display: 1366x768 (15.6", Matte)
      - Battery: 6 cell 56Wh / 5040mAh
      - Connectors: 
      1x SD Card Reader 2x USB 3.0 (1x USB Charging), 1x USB 2.0 1x VGA 1x HDMI 1x 3.5mm microphone/audio combined jack connector 1x Ethernet (Rj-45) - Keyboard & Touchpad: Multi-Touch & Multi-gestures ELAN 501 Touchpad, Backlight Keyboard.
      Working:  
      - Wi-Fi (with BCM94352Z)
      - Bluetooth hand-off (With BCM94352Z)
      - Full Graphics enabled on HD 530: ig-platform-id: 0x191b0000 (HD 530 Mobile)
      - Display: if default colour profile is corrupted (blue is not actual blue but purplish) Use "Rec. ITU-R BT. 709-5" Color Profile (System Pref. -> Displays -> Color)
      - HDMI & VGA Outputs: AppleGraphicsDevicePolicy.kext Clover patch
      - Audio (ALC 255): (Internal Speakers, Internal Microphone, Headphone jack with AppleALC, ALCPlugFix -> layout-id=17)
      - Ethernet Realtek 8168/8111: RealtekRTL8111.kext
      - App Store, Messages, FaceTime, Siri, iCloud (native)
      - Integrated webcam (native)
      - 3.0 USB (native)
      - Touchpad and Keyboard (ELAN501): Fn keys are good, the weird thing is the Brightness key. On my keyboard it's Pause Break:Br-up, Fn+F12:Br-dwn-> To fix this try Karabiner (VoodoPS2Controller.kext), - for gestures try SmartTouchpad drivers
      - Battery info: Install ACPIBatteryManager.kext with Kext Utility or other installer.
      - Sleep Mode
      - SSD with TRIM enabled (to enable trim, open Terminal and write "sudo trimforce enable")
      Not working:
      - Original Wi-Fi (Qualcomm Atheros QCNFA344A):  unsupported, you need switch to BCM94352Z or just use a mini usb wifi dongle.
      - NVIDIA GeForce GTX 950M: Optimus not supported.
      - Card Reader: Unsupported -> Can't really fix because I don't have any SD Card at the moment, maybe can be fixed by adding Prod & Ven IDs to AppleStorageDevices.kext, I never used it anyway. name: "USB2.0-CRW" Prod ID: "0x0129" Ven ID: "0x0bda  (Realtek Semiconductor Corp.)"
      For Wi-Fi:
      - 1st method: You can choose an external USB wifi dongle (I used TP-Link Archer T1U (5GHz support), TP-Link has official macOS drivers, you just need to install it
      - 2nd and I think the best method: Replace your M.2 Qualcomm Card with a compatible BCM94352Z card (you will have hand-off Bluetooth too), just install the kexts (enabled with BrcmFirmwareRepo.kext, BrcmPatchRAM2.kext, FakePCIID.kext, FakePCIID_Broadcom_WiFi.kext, they're all in my attached zip). You could buy this card from ebay, aliexpress, or amazon
       
      Issues:
      - None
      BIOS Settings:
      - BIOS version 1.15 (irrelevant)
      - Secure Boot: Disabled
      - Touchpad: Advanced
      - Boot mode: UEFI
      Getting ready for Installation:
      - Download the Catalina install zip (bootpack & postinstall): acer_aspire_V591G-55TU_cata.zip
      Installation:
      - Create an installer with any method you know (- Mac: createinstallmedia - Windows: Transmac, Vmware, Win32diskimager)
      - Copy my Clover folder to the USB's EFI folder
      - Boot with the Installer USB
      - If you stuck in boot, reboot and in the Clover bootloader select "config_debug.cfg" -> you'll have more informations about the freeze
       
      Please open the README.rtf in my install zip for more informations about the USB Installer & Post installation!
      On Catalina the System folder is read-only, so you need to remount in rw to modify System/Library. 
      If you have a single RAM and getting panic at boot, then you need to edit the "config.plist" with these (SMBIOS->after "Version 1.0"):
      ->Edit "Frequency" and "Size" to match your RAM values
      <key>Version</key> <string>1.0</string> <key>Memory</key> <dict> <key>Channels</key> <integer>1</integer> <key>SlotCount</key> <integer>1</integer> <key>Modules</key> <array> <dict> <key>Slot</key> <integer>0</integer> <key>Size</key> <integer>8192</integer> <key>Frequency</key> <integer>2133</integer> <key>Type</key> <string>DDR4</string> </dict> </array> </dict> </dict>  
      PowerManagement  fix:
      Set HWPEnable=YES in Clover (already set), CPUFloor to "700", Frequency to "2300" and "3200"(Normal and Turbo, if you have i7-6700HQ version then it should be "2600", "3500") and "FrequencyVectors" from "0x0d000000" to "0x07000000" in "S/L/E/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-A5C67F76ED83108C.plist", MSR _xcpm_idle Patch to KernelToPatch in Clover (If you have High Sierra, change "MatchOS" to 10.13):

      <key>KernelToPatch</key> <array> <dict> <key>Comment</key> <string>MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha</string> <key>Disabled</key> <false/> <key>Find</key> <data> ILniAAAADzA= </data> <key>MatchOS</key> <string>10.14</string> <key>Replace</key> <data> ILniAAAAkJA= </data> </dict> </array> Reboot, and it's 800MHz in idle state, same on Windows.
       

      Elan SmartTouchpad
      I only use scrolling, one-, double- & tripletap
      If you want to try other gestures go to this link for more informations, options (v4.6.5) ->  DETAILS ABOUT THE SMART TOUCHPAD DRIVER FEATURES
      Fn Brightness keys not working with this, tried several things without success. With VoodoPS2Controller it's working, but you'll have no gestures (neither scrolling).
       
       
      Before updating to a new version of Catalina please update kexts (and clover if necessary) to newer versions to avoid kernel panics.
      Generate a serial number with Clover Configurator.app (open up your config.plist with CC then -> SMBIOS -> Serial Number -> Generate New)
       
      Catalina & Windows 10 Dual-Boot:
      Dual-boot clean install (on one drive), UEFI Only:
       
       Boot into your Mac installer, Create 2 partitions in GUID table (1 for Win (I used FAT32 but I think it doesn't matter what you choose), 1 for Mac),   Install Mac, boot with your USB, mount your EFI partition (use terminal or an EFI mounter app), create an EFI folder (if there is no folder), copy the CLOVER folder I attached to the EFI folder, restart,  Boot into your Win installer, Format the partition you created for Win, install.   Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       5.  You're done! It will booting into Clover when you start the system, and you can select Win or Mac (or another OS if installed on a 3rd partition).
       
      Dual-boot with Windows installed first (on one drive), UEFI Only:
      If you already have Windows and you don't want to lose all your data there is a hope:
      I created a video from this restore method: [Hackintosh] Dual-Boot High Sierra & Windows - when Windows already installed - no data waste - UEFI
      You need bootable Mac Installer and a full system restore image (link is in my video's description).
      (You may see errors if your EFI partition is not 200 MB)
       Boot into your Windows, resize your partition or create one for Mac.  Boot into your Mac installer and in Disk Utility format the partition you created.  Restore from image: select your full system restore image.  When it's finished restoring you just need to restart, then boot to the system with your usb.  When you successfully booted to Mac desktop, mount your EFI partition (use terminal or an EFI mounter app), open EFI, you will see there is a Microsoft folder already (don't touch that!). Copy my CLOVER folder to the EFI folder then Restart.  Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       7.  You're done! You can select your old Windows and your new macOS!
      (Only tried with Windows 8/8.1/10. I don't know Windows 7,etc.)
       
      IF YOU GETTING ERRORS DURING MAC RESTORE:
      - Make sure you have partitions in GPT
      - Windows using 100 MB EFI and will annoy the Mac restore. Don't worry, just ignore the errors.
       
      IF YOU GETTING ERRORS DURING WINDOWS INSTALLATION (could not be formatted, etc):
      - Make sure you have GPT partitions, and GPT (UEFI) installer, also disconnect all external storage drives (except the installer USB)
       
      IF YOU USED RESTORE METHOD THEN CAN'T MOUNT YOUR EFI PARTITION (No EFI partition found):
      - It's because your EFI is not 200 MB or not an "Apple" original EFI,  but do not worry, try another EFI mounter, or mount from terminal (I used EFI mounter v3: Getting errors, but you can mount and use without problem)
      - You also could "mount" the EFI from Windows:
      1st method: open cmd in administrator mode and type:
      diskpart list vol (Now select the "System" volume,(FAT 32) For example I select 4) sel vol 4 list part (Select System type partition, for example 2) sel part 2 assign letter=b (This will "mount" your EFI partition) Open Explorer++ or TotalCommander in administrator mode to manage EFI remove letter=b (This will "unmount" your EFI) 2nd method: open cmd in administrator mode and type:
      mountvol b: /s (This will mount your EFI) Open Explorer++ or TotalCommander in administrator mode to manage EFI mountvol b: /d (This will unmount your EFI) Thanks to all OSXLatitude members for helping me out! (Jake Lo, Hervé, Bronxteck, black.dragon74)!
      Notes:
      2019.11.03: Enabled SIP caused a lots of issues so now it's disabled -> updated bootpack
      2019.11.02: Updated to 10.15.1 -> no problem when/after installing
      2019.10.09: Installed macOS Catalina 10.15 -> Updated Clover, kexts & config.plist -> no problem so far
      2019.08.18: Updated to 10.14.6 -> no problem when/after installing
      2019.06.01: Updated to 10.14.5 -> no problem when/after installing
      2019.04.25: Optimized touchpad scrolling -> updated install files
      2019.03.30: Fixed USB 3.0 ports, fixed Bluetooth crashes after sleep -> updated bootpack
      2019.03.28: Updated to 10.14.4. Unexpected crashes while updating to 10.14.4 -> fixed by updating Clover to the latest (v4910) version. Bluetooth crashes appeared -> fixed by downgraded Brcm*.kexts. Updated bootpack.
      2019.02.24: Bluetooth crashes after sleep -> fixed, updated bootpack. 
      2019.02.22: Updated to 10.14.3. Fixed HDMI Audio by installing "FakePCIID_Intel_HDMI_Audio.kext" -> fixed freezing during boot. Fixed brightness levels by installing "AppleBacklightFixup.kext". Also updated bootpack & postinstall zip down in attachments.
      2019.01.21: Removed FakeSMC.kext, SMCHelper-64.efi, replaced by VirtualSMC.kext, VirtualSMC.efi because I got random freezes when booting system (kextd stall[0], (120s): 'AppleACPICPU' -> CPU is at 100%, fans are spinning fast), also updated bootpack in the attachments "acer_aspire_v591g-55tu_clover.zip" -> Freeze continued, brought back FakeSMC, deleted VirtualSMC (caused BT crashes).
      2019.01.18: HDMI Audio is fixed, I didn't do anything HDMI Audio is not fixed, sometimes it worked but most likely not. (no idea why)
      2018.12.09: Updated to 10.14.2 -> did without any complication
      2018.11.28: Fixed combo-jack garbage sound output by installing ALCPlugFix and CodecCommander.kext
      2018.11.01: Updated to 10.14.1 -> HDMI & VGA ports are gone again. -> Fixed by "AppleIntelSKLGraphicsFramebuffer.kext" rollback from 10.14.
      2018.09.28: Updated to Mojave 10.14 -> Fixed HDMI & VGA Outputs by adding "AppleGraphicsDevicePolicy.kext" patches to config.plist, HDMI audio not working
    • By e97
      HackPro X99 System
      Until Apple blesses us with the MacPro7,1 – this is for those that require tools to do their work.
      An appropriate bicycle for the mind.
       
       

       

       

       
      Specs:
       
      CPU: Intel Xeon E5-2678 v3 (12 core, 2.5 GHz / 3.3 GHz Boost)
      Motherboard: SZMZ X99-8D3
      RAM: 16GB DDR3-14900R 1866Mhz ECC RDIMM modules
      GPU: Radeon RX Vega 64 8GB
      Storage: Phison E12 m.2 NVMe PCI-E 3.0 x4 SSD
      Water blocks: BARROW CPU + GPU
      Radiator: 360mm x 25mm slim
      Pump: DDC
       
      Case dimensions: 431 mm x 342 mm x 177 mm
       
       
       
      XCPM OFF
       

       
      XCPM ON
       

       
      OpenCL
       

       
       
       
      iMacPro1,1
       

       
       

       
      OpenCL
       

       
       
      NVMe
       

       
       
      Win 10 x64 v1809
       
      AIDA64 - Cache & Memory
       

       
       
      EFI-Clover-X99.zip
       
       
       
       
       
       
      Anyone else I forgot
       
       
×