Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

hi

since i cant post in developer thread, i will report it here.

 

i still have Snow Leopard & Lion. sometimes when i need to boot in 32bit mode, i get KP regarding AppleEFIRuntime. Booting in 64bit is ok. im sure this is a bug. tried what ever the latest clovet release and still the same KP

 

Thanks

This is a bug of Snow Leo. Use Clover-32 to boot it.

Link to comment
Share on other sites

Sorry to bring up the same point again, but why not "load" the HFS+ icon (which is already integrated into the binary) for APFS partitions? I haven't looked at the code so excuse my question...

 

To reproduce issue, just delete Themes folder from Clover directory.

post-21972-0-49518900-1514050624_thumb.jpg

Link to comment
Share on other sites

Hello everyone! Just an update that clover v3 is moving along well and a reminder that I need donations to continue working on v3 at a quicker pace, otherwise I'm going to have to start working on other projects to make money to like stay alive and stuff. So if you are able please make a donation, any amount helps. Thanks!

 

Donate to my PayPal:

 

btn_donateCC_LG.gif

 

EDIT: Almost forgot, merry christmas, happy holidays, and happy new years!

EDIT2: If you donate, please PM me so I can add you to the list of donors.

  • Like 9
Link to comment
Share on other sites

I have a little problem with updating my Vaio F11 to High Sierra:

 

The BIOS does not properly support EFI booting, so I am using 10.12.6 and a system partition _without_ an efi partition. This works nicely with clover in legacy mode.

 

My questions are now:

 

- Will clover still boot 10.13.2 if I do not convert to APFS and keeping clover on the system partition in the EFI directory?

 

- Is there any way to convert to APFS and still booting clover from the system partition instead from EFI partition?

Link to comment
Share on other sites

I have a little problem with updating my Vaio F11 to High Sierra:

 

The BIOS does not properly support EFI booting, so I am using 10.12.6 and a system partition _without_ an efi partition. This works nicely with clover in legacy mode.

 

My questions are now:

 

- Will clover still boot 10.13.2 if I do not convert to APFS and keeping clover on the system partition in the EFI directory?

 

- Is there any way to convert to APFS and still booting clover from the system partition instead from EFI partition?

We have boot1h to boot from HFS+ partition no matter it is Sierra or High Sierra.

We have no boot1apfs boot sector.

  • Like 1
Link to comment
Share on other sites

Hi, on my new X299-A PRIME ASUS board, when trying to:

 

- inject ATI

- inject FB Name

 

injection does not work, I just have the "RadeonFrameBuffer" FB and card is recognised as AMD Radeon HD 7xxx. I need to switch to "Futomaki" in order to properly enable DIsplayport connector.

 

I see in IOReg two devices:

- GFX0@0

- GFX0@0,1

 

Injection worked fine with the same Graphics Card and X99-A ASUS Mainboard, same configurations.

 

Setup: X299-A PRIME, X9 7920x, Radeon R9 270x

Clover revision: 4359

 

Can someone please help me to understand what is happening?

iMac.ioreg.zip

Link to comment
Share on other sites

hello

can we improve clover log for edid?

now, i don't use edid injection option on my desktop.

 

16:221  0:000  EdidDiscovered size=128
16:221  0:000  ---Discovered EDID Table size:128
16:221  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  5D  34
16:221  0:000  010  |  13  22  CD  33  22  06  05  13  01  03
16:221  0:000  020  |  80  2F  1D  78  2A  C9  05  A3  57  4B
16:221  0:000  030  |  9C  25  12  50  54  AF  CF  00  01  01
16:221  0:000  040  |  01  01  81  40  81  80  01  01  B3  00
16:221  0:000  050  |  D1  C0  01  01  FC  3A  80  18  71  38
16:221  0:000  060  |  46  40  30  20  36  00  DA  28  11  00
16:221  0:000  070  |  00  1A  00  00  00  FD  00  38  4C  1F
16:221  0:000  080  |  53  11  00  0A  20  20  20  20  20  20
16:221  0:000  090  |  00  00  00  FC  00  44  56  49  0A  20
16:221  0:000  100  |  20  20  20  20  20  20  20  20  00  00
16:221  0:000  110  |  00  FE  00  0A  20  20  20  20  20  20
16:221  0:000  120  |  20  20  20  20  20  20  00  69
16:221  0:000  --- Patched EDID size:128
16:221  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  5D  34
16:221  0:000  010  |  13  22  CD  33  22  06  05  13  01  03
16:221  0:000  020  |  80  2F  1D  78  2A  C9  05  A3  57  4B
16:221  0:000  030  |  9C  25  12  50  54  AF  CF  00  01  01
16:221  0:000  040  |  01  01  81  40  81  80  01  01  B3  00
16:221  0:000  050  |  D1  C0  01  01  FC  3A  80  18  71  38
16:221  0:000  060  |  46  40  30  20  36  00  DA  28  11  00
16:221  0:000  070  |  00  1A  00  00  00  FD  00  38  4C  1F
16:221  0:000  080  |  53  11  00  0A  20  20  20  20  20  20
16:221  0:000  090  |  00  00  00  FC  00  44  56  49  0A  20
16:221  0:000  100  |  20  20  20  20  20  20  20  20  00  00
16:221  0:000  110  |  00  FE  00  0A  20  20  20  20  20  20
16:221  0:000  120  |  20  20  20  20  20  20  00  69
 
