Jump to content
ErmaC

Clover General discussion

17,332 posts in this topic

Recommended Posts

@tluck,

 

Everything went smoothly except the last part linking.  It cannot find file "x86_64-clover-link-gnu-gcc"

 

All I have in ~/src/opt/local/bin/ is:

 

x86_64-apple-darwin13.3.0-c++

x86_64-apple-darwin13.3.0-g++

x86_64-apple-darwin13.3.0-gcc

x86_64-apple-darwin13.3.0-gcc-4.8.3

x86_64-apple-darwin13.3.0-gcc-ar

x86_64-apple-darwin13.3.0-gcc-nm

x86_64-apple-darwin13.3.0-gcc-ranlib

 

What exactly did you edit in CloverGrower.command?  I just changed export gccVers="4.8.3" to export gccVers="4.9.1"

 

Was I suppose to modify anything else?

 

 

Edited:

 

Also no gcc in bin

 

~src/opt/local/cross/x86_64-clover-link-gnu/bin/gcc

Share this post


Link to post
Share on other sites
Advertisement

@oSxFr33k

I know the issue with ia32 compilation. This is still edk2 error and I waiting they fix it.

You may correct temporary one line Clover.fdf:35

[FV.DuetEfiMainFvX64] -> [FV.DuetEfiMainFvIA32]

and build 32 bit version.

Share this post


Link to post
Share on other sites

whoops - fixed command above

 

ln  ~/src/opt/local/cross/bin/x86_64-clover-linux-gnu-gcc  ~/src/opt/local/cross/x86_64-clover-linux-gnu/bin/gcc

Share this post


Link to post
Share on other sites

whoops - fixed command above

 

ln  ~/src/opt/local/cross/bin/x86_64-clover-link-gnu-gcc  ~/src/opt/local/cross/x86_64-clover-link-gnu/bin/gcc

 

 

Weird is the link command ln -s?  It won't link right?

 

osxfr33ksimac2:bin osxfr33k$ ln  ~/src/opt/local/cross/bin/x86_64-clover-link-gnu-gcc  ~/src/opt/local/cross/x86_64-clover-link-gnu/bin/gcc

ln: /Users/osxfr33k/src/opt/local/cross/bin/x86_64-clover-link-gnu-gcc: No such file or directory

 

Is gcc a directory and if it is, not present.

 

 

@Slice,

 

I will do that for now, thanks

Share this post


Link to post
Share on other sites

this is what I get after running buildgcc-4.9.sh

 

i then hard linked (ln versus ln -s) the gcc binary file

 

 

tluck@Toms-Mac ~/src/opt/local/cross

$ ls -l bin/x86* x86*/bin

-rwxr-xr-x  1 tluck  wheel  1113688 Aug 18 19:00 bin/x86_64-clover-linux-gnu-addr2line

-rwxr-xr-x  2 tluck  wheel  1155464 Aug 18 19:00 bin/x86_64-clover-linux-gnu-ar

-rwxr-xr-x  2 tluck  wheel  1867712 Aug 18 19:00 bin/x86_64-clover-linux-gnu-as

-rwxr-xr-x  2 tluck  wheel   714716 Aug 18 19:05 bin/x86_64-clover-linux-gnu-c++

-rwxr-xr-x  1 tluck  wheel  1111724 Aug 18 19:00 bin/x86_64-clover-linux-gnu-c++filt

-rwxr-xr-x  1 tluck  wheel   714756 Aug 18 19:05 bin/x86_64-clover-linux-gnu-cpp

-rwxr-xr-x  1 tluck  wheel    76668 Aug 18 19:00 bin/x86_64-clover-linux-gnu-elfedit

-rwxr-xr-x  2 tluck  wheel   714716 Aug 18 19:05 bin/x86_64-clover-linux-gnu-g++

-rwxr-xr-x  3 tluck  wheel   714716 Aug 18 19:05 bin/x86_64-clover-linux-gnu-gcc

-rwxr-xr-x  3 tluck  wheel   714716 Aug 18 19:05 bin/x86_64-clover-linux-gnu-gcc-4.9.1

-rwxr-xr-x  1 tluck  wheel    26604 Aug 18 19:05 bin/x86_64-clover-linux-gnu-gcc-ar

-rwxr-xr-x  1 tluck  wheel    26604 Aug 18 19:05 bin/x86_64-clover-linux-gnu-gcc-nm

-rwxr-xr-x  1 tluck  wheel    26604 Aug 18 19:05 bin/x86_64-clover-linux-gnu-gcc-ranlib

-rwxr-xr-x  1 tluck  wheel   345660 Aug 18 19:05 bin/x86_64-clover-linux-gnu-gcov

-rwxr-xr-x  1 tluck  wheel  1193196 Aug 18 19:00 bin/x86_64-clover-linux-gnu-gprof

-rwxr-xr-x  4 tluck  wheel  1975376 Aug 18 19:00 bin/x86_64-clover-linux-gnu-ld

-rwxr-xr-x  4 tluck  wheel  1975376 Aug 18 19:00 bin/x86_64-clover-linux-gnu-ld.bfd

-rwxr-xr-x  2 tluck  wheel  1130732 Aug 18 19:00 bin/x86_64-clover-linux-gnu-nm

-rwxr-xr-x  2 tluck  wheel  1350844 Aug 18 19:00 bin/x86_64-clover-linux-gnu-objcopy

-rwxr-xr-x  2 tluck  wheel  2287396 Aug 18 19:00 bin/x86_64-clover-linux-gnu-objdump

-rwxr-xr-x  2 tluck  wheel  1155488 Aug 18 19:00 bin/x86_64-clover-linux-gnu-ranlib

-rwxr-xr-x  1 tluck  wheel   497416 Aug 18 19:00 bin/x86_64-clover-linux-gnu-readelf

-rwxr-xr-x  1 tluck  wheel  1119996 Aug 18 19:00 bin/x86_64-clover-linux-gnu-size

-rwxr-xr-x  1 tluck  wheel  1117720 Aug 18 19:00 bin/x86_64-clover-linux-gnu-strings

-rwxr-xr-x  2 tluck  wheel  1350836 Aug 18 19:00 bin/x86_64-clover-linux-gnu-strip

 

x86_64-clover-linux-gnu/bin:

total 29272

-rwxr-xr-x  2 tluck  wheel  1155464 Aug 18 19:00 ar

-rwxr-xr-x  2 tluck  wheel  1867712 Aug 18 19:00 as

-rwxr-xr-x  3 tluck  wheel   714716 Aug 18 19:05 gcc

-rwxr-xr-x  4 tluck  wheel  1975376 Aug 18 19:00 ld

-rwxr-xr-x  4 tluck  wheel  1975376 Aug 18 19:00 ld.bfd

-rwxr-xr-x  2 tluck  wheel  1130732 Aug 18 19:00 nm

-rwxr-xr-x  2 tluck  wheel  1350844 Aug 18 19:00 objcopy

-rwxr-xr-x  2 tluck  wheel  2287396 Aug 18 19:00 objdump

-rwxr-xr-x  2 tluck  wheel  1155488 Aug 18 19:00 ranlib

-rwxr-xr-x  2 tluck  wheel  1350836 Aug 18 19:00 strip

Share this post


Link to post
Share on other sites

Hello is there a ways to restore the geometry for windows compatibility or do I have to reformat everything then?


Is a FAT16 formatted partition compatible with clover boot1fat32alt?   What requirements do I need to fulfill that Cover can write the original ACPI to /acpi/origin?  FAT32 partition?

Share this post


Link to post
Share on other sites

Hello is there a ways to restore the geometry for windows compatibility or do I have to reformat everything then?

Is a FAT16 formatted partition compatible with clover boot1fat32alt?   What requirements do I need to fulfill that Cover can write the original ACPI to /acpi/origin?  FAT32 partition?

