Jump to content

Clover General discussion

Bootloader EFI Clover

  • Please log in to reply
5927 replies to this topic

#381
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,016 posts
  • Gender:Male

Had that issue a while ago. I think it was related to not having the right drivers in the efi folder. Sorry, this was a week ago, during my first attempt--where I was even more clueless than I am now, so I can't be sure. Are booting UEFI?

BTW, very informative site. Will have to grab (yet another) cup of coffee and start reading.


I used the UEFI settings for it and not it says Boot7 where before it said Boot?

However I just get a - on the screen...

#382
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,137 posts
  • Gender:Male
New version out
CloverGrower V3.9, see post 2, quite a few changes.

#383
cyf

cyf

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts

I used the UEFI settings for it and not it says Boot7 where before it said Boot?

However I just get a - on the screen...


I had a Boot3 message before. Honestly, I completely started over when I re-did my clover stick. Look at this post:

http://www.insanelym...20#entry1865774

I renamed the folders so that only the folders that are necessary are used (e.g., I renamed "drivers32" to "drivers32-unused").

Here's my updated config.plist (the one in that link has errors). I've copied the XSDT and SSDT's in the /EFI/ACPI/origin folder to the /EFI/ACPI/patched folder, used the patched DSDT from Chameleon, and preliminarily, the LCD is recognized better (brightness control is there, but still a weird name), but the sound to HDMI is not controllable--it's basically outputting it at full blast so even when I have my speakers turned down, you can hear the clipping from the source, haha.

I may try to just use the original DSDT and turn on DSDT masks.

Does anyone know if the stuff that is saved by Clover by hitting F4 at the Clover screen is the same as if I would have used a DSDT extractor?

Attached Files



#384
warback

warback

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
  • Gender:Male
  • Location:lille
How multi-boot with Windows 8 ?

#385
cyf

cyf

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts

How multi-boot with Windows 8 ?


Make sure you don't use OS X's Disk Utility to partition the drive--it will create hybrid MBR.