but still shown edid log 2 times.
 
old clover shown only edid original log when don't use edid injection.
if use any vendor/product for edid, shown patched edid log
 
thanks in advance
  • Like 2
Link to comment
Share on other sites

@Slice, thanks for r4364.. it shows kexts version properly on boot logs.  :)

 

 

 

1:458  0:000  Starting Clover revision: 4364 on CLOVER EFI
1:458  0:000  Build with: [Args: -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -t GCC53 | -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -a X64 -b RELEASE -t GCC53 -n 5 | OS: Ubuntu 17.10]
1:458  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(1,GPT,313A28C7-F4BF-42D0-B42E-2AD281EEB011,0x800,0x64000) @1ED02818
.....  .....
151:444  0:000  === [ StartLoader ] =======================================
151:444  0:000  Finally: ExternalClock=24MHz BusSpeed=99773kHz CPUFreq=2195MHz PIS: hw.busfrequency=96000000Hz
151:444  0:000  Loading boot.efi  status=Success
151:880  0:436  GetOSVersion: 10.11.6 (15G19004)
.......  .....
151:903  0:001  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.11
151:903  0:000  Extra kext: EFI\CLOVER\kexts\10.11\ApplePS2SmartTouchPad.kext (v.4.6.8)
151:963  0:060    |-- PlugIn kext: EFI\CLOVER\kexts\10.11\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Keyboard.kext (v.4.6.8)
151:977  0:014    |-- PlugIn kext: EFI\CLOVER\kexts\10.11\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Controller.kext (v.4.6.8)
151:990  0:012  Extra kext: EFI\CLOVER\kexts\10.11\FakeSMC.kext (v.1765)
152:075  0:085    |-- PlugIn kext: EFI\CLOVER\kexts\10.11\FakeSMC.kext\Contents\PlugIns\ACPISensors.kext (v.1765)
152:134  0:058    |-- PlugIn kext: EFI\CLOVER\kexts\10.11\FakeSMC.kext\Contents\PlugIns\CPUSensors.kext (v.1765)
152:146  0:012    |-- PlugIn kext: EFI\CLOVER\kexts\10.11\FakeSMC.kext\Contents\PlugIns\LPCSensors.kext (v.1765)
152:387  0:240    |-- PlugIn kext: EFI\CLOVER\kexts\10.11\FakeSMC.kext\Contents\PlugIns\GPUSensors.kext (v.1765)
152:404  0:017  Extra kext: EFI\CLOVER\kexts\10.11\IOath3kfrmwr.kext (v.1.2.1)
152:447  0:042  Extra kext: EFI\CLOVER\kexts\10.11\RealtekRTL8111.kext (v.2.2.1)
152:495  0:048  Extra kext: EFI\CLOVER\kexts\10.11\CodecCommander.kext (v.2.6.3)
152:573  0:078  Extra kext: EFI\CLOVER\kexts\10.11\CalDigitUSBxHCI.kext (v.1.3.8a2)
152:598  0:024  Extra kext: EFI\CLOVER\kexts\10.11\CalDigitFastIO.kext (v.2.6.1)
152:612  0:013  Extra kext: EFI\CLOVER\kexts\10.11\AsusNBFnKeys.kext (v.2.6)
152:630  0:018  Extra kext: EFI\CLOVER\kexts\10.11\AsusACPIBackLightPanel.kext (v.1.7)
152:643  0:013  Extra kext: EFI\CLOVER\kexts\10.11\Lilu.kext (v.1.2.2)
152:680  0:037  Extra kext: EFI\CLOVER\kexts\10.11\AppleALC.kext (v.1.2.2)
152:732  0:051    |-- PlugIn kext: EFI\CLOVER\kexts\10.11\AppleALC.kext\Contents\PlugIns\PinConfigs.kext (v.1.0.0)
153:286  0:554  Extra kext: EFI\CLOVER\kexts\10.11\ACPIBatteryManager.kext (v.1.81.4)
153:354  0:068  SetStartupDiskVolume:
153:354  0:000    * Volume: 'Macintosh HD' 

 

 

  • Like 1
Link to comment
Share on other sites

Hi guys,

 

I am trying to update to High Sierra 10.13.2 now. When I try to start the "macos install prebooter", a crossed circle sign will appear. The drive seems to be converted to APFS already. Strangely I seem to be able to access it from Sierra 10.12.6, which is nice. Now copying apfs.efi from /usr/standalone/i386/ to clover efi and will see what happens...

 

Any other idea? Thanks.

 

EDIT: Ok, replaced APFS.EFI, still no luck, a crossed circle.

 

EDIT: Nevermind, I just had to select "macOS" entry :)

Link to comment
Share on other sites

Any idea how I can remove those entries "macos install prebooter" and "filevault install prebooter"?  Must be caused by some additional boot files on the hs installation, but which ones are these?  Would be nice if clover would show the actual detected boot/kernel file path in advanced options.

  • Like 1
Link to comment
Share on other sites

hello

 

last clover rev 4365 give me this error

 

 

 

================================================================================
Running from: macOS 10.13.3
Xcode 9.2
Build version 9C40b
================================================================================
Compiler settings
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
================================================================================
BUILDTOOL is XCODE8

================================================================================
nasm check:
NASM version 2.13.02 compiled on Nov 29 2017
================================================================================
gettext check:
found gettext at /Users/artur_pt/src/opt/local/bin
================================================================================
boot6
TOOLCHAIN_DIR: /Users/artur_pt/src/opt/local
NASM_PREFIX: /Users/artur_pt/src/opt/local/bin/
NASM_VER: 2.13.02
Initializing workspace
Loading previous configuration from /Users/artur_pt/src/edk2/Conf/BuildEnv.sh
WORKSPACE: /Users/artur_pt/src/edk2
EDK_TOOLS_PATH: /Users/artur_pt/src/edk2/BaseTools
CONF_PATH: /Users/artur_pt/src/edk2/Conf
Building tools as they are not found
make -C Source/C
Attempting to detect HOST_ARCH from 'uname -m': x86_64
Detected HOST_ARCH of X64 using uname.
mkdir -p .
make -C Common
gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 PcdValueCommon.c -o PcdValueCommon.o
PcdValueCommon.c:270:47: error: format specifies type 'unsigned long' but the argument has
type 'UINT64' (aka 'unsigned long long') [-Werror,-Wformat]
sprintf(PcdList[index].Value, "0x%016lx", Value);
~~~~~~ ^~~~~
%016llx
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_stdio.h:47:56: note:
expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
1 error generated.
make[2]: *** [PcdValueCommon.o] Error 1
make[1]: *** [Common] Error 2
make: *** [source/C] Error 2

 

 

thanks

Link to comment
Share on other sites

Any idea how I can remove those entries "macos install prebooter" and "filevault install prebooter"? Must be caused by some additional boot files on the hs installation, but which ones are these? Would be nice if clover would show the actual detected boot/kernel file path in advanced options.

See here

http://www.insanelymac.com/forum/topic/326527-create-custom-entries-to-hide-preboot-and-recovery-apfs-volumes-fusion-drive-installation-with-clover-configurator/

 

Sent from my SM-G930F using Tapatalk

  • Like 2
Link to comment
Share on other sites

Any idea how I can remove those entries "macos install prebooter" and "filevault install prebooter"?  Must be caused by some additional boot files on the hs installation, but which ones are these?  Would be nice if clover would show the actual detected boot/kernel file path in advanced options.

 

It shows you in the log, buddy. But assuming you just switched to APFS then you need to hide those container entries specially, if you search on insanely you should be able to find the method to create custom entries for them to hide them. That's the workaround for now...

 

EDIT: SavageAUS beat me to linking the topic.

 

hello

 

last clover rev 4365 give me this error

 

thanks

 

It is known, it is error in EDK2. Revert your EDK2 to previous revision.

  • Like 1
Link to comment
Share on other sites

 

Thanks, looks super complicated :) My last question would be: What for are these entries? Is it a rest from the High Sierra Updater or anything useful?  Or could clover hide it by default? Since I get a crossed circle if selecting it.

Link to comment
Share on other sites

Thanks, looks super complicated :) My last question would be: What for are these entries? Is it a rest from the High Sierra Updater or anything useful? Or could clover hide it by default? Since I get a crossed circle if selecting it.

Preboot is the default boot volume, the macOS partition is not supposed to be booted anymore. And yes, the installer leaves files back for whatever reason.
Link to comment
Share on other sites

Download-Fritz: I can only boot HS by selecting "macOS", selecting any preboot will show me a crossed-circle.

That can have many reasons, most likely the booter is not launched with explicit relativeness to root (path starting with a backslash).

For now, your best bet is hiding Preboot by name, until some distant day the macOS vol is turned unbootable.

  • Like 1
Link to comment
Share on other sites

Apply theracermaster's patch. It will be committed soon so you won't have merge conflicts

diff --git a/BaseTools/Source/C/Common/PcdValueCommon.c b/BaseTools/Source/C/Common/PcdValueCommon.c
index 6ca0994744..1b7b48c125 100644
--- a/BaseTools/Source/C/Common/PcdValueCommon.c
+++ b/BaseTools/Source/C/Common/PcdValueCommon.c
@@ -266,7 +266,7 @@ Returns:
     sprintf(PcdList[Index].Value, "0x%08x", (UINT32)(Value & 0xffffffff));
     break;
   case PcdDataTypeUint64:
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__APPLE__)
     sprintf(PcdList[Index].Value, "0x%016lx", Value);
 #else
     sprintf(PcdList[Index].Value, "0x%016llx", Value);

It is known, it is error in EDK2. Revert your EDK2 to previous revision.

Link to comment
Share on other sites

@DF, during testing while ago, booter on preboot doesn't come with prelinked file on that dir as usual. My best guess those booter will refuse to launch because they failed to looking that file.  

 

OK DF, YOU WIN!

Edited by cecekpawon
Link to comment
Share on other sites

 

Apply theracermaster's patch. It will be committed soon so you won't have merge conflicts

diff --git a/BaseTools/Source/C/Common/PcdValueCommon.c b/BaseTools/Source/C/Common/PcdValueCommon.c
index 6ca0994744..1b7b48c125 100644
--- a/BaseTools/Source/C/Common/PcdValueCommon.c
+++ b/BaseTools/Source/C/Common/PcdValueCommon.c
@@ -266,7 +266,7 @@ Returns:
     sprintf(PcdList[Index].Value, "0x%08x", (UINT32)(Value & 0xffffffff));
     break;
   case PcdDataTypeUint64:
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__APPLE__)
     sprintf(PcdList[Index].Value, "0x%016lx", Value);
 #else
     sprintf(PcdList[Index].Value, "0x%016llx", Value);

 

That is not a proper solution, it should be checking the version of C that is being used, you can still disable C99 in an apple compiler and then this is an error in the opposite direction where %llx is not defined.

 

EDIT: The fix should be this:

diff --git a/BaseTools/Source/C/Common/PcdValueCommon.c b/BaseTools/Source/C/Common/PcdValueCommon.c
index 6ca0994744..1b7b48c125 100644
--- a/BaseTools/Source/C/Common/PcdValueCommon.c
+++ b/BaseTools/Source/C/Common/PcdValueCommon.c
@@ -266,7 +266,7 @@ Returns:
     sprintf(PcdList[Index].Value, "0x%08x", (UINT32)(Value & 0xffffffff));
     break;
   case PcdDataTypeUint64:
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
     sprintf(PcdList[Index].Value, "0x%016lx", Value);
 #else
     sprintf(PcdList[Index].Value, "0x%016llx", Value);
Link to comment
Share on other sites

×
×
  • Create New...