Yes, FAT16 is not supported by Clover (as well as by Chameleon). You need FAT32 partition.

Share this post


Link to post
Share on other sites

Thanks Slice.  Do you know how I can rebuild the mbr partition scheme and what is the cause for wrong info inside? Is it fdisk512?

I may recommend Ubuntu LiveCD->gparted to make your partitions you like.

Share this post


Link to post
Share on other sites

Dear Slice,

 

I installed Chameleon bootloader as I struggled a lot to get Clover work. Clover used to give split screens. Today I installed clover and changed all places in config.plist duallink to 0. split screen problem solved. My main problem is screen artifacts which ruined the pleasure of os x. I read elsewhere that changing slide=0 solve the screen artifacts and freezes. I tried this slide=0 in argumnets and also in graphics. But no use. Still screen artifacts exist. 

 

I removed all graphics kexts just leaving HD 3000.

 

Please help to get rid of this problem. My specs - OS X - 10.9.4  SMBios: MBP 8,1. Edited DSDT for Battery patch by Rehabman. Patched ACPUM for speedstep.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi all.

Managed to install 10.9 and upgraded to 10.9.4. Graphics and Sound somehow i managed to fix.

But when I installed Clover r2818 to the HDD, all the USB ports (for my keyboard and mouse) stopped working. 

Booting into HDD using Clover from the USB installer is ok.

Anything I missed?

Share this post


Link to post
Share on other sites

Dear Slice,

 

I installed Chameleon bootloader as I struggled a lot to get Clover work. Clover used to give split screens. Today I installed clover and changed all places in config.plist duallink to 0. split screen problem solved. My main problem is screen artifacts which ruined the pleasure of os x. I read elsewhere that changing slide=0 solve the screen artifacts and freezes. I tried this slide=0 in argumnets and also in graphics. But no use. Still screen artifacts exist. 

 

I removed all graphics kexts just leaving HD 3000.

 

Please help to get rid of this problem. My specs - OS X - 10.9.4  SMBios: MBP 8,1. Edited DSDT for Battery patch by Rehabman. Patched ACPUM for speedstep.

 

Thanks in advance.

Use SwitchResX  to make Vertical sync=59.96Hz

Share this post


Link to post
Share on other sites

Use SwitchResX  to make Vertical sync=59.96Hz

SwitchResx not taking decimal in Frequency range 0 - 0. I can enter max limit to 59 or 60 Hz. Decimal not accepting

 

Need to change default resolution to 1366 x768 @ 60/59?. Default is 1366 x 768@ 0. 

 

Thanks in advance

 

 

Update: I created custom  resolution and changed vertical scan rate to 59.96. and ticked positive sync. Now this custom resolution is active and so far no glitches. Shall report back after observing a day.

 

Update1: Not Solved. Screen glitches exists.

 

Update2: Changed InjectEDID to false and vertical scan rate to 59.96. Solved glitches and freezes so far. Shall report back if they appears. Hope they don't.

Share this post


Link to post
Share on other sites

Hi everyone,

For my problem about the led's boot, it's the csmvideodxe driver from clover but if I remove the driver, I have resolution of 1024x768 in clover..

How i can have the full resolution (1920x1080) without the led working.. ? 

Share this post


Link to post
Share on other sites

Hi everyone,

 

For my problem about the led's boot, it's the csmvideodxe driver from clover but if I remove the driver, I have resolution of 1024x768 in clover..

 

How i can have the full resolution (1920x1080) without the led working.. ? 

You need to use a custom EDID+ PatchVbios = true +CSMVideo.

Share this post


Link to post
Share on other sites

You may want to ask pene over at projectosx.com, he has more experience with nvidia gpus and vbios patching. Also I don't think you need both PatchVBios and the CsmVideo driver, just try using only CsmVideo driver.

He need UEFI GOP bios update for vga card,and CSM disabled in mobo bios.

Share this post


Link to post
Share on other sites

People I have a problem a restart PC ,where is the problem?

I've tried many solutions but does not help!!!!!

I mean problem in USB 3.0

Mouse freez and then follows the restart!!!!!! :(

Share this post


Link to post
Share on other sites

You need to use a custom EDID+ PatchVbios = true +CSMVideo.

Hi thanks for your help, but not working also, I use a Custom EDID + PatchVbios and CSMVideo  => I have full resolution it's ok but , i have  the led's boot on my motherboad always on

 

Then if i boot from my installer USB 10.9 with clover basic install, the led is off , i have replaced all driver from usb on hdd but not working too

 

Here my boot.log, and my config.plist  i am on clover 2830

bootlog.log.txt

config.plist.txt

Share this post


Link to post
Share on other sites

People I have a problem a restart PC ,where is the problem?

I've tried many solutions but does not help!!!!!

I mean problem in USB 3.0

Mouse freez and then follows the restart!!!!!! :(

Please open a new topic ..and explain step by step ...which is your problem...on mav ? on Yose?

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   0 members

    No registered users viewing this page.

  • Similar Content

    • By zebity
      Hi Hypervisors,
       
      I have been working to move my Late 2009 Xserve MacOS Server onto Ubuntu 18.04 LTS QEMU/KVM based virtual machine using OVMF and Clover.
       
      After much effort and testing based on the following information from: Kraxel's, Kholia, Gordon Turner and Clover site:
      https://www.kraxel.org/blog/2017/09/running-macos-as-guest-in-kvm/
      https://github.com/kholia/OSX-KVM
      https://gist.github.com/gordonturner/2a2e5ecde5e7860b52e2
      https://clover-wiki.zetam.org/Home
       
      I have now managed to get OVMF/Clover boot and install of MacOS Sierra.
       
      I started with Ubuntu 16.04 initially but this required download and compile of QEMU to get update of machines to: pc-q35-2.9 or better, so I moved to Ubuntu 18.04, which has pc-q35.2.11 available as standard.
       
      So I am now working with standard Ubuntu 18.04 LTS based systems with following packages: kvm/qemu/libvirt/bridge-utils/ovmf/virt-manager
       
      As I want to use PCIe Passthrough for a number of PCIe card currently installed in the server (SmallTree 10GbE & Areca ARC-1883 SAS RAID) I set up my machine with linux kernel boot configuration (/etc/default/grub) of: 
      GRUB_CMDLINE_LINUX_DEFAULT="iommu=1 intel_iommu=on" (as my machine is intel VT-d based HW virtualisation)
       
      This resulted in creation of a number of iommu groups (see /sys/kernel/iommu_group directory for this and this posting for information: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639 , noting that Ubuntu 18.04 LTS has kernel version: 4.15.0-22-generic so there is no need to do kernel update for iommu to work).
       
      Using bare minimal Clover config.plist:
       
       
      And following Clover UEFI drivers:
       
      I can boot MacOS, but it is very very slow... it sits on the apple boot logo for over a minutes before finally moving onto the progress bar.
      The other problem I have is that no PCI or Network devices appear in the "About This Mac" System Information Report and I cannot get any network connectivity from bridged E1000 network device.
       
      Here is my virtlib.xml dump for the virtual machine:
       

      Can any one advise of whether I need to update the CLOVER config.plist to add extra items in to allow network and PCI Passthrough to work.
       
      Thank you.
       
      Regards,
       
      Zebity
       
    • By frankiee
      Hi there, time for my first guide after asking so many things
       
      Updated for newer Clover versions and with additional instructions for more apps: gdisk and RU.
       
      So what may be overlooked sometimes in the whole boot loader discussion is the ability of UEFI to do more than just loading an OS. This is why I see ".efi" files as "apps" because in fact they just are, built on a special kind of API: UEFI. So, you can actually do stuff like editing, diagnosing, testing certain stuff at the lowest possible system level without booting to any OS.
       
      DISCLAIMER: Use this guide at your own risk! For educational purposes only! Should do not any harm, but remember you are dealing with rather low level stuff. But at least for me everything went flawless.
       
      Prerequisites:
      Working clover installation Clover Configurator or some app to edit the config.plist  
      1) Memtest
       
      This is how to install the UEFI version of Memtest with Clover:
      Download memtest, I used this link: Image for creating boot-able USB Drive Open the archive by double clicking on it. Mount the file memtest86-usb.img within by double clicking again. Now, you should see a folder named EFI in this volume, containing a folder BOOT. Open it. The files containing it are the actual app, in 32 and 64 bit versions. Think in almost all cases we want to use the 64 bit version. Now, mount your EFI partition, using Clover configurator. Create a folder named MemTest86 in the EFI folder on your main drive. Copy all files in the EFI/BOOT folder from the mounted image to your newly created folder. That ends the basic setup! Now, we add the correct Menu entry to the clover boot menu, so that we can actually start this app.
       
      Get into clover configurator, open your standard config.plist from your boot drive and go to the GUI section. Under "Custom Entries", add an entry like this:
       

       
      Please note while the path you enter is not case sensitive, you must make sure you use the backslash "\" for entering paths, and not a slash. So basically what we do is tell clover where it can find the app, give it a name, and tell clover it is a "Windows" app. Note: with older Clover versions we had to set this to "Linux", but for now "Windows" is the setting that works.
       
      If you prefer to do a manual config, add this entry to your config.plist, under GUI/Custom/Entries:
      <dict> <key>CustomLogo</key> <true/> <key>Disabled</key> <false/> <key>FullTitle</key> <string>MemTest86</string> <key>Hidden</key> <false/> <key>Ignore</key> <false/> <key>Image</key> <string>\EFI\CLOVER\themes\Icons\os_mint.png</string> <key>Path</key> <string>\EFI\MemTest86\BOOTX64.efi</string> <key>Type</key> <string>Windows</string> <key>VolumeType</key> <string>Internal</string> </dict> Now, save and reboot and you should see the newly created entry. Note that I also used a custom Icon - this is optional - in case you don't you will just see a generic windows icon instead:
       

       
      And this is how it looks like:
       

       

       
      PS: also noticeably faster and you get also more features with this version than with the older version, for example it does now write a log file. For more Information, see: http://www.passmark.com/forum/showthread.php?4315-Memtest86-Version-5-Beta-%28Pure-UEFI%29
       
       
      2) gdisk
       
      Another app you can use is the UEFI version of gdisk (aka GPT fdisk), which you can use to edit and change your partitions.
       
      Warning! Install and use this app at your own risk! If you do something wrong here you might nuke your drive(s), so only use that if you know what you are doing.
       
      This is how to do it (even easier):
      Download here: https://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.1/gdisk-binaries/gdisk-efi-1.0.1.zip/download Mount your EFI partition Unzip the file and copy the resulting folder to your EFI Folder, so your path goes like this "/Volumes/EFI/EFI/gdisk-efi" Get into clover configurator, open your standard config.plist from your boot drive and go to the GUI section. Add an entry like this:  
      If you prefer to do a manual config, add this entry to your config.plist, under GUI/Custom/Entries:
      <dict> <key>CustomLogo</key> <false/> <key>Disabled</key> <false/> <key>FullTitle</key> <string>GDisk</string> <key>Hidden</key> <false/> <key>Ignore</key> <false/> <key>Image</key> <string></string> <key>Path</key> <string>\EFI\gdisk-efi\gdisk_x64.efi</string> <key>Type</key> <string>Windows</string> <key>VolumeType</key> <string>Internal</string> </dict> When everything went OK you should see this after selecting the respective entry in Clover:
       

       
       
      3) RU
       
      I recently found one more app that might be interesting to some, and thats "Read Universal" or in short "RU". This is a tool that enables you to debug your BIOS and read (and modify!) every imaginable data, including UEFI variables, ACPI Tables etc.
       
      Warning, again! I think blindly messing around with this app is even more dangerous, but on the other hand it gives you access to a lot of potentially interesting stuff.
      Download here: http://ruexe.blogspot.de/ The next steps are basically the same as above so make a folder in your EFI partition, copy the .EFI files and make another custom entry in your config.plist Here are some screens:
       

       

       

       
       
      So this is what you also can do with UEFI and clover. I am curious which other useful applications might exist!
       
      Anybody who knows, maybe post it here?
    • By TimNeumann
      MB: Asus X99 A-II
      RAM: G.Skill Ripjaws V F4-3200C16D-32GVK (3200MHz, 4x 16GB DIMMs, so Total 64GB) in quad-channel configuration.
      CPU: i7 6800k @4.0Ghz
      GPUs: GTX 1080 Ti and GTX 1060 3GB
      (each one a monitor, because I can't get DVI to run parallel with DP on the 1080Ti, and my second monitor only has DVI/VGA)
      OS: High Sierra 10.13.2 (17C88) / Clover revision: 4392
       
      Hello everybody,
      I occasionally have system crashes and suspect that it is related to RAM. However, this RAM is completely new, and a run with MemTest86+ from the USB stick showed no errors. However, if I use Memtest on MacOS, I get a bunch of error messages, but sometimes none (I restart the computer between tests).  
      As I just discovered, my RAM is not on the recommended vendor list of my motherboard, nor is it on the manufacturer side of the RAM. I have read several times that the RAM may not have been tested by the manufacturer on this platform. Not a single X99 motherboard is listed for this RAM.
      So I also suspect that my RAM is not compatible.
      But if that were the case, how could it sometimes work completely error-free?
       
      During RAM tests in summer 2017 (a slightly different setup, 4x8GB but still G.Skill Ripjaws V) I had no errors at Memtest under MacOS, if I remember correctly. At that time it ran under Sierra 10.12.6. AptioMemoryFix.efi could also cause problems.
      I am appreciative for any help!
       
      Here is an excerpt from a faulty test.
      It is noticeable that it is always the same address during the test, but a different one after each test.
      Memtest version 4.22 (64-bit) Copyright (C) 2004 Charles Cazabon Copyright (C) 2004-2008 Tony Scaminaci (Macintosh port) Licensed under the GNU General Public License version 2 only Mac OS X 10.13.2 (17C88) running in multiuser mode Memory Page Size: 4096 System has 12 Intel core(s) with SSE Requested memory: 57232MB (60012990464 bytes) Available memory: 57232MB (60012990464 bytes) Allocated memory: 57232MB (60012990464 bytes) at local address 0x00000001033e1000 Attempting memory lock... locked successfully Partitioning memory into 2 comparison buffers... Buffer A: 28616MB (30006495232 bytes) starts at local address 0x00000001033e1000 Buffer B: 28616MB (30006495232 bytes) starts at local address 0x00000007ffc4d800 Running 1 test sequence... (CTRL-C to quit) Test sequence 1 of 1: Running tests on full 57232MB region... Stuck Address : ok Linear PRN : testing 7 of 16 FAILURE! Data mismatch at local address 0x0000000e88133d30 Expected Data: 0xc4c340079ac9a645, Actual Data: 0xc4c3400788468846 Running comparison tests using 28616MB buffers... Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : testing 80 of 256 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x4f4f4f4f4f4f4f4f, BUFB Data: 0x4f4f4f4f88468846 Checkerboard : testing 3 of 64 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x5555555555555555, BUFB Data: 0x5555555588468846 Bit Spread : testing 1 of 128 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x0000000000000005, BUFB Data: 0x0000000088468846 Bit Flip : testing 74 of 512 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x0000000000000200, BUFB Data: 0x0000000088468846 Walking Ones : testing 40 of 128 Clover Files attached
      config.plist
      drivers64UEFI.zip
      kexts.zip
      ACPI.zip
    • By BurpSuite
      screenshot:
       

       
      description:
      github: https://github.com/burpsuite/clover_theme
×