Hi, I have been using ML (10.8.2 using Chameleon with DDST/SSDT's and kexts), but have not been able to have it working with Speedstep, etc. Given that I wanted to use Clover ultimately, I decided to just switch to Clover. After a few tries, I got the UEFI boot to work on my USB stick! Really excited and would like to now "customize" Clover for full functionality. I am confused about a few configuration options:

1. Use patched DSDT from Chameleon?
The DSDT that works in Chameleon has patches for audio (for Realtek ALC269VB) and video (HD4000), so should I use the patched DSDT and turn off Graphics Injection? Right now the sound doesn't work because the necessary HDEF patch is missing, and my laptop LCD is not being recognized as such and therefore it doesn't have lighting control (the display is shown as a "spdisplays_display" in the About this Mac).

EDIT: I lied. Just rebooted and the laptop screen is off, and I can "Gather Windows" and get the other system preferences panels for the laptop screen, but no options to change the backlighting.

2. Processor (speeds/stepping).
This should be "easy" because my specs are very close to the latest Macbook Air 5,2 (I have the i7-3517U while the MBA has the i7-3667U), and ML seems to recognize my system as the MBA5,2 even though I don't have SMBios parameters in my config.plist (yay Clover!). However, although the system correctly recognizes the CPU as an i7, the processor speed is being shown as 2.4GHz when it should be 1.9GHz with 2.8GHz Turbo. How should I go about addressing this?

In this post, it seems that I should add the processor section in my DSDT--where do I find the values for my processor to put in the Scope (\_PR) section?

Also, it says I should drop OEM SSDT's and generate C and P states:

http://www.insanelym...2/#entry1853597

However, it seems to imply that I should still use some of the SSDT's from the Clover decoded ACPI tables in the /EFI/ACPI/origin folder because all OEMSSDT's will be dropped. How do I know which ones to use? Should I just put all of them (SSDT.aml to SSDT-6.aml) in? There are also all these other aml's. Should I put those in too? I enclose the orignal, unpatched aml files retrieved by Clover.

Also, in this post related to patching DSDT to get sleep/speedstep working:

http://www.insanelym...2/#entry1853603

I looked in /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/

but did not see a MacBookAir5_2. The highest one I saw was MacBookAir4_2. I thought this would be in ML 10.8.2. Am I missing something?

3. iCloud and App Store.
Do I need to add a custom UUID somewhere? Right now I am getting the dreaded "unknown error" for the App store, and I would love to be able to figure out why--part of it may be because of not having a UUID?

4. USB 3.0
Right now a USB 3.0 external drive will show up under the 2.0 bus. What should I be looking at to get the USB 3.0 to work? DDST mask? I checked my settings in the firmware and XHCI is turned on.

5. Kexts injection
As this seems to be a game of constantly tweaking, I would like to take the kexts I put in /S/L/E and move them to the Clover USB stick for easier manipulation and have Clover inject them until I get to the point where I will put Clover on the hard drive. If I do the kext injection, should I bother to put the original kexts from the ML install back?

Thanks in advance for any suggestions. Several others on the forums with Zenbooks have expressed interest in using Clover, and I would love to be able to just get this to work and give them my settings.

I enclose DarwinDumper reports for the machine booted under Chameleon and Clover.


Nothing?

#386
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,817 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe
Notebook HP DV7-7002el UEFI :king:

I forgot about this: Thank you for this bootloader!



Now that Windows 8 is released, HP has provided a new UEFI update:

Now I can boot UEFI-Clover => Osx directly!



I hope that this update arrivals for all HP Laptop!




My boot is very fast in UEFI mode! :yoji:

Thank you all!

Micky

#387
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,476 posts
  • Gender:Male

Notebook HP DV7-7002el UEFI :king:

I forgot about this: Thank you for this bootloader!



Now that Windows 8 is released, HP has provided a new UEFI update:

Now I can boot UEFI-Clover => Osx directly!



I hope that this update arrivals for all HP Laptop!




My boot is very fast in UEFI mode! :yoji:

Thank you all!

Micky



ottimo ..very good

#388
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 274 posts
  • Gender:Male
cyf ... will try to write what I know ...

1. Use patched DSDT from Chameleon?
The DSDT that works in Chameleon has patches for audio (for Realtek ALC269VB) and video (HD4000), so should I use the patched DSDT and turn off Graphics Injection?

- Since you have patched DSDT, you just need to put it to /efi/acpi/patched (assuming you have nothing in /efi/oem folder) and set in Clover ACPI/FixDsdtMask=0
- Note: But check it against original DSDT again: your Chameleon DSDT (patched) is different then the one from Clover UEFI boot (check OperationRegion (GNVS, SystemMemory, XXXXXXXX, 0x01D1) in them, thee may be more similar stuff)
- GFX patches in DSDT -> you do not need GraphicsEnabler in Chameleon -> no need for it in Clover also: set Graphics/GraphicsInjector=No
- Audio patches already in DSDT -> set in Clover PCI/HDAInjection=No
- You are dropping OEM tables in Chameleon and letting Cham. to generate C and P states -> do the same in Clover: ACPI/DropOemSSDT=Yes, GenerateCStates=Yes, GeneratePStates=Yes
- Notre: Your RSDT table dumped from Clover UEFI boot is bad - something is wrong here.

2. Processor (speeds/stepping).
However, although the system correctly recognizes the CPU as an i7, the processor speed is being shown as 2.4GHz when it should be 1.9GHz with 2.8GHz Turbo. How should I go about addressing this?

Have no idea about that. Ask Slice and apianti on Clover's development thread.

In this post, it seems that I should add the processor section in my DSDT--where do I find the values for my processor to put in the Scope (\_PR) section?

You already have it in your DSDT:
Scope (_PR)
{
	 Processor (CPU0, 0x01, 0x00000410, 0x06) {}
	 Processor (CPU1, 0x02, 0x00000410, 0x06) {}
	 Processor (CPU2, 0x03, 0x00000410, 0x06) {}
	 Processor (CPU3, 0x04, 0x00000410, 0x06) {}
	 Processor (CPU4, 0x05, 0x00000410, 0x06) {}
	 Processor (CPU5, 0x06, 0x00000410, 0x06) {}
	 Processor (CPU6, 0x07, 0x00000410, 0x06) {}
	 Processor (CPU7, 0x08, 0x00000410, 0x06) {}
}

Also, it says I should drop OEM SSDT's and generate C and P states:
http://www.insanelym...2/#entry1853597

However, it seems to imply that I should still use some of the SSDT's from the Clover decoded ACPI tables in the /EFI/ACPI/origin folder because all OEMSSDT's will be dropped. How do I know which ones to use? Should I just put all of them (SSDT.aml to SSDT-6.aml) in? There are also all these other aml's. Should I put those in too? I enclose the orignal, unpatched aml files retrieved by Clover.

In short: you are dropping them all in Chameleon and Chameleon injects new C and P states. If this works there, do the same in Clover: drop them all and let Clover inject C and P states. Do not put anything more in /efi/acpi/patched except your DSDT.

Also, in this post related to patching DSDT to get sleep/speedstep working:

http://www.insanelym...2/#entry1853603

I looked in [font='courier new', ', courier, monospace} ']/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/[/font]

but did not see a MacBookAir5_2. The highest one I saw was MacBookAir4_2. I thought this would be in ML 10.8.2. Am I missing something?

Do not know about that.

3. iCloud and App Store.
Do I need to add a custom UUID somewhere? Right now I am getting the dreaded "unknown error" for the App store, and I would love to be able to figure out why--part of it may be because of not having a UUID?

Yes. You should boot with Chameleon, open System Information/Hardware and copy Hardware UUID from there into Clover's SystemParameters/CustomUUID param.

4. USB 3.0
Right now a USB 3.0 external drive will show up under the 2.0 bus. What should I be looking at to get the USB 3.0 to work? DDST mask? I checked my settings in the firmware and XHCI is turned on.

Do not know. Search for OSX USB 3.0 drivers?

5. Kexts injection
As this seems to be a game of constantly tweaking, I would like to take the kexts I put in /S/L/E and move them to the Clover USB stick for easier manipulation and have Clover inject them until I get to the point where I will put Clover on the hard drive. If I do the kext injection, should I bother to put the original kexts from the ML install back?

Kext injection is for injecting additional kexts, like FakeSMC. Not for replacing existing ones. I would recommend installing kexts to where they should go: /S/L/E and use injection only if needed during install for example.

> Does anyone know if the stuff that is saved by Clover by hitting F4 at the Clover screen is the same as if I would have used a DSDT extractor?
Clover should save original, untouched ACPI tables with F4. Should be the same as you would extract from Windows or Linux.

When using CloverEFI (boot->boot1 ...), then tables would be extracted from BIOS, and when Clover is started from UEFI then it will drop tables from UEFI system table. In theory, it's possible that DSDT extracted from BIOS is different then extracted from UEFI. Meaning, it's possible that DSDT for UEFI Clover may be different then DSDT from Chameleon. It's not the case here on my system, but ...

#389
efy

efy

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

When using CloverEFI (boot->boot1 ...), then tables would be extracted from BIOS, and when Clover is started from UEFI then it will drop tables from UEFI system table. In theory, it's possible that DSDT extracted from BIOS is different then extracted from UEFI. Meaning, it's possible that DSDT for UEFI Clover may be different then DSDT from Chameleon. It's not the case here on my system, but ...


So how do I tell Clover to extract the info from UEFI and not the BIOS? To extract it from the BIOS I write BIOS.aml but what should I write for UEFI?

#390
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:Brazil
@magnifico

After some tries I saw that apparently fstab isn't working to auto mount the EFI partition as I proposed for you before...

I found a script that allow us to mount and unmount the EFI partition...

Attached File  Screen Shot 2012-11-12 at 1.21.48 AM.png   40.05KB   21 downloads

Originally, the script give the option to mount the EFI partition only when using HFS File System, so I added only one
line to also add FAT File System
(I also changed the original AppleScript icon to a nicer one)...

Unfortunately, I can't find the original source even the script being widely know and the only consistent
information is the one in the script...

(*
Created by Koen2X on 2008-12-06
Use at your own risk. I only made this script for my own person use.
I am not responsible for anything this may do to your system!

This script assumes that you do not have as existing volume with the name "EFI"

Sometimes Finder does not want to open or close the window.
I found Finder to be inconsistent when trying to reference the /Volumes/EFI directory.

*)


If anyone know the original source, please tell me...

I'm attaching the script here...

Attached File  EFI Mounter-v2.app.zip   54.79KB   379 downloads

The usage is simple, double click the app, select the partition and click mount or unmount!

All credits to Koen2X !

#391
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,016 posts
  • Gender:Male
After removing the none EFI Boot files from the Boot folder I can boot into Clover. However it still does not see the HDD that it is installed on nor does it see any other HDD on my intel, asmedia, or my rocketraid SAS card. Ideas?

This is for my x79 build.

#392
carboon

carboon

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

Clover it's almost perfect for me to use it from now on, I just wish the developers skipped hard disk searches connected to the marvel controller to avoid the 3 minute delay that I have.

For me, if I connect any disk to marvel controller, it will hang before reaching clover gui (or may be I just didn't wait enough long)...

#393
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 274 posts
  • Gender:Male

So how do I tell Clover to extract the info from UEFI and not the BIOS? To extract it from the BIOS I write BIOS.aml but what should I write for UEFI?

- If you start Clover from UEFI (without boot -> boot1 ...), then by pressing F4 it will extract tables from UEFI.
- If you start Clover from BIOS (through boot -> boot1 ...), then it will extract tables form your BIOS.
They are probably the same, but do not have to be.

#394
warback

warback

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
  • Gender:Male
  • Location:lille
Wohhhhhhhh thank

#395
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,476 posts
  • Gender:Male

@magnifico



:hammer: now try,,thz friend

#396
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,022 posts
  • Gender:Male
  • Location:Moscow

So how do I tell Clover to extract the info from UEFI and not the BIOS? To extract it from the BIOS I write BIOS.aml but what should I write for UEFI?

UEFI.aml
:wink2:

#397
cyf

cyf

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts

cyf ... will try to write what I know ...

- Notre: Your RSDT table dumped from Clover UEFI boot is bad - something is wrong here.

In short: you are dropping them all in Chameleon and Chameleon injects new C and P states. If this works there, do the same in Clover: drop them all and let Clover inject C and P states. Do not put anything more in /efi/acpi/patched except your DSDT.

> Does anyone know if the stuff that is saved by Clover by hitting F4 at the Clover screen is the same as if I would have used a DSDT extractor?
Clover should save original, untouched ACPI tables with F4. Should be the same as you would extract from Windows or Linux.

Meaning, it's possible that DSDT for UEFI Clover may be different then DSDT from Chameleon. It's not the case here on my system, but ...


Thanks, dmazar. It sounds like I need to take a careful look at my DSDT (I should mention that the patched DSDT was from a UX31A with an i5, and I have a UX21A with an i7 (the other hardware difference being the UX31A having a card reader), and patch "fresh"!

Re: things working in Chameleon vs. Clover, things that were working okay in Chameleon was sound and video (HDMI and VGA out--though apparently the VGA out was not recognized unless you inserted it before boot--I don't have a 3rd monitor connected...yet :-). Sleep was working with patched DSDT as well, I believe, although I didn't extensive time to test in all conditions (the laptop seemed to sleep and awake when lid was closed/open, respectively, which I found amazing).

Would using Clover with DSDT mask be a substitute for the video eventually? Same thing with sound (although sound will still need modified AppleHDA.kext, of course), sleep, etc. It sounded like you were saying if patched DSDT is working, then stick with that. I was hoping to eliminate using as many "modifications" as possible so that any updates (OS X 11? haha) would mean less impact--also to let Clover handle more, as that's the idea, right? ;-)

Processor was not being recognized correctly in Chameleon--i.e., it was recognized as an i7, but running at 1.7Ghz and 786Mhz or thereabouts. Thus, I figured I would at least switch over to Clover before investing anymore time to Chameleon. Clover recognizes at 2.4 GHz, but 1.80 GHz.

Regarding UUIE, I booted into Chameleon and used the Hardware UUID from System Information app, so thanks for that. Going to try and fix App Store/iCloud.

I re-dumped the tables again using Clover and attachedment. I'm not sure what you found wrong about RSDT, as I'm just learning about the ACPI spec. (950+ pages!), so if you have any hints, let me know.

Attached Files



#398
Mrengles

Mrengles

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:United States
What are the requirements for making new fonts for Clover? Can someone point me into the right direction? I have a copy of TinyFont & bmGlyph to generate Bitmap (BM) Fonts. I want to make a couple of new fonts for my Clover Theme.

Thanks!

-Mrengles

#399
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,102 posts
  • Gender:Male
  • Location:UK
Hi mrengles.

All I can tell you is how I went about it, because at the time I didn't know of (or maybe I was too lazy to look for) any software out there to do it for me. I see you've already posted a font file so I guess this isn't completely alien to you.

Anyway, I created my files using Adobe Illustrator. I searched for some monospaced typefaces and positioned the characters as per the original files in Clover (here and for the cyrillic version, here), then exported the files to .png without using anti-aliasing. That's important as using anti-aliasing causes a nasty halo around the characters when highlighted with the selection colour as set in the refit.conf. Maybe, with careful crafting, an anti-alised colour could be used to match the selection colour and it would work but I never tried that.

If you would like me to post one of my Illustrator files then just ask, otherwise, if you find a better way then let me know?

Hope that helps.

#400
Mrengles

Mrengles

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:United States
@blackosx

This subject is completely alien to me. I ripped off slice and renamed one of his already made fonts. I didn't create from scratch like I'm now wanting to do.

Would you mind posting you illustrator file, and detail any other steps you took.

The two applications I have do most if not all of the work for you, but I still need to select the correct option like spacing, size, kerning, stroke... The list goes on. Maybe I should take a screenshot and post an AppStore link?

Do the characters have to be in any specific layout or can they be generated by the application for example by height, spacing, character type. Period.

I think I have way to many question an need to do allot more homework. What I need is to read up on the standard itself.

Thanks
-Mrengles



@Blackosx

Here are the screenshots of the two applications I mentioned in the post above...

=)

Attached Files







Also tagged with one or more of these keywords: Bootloader, EFI, Clover


17 user(s) are reading this topic

9 members, 8 guests, 0 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy