Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

Hello All,

 

After reviewing the ati.c source some more and looking hard at the other ATI graphics cards with Device IDs around 6749 (e.g. the HD6570, Device ID 0x6759, and HD6670, Device ID 0x6758, most closely match the three connector output style of the v4900), I estimated that the Pithecia chip family is highly likely correct for the v4900. Note that the Device IDs listed for the 6570 and 6670 do indeed have odd looking values (out of sequence relative to model number).

 

Anyhow, after determining this, I decided to test this by adding the FirePro to the ati.c listing right before 0x674A, setting everything up appropriately, compiling, creating a test 1179 build package, installing on my flash drive, and booting again. After waiting about 90 seconds while the Clover booting system inspected the system, I have finally reached the Main Clover GUI screen. I will test this more and see what happens next.

 

When I am pleased with the results, I would like to update the ati.c source code. What is the proper procedure to add this change to the Clover source? Should the exact line be posted for someone else to add the change? The line is:

 

{ 0x6749, 0x00000000, CHIP_FAMILY_TURKS, "ATI Radeon FirePro V4900", kPithecia },

 

Sincerely,

 

rd8111

Thank you for the contribution! Commited.

  • Like 1
Link to comment
Share on other sites

Hi,

 

I'm having trouble booting to OS X when I use Clover (USB) as my bootloader. I've been looking for answers for about 4 hours now, and I haven't been able to find anything.

 

When I try booting normally, I get an error. The last few lines of it are

Error allocating 0xedb pages at 0x00000000009ea000 alloc type 2
Loading 'mach_kernel'...
......Error allocating 0x535 pages at 0x0000000000200000 alloc type 2
Error loading kernel 'mach_kernel' (0x9)
sleeping 10 seconds before exit...

 

If I add the flag "WithKexts", I get my root device uuid, a "Loading drivers" notice, several lines of dots, then

Error allocating 0xb pages at 0x0000000000ff7000 alloc type 2
Could not allocate driver module memorysleeping 10 seconds before exit...

 

 

I have also tried to go through the steps listed here, but I cannot find OsxAptioFixDrv-64.efi anywhere on my drive, and all my searches for downloads have come up empty.

 

It's like my teacher said. The best way to solve the problem is to ask the right question. 5 minutes after my original post, I found OsxAptioFixDrv-64.efi in the ISO download of Clover. I'm still getting an error

AtherosNewma40P2PInterface::init name <p2p0> role 1 this 0xffffff8025cfc000

 

but this looks much more managable than what I was getting before.

 

Current System:

i7 3770k

GA Z77-DS3H

Internal graphics until this can get resolved, then planning on AMD 7870 Eyefinity 6.

Edited by Tirnion
Link to comment
Share on other sites

Thanks for Clover team for lots hard work and good effect ATI6000Controller.kext your loader Kernel And Kext Patches its worked my system. My card is xfx 6950 2gb .this patch doesn't work without patch AMDRadeonAccelerator.kext inside Accelerator [/system/Library/Extensions/AMDRadeonAccelerator.kext/Contents/MacOS]. I search lots pages but no where no detail about this patch.mac osx every single update i download patched kexts and use it. I need to know how to patch AMDRadeonController what kind data find and replace. I expect the solution from you guys.

I upload patch kexts and ioreg file thank you.

http://www.mediafire.com/?2830in1ff661tlc

 

ATI Radeon HD6950:

 

Name: ATY,Gibba

Type: Display Controller

Driver Installed: Yes

MSI: Yes

Bus: PCI

Slot: PCI Slot 1

Vendor ID: 0x1002

Device ID: 0x6719

Subsystem Vendor ID: 0x1682

Subsystem ID: 0x3122

Revision ID: 0x0000

Link Width: x16

Link Speed: 2.5 GT/s
Link to comment
Share on other sites

Hi, regarding to ATI connectors patching here #9 , I'm wondering why it doesn't make any difference for my ATI card. I've just tried with a hope having HDMI audio. My HD 7870 has 4 ports (2xminiDP, 1xHDMI, 1xDVI-D). Now it works just fine (except HDMI audio) with futomaki, and ioreg lists as below;

 

@0 - 0x400 = DP

@1 - 0x400 = DP

@2 - 0x4 = DVI-D

@3 - 0x800 = HDMI

 

However when I dumped with radeon_bios_decoder, I got these;

 

@0 - DP

@1 - DP

@2 - HDMI-A

@3 - DVI-I

@4 - DVI-I (not sure about this extra connector - DVI-Dual link?)

 

Fortunately all SenseID are already matched. So, What I thought that I only need to switch between HDMI and DVI-D. Then I added this in config.plist;

 

 

<key>KernelAndKextPatches</key>
<dict>
<key>ATIConnectorsController</key>
<string>7000</string>
<key>ATIConnectorsData</key>
<string>00040000040300000001010012040401000400000403000000010200220505020400000014020000000103000000060600080000040200000001040011020103</string>
<key>ATIConnectorsPatch</key>
<string>00040000040300000001010012040401000400000403000000010200220505020008000004020000000104001102010304000000140200000001030000000606</string>
</dict>

 

I have no problem to boot OS X using either DVI or HDMI port, but when I check in ioreg connector 3 and 4 are not switched as expected. I tried few times with kernelcache and WithKexts, still no difference.

 

Am I doing it right? Or maybe dumping legacy vbios has a relation to this. Because this card now has legacy and efi vbios. Thanks

 

 

[EDIT] Never mind, It works with direct kext patching (KextToPatch) btw.

Link to comment
Share on other sites

I have clovergrower, before it generated a package Clover_v2_rL994.pkg but now with version 1214 that package is nowhere to find.

I notice it replaced by a 33 smaller packages.

 

Say I have zero knowledge on Clover, how I am going to install it on a USB flash disk?

Which one to execute?

 

EDIT:

I think there is an error while generating that pkg. Any idea how I can fix it?

Type 'm' To make Clover_v2_rL1214.pkg...
m
copy User rc Files To Package
cd to src/edk2/Clover/CloverPackage and run ./makepkg.

===================== Building Package =================
----------------------------------
Building Clover Install Package
----------------------------------
=================== BiosBoot ===========================
[bUILD] BiosBoot
===================== EFI folder =======================
[bUILD] EFIFolder
===================== BootLoaders ======================
[bUILD] bootNo
[bUILD] boot0
[bUILD] boot0hfs
[bUILD] boot0EFI
[bUILD] bootUEFI
======================= CloverEFI ========================
[bUILD] cloverEFI.32
[bUILD] cloverEFI.64.sata
======================== Themes ========================
[bUILD] AppleStyle
[bUILD] black_green
[bUILD] iClover
[bUILD] metal
[bUILD] mrengles
===================== drivers32 ========================
[bUILD] Ps2KeyboardDxe-32
[bUILD] Ps2MouseAbsolutePointerDxe-32
[bUILD] Ps2MouseDxe-32
[bUILD] UsbMouseDxe-32
[bUILD] VBoxExt2-32
[bUILD] VBoxExt4-32
[bUILD] XhciDxe-32
===================== drivers64 ========================
[bUILD] Ps2MouseDxe-64
[bUILD] UsbMouseDxe-64
[bUILD] VBoxExt2-64
[bUILD] VBoxExt4-64
[bUILD] XhciDxe-64
=============== drivers64 UEFI mandatory ===============
[bUILD] FSInject-64
[bUILD] OsxFatBinaryDrv-64
[bUILD] VboxHfs-64
=================== drivers64 UEFI =====================
[bUILD] CsmVideoDxe-64
[bUILD] DataHubDxe-64
[bUILD] EmuVariableUefi-64
[bUILD] OsxAptioFixDrv-64
[bUILD] OsxFatBinaryDrv-64
Error can't add choice 'OsxFatBinaryDrv-64': a choice with same name already exists.
make: *** [pkg] Error 1

Link to comment
Share on other sites

Hi, i write this post for three reasons:

The first is to thank all the developers that are making Clover the most powerful bootloader ever.

 

Second i want to ask Slice where can i find the release notes?

 

Third, I can't fix the boot screen resolution on Aptio Bios.

I have an ASUS laptop with 2 graphics cards ( NVIDIA GT650m and HD4000) but the nvidia is disabled with a dsdt method.

To fix this i tried:

- CsmVideo driver with allt the possible flags GInjector=Yes/No, PatchVBios=Yes/No (in both the graphics cards) and EDID Injector but couldn't reach the clover boot menu

- All the above graphics flags without CsmVideo driver but the only one that works is GI=No, PatchVBios=No and EDID Injection.

The last configuration let me reach the clover boot menu with a resolution of 1024x768 (in the preboot.log i have the voice SetMaxResolution: found best mode 0: 1024x768 - alredy set). When i get into the ML's log in, i can see only 1/4 of screen. The Display pref pane reports the right resolution (1920x1080), but i don't get the right view of the screen till i don't downgrade the resolution to 1600x900 and upgrade to 1920x1080.

My driver64UEFI are: Aptiobiosfix, FSInject-64, EmuVariable, osxFatBinary, osxLowmemfix, VbosHFS

Does anyone have any idea to resolve my problem?

Link to comment
Share on other sites

I get a Memory Slot Utility error with most recent versions of Clover. The problem went away somewhere before r1208 (works), but resurfaced somewhere around 1212 (does not work). Is that a change in SMI? I'm using Clover with legacy boot for an EVGA SR-2, 2 processors, all 12 memory slots fully populated.

 

Or is it related to the "malformed smbioses" fixes in revision 1199 with all the changes in /rEFIt_UEFI/Platform/smbios.c ? I can't see any revisions to this after 1208...Well know that I know where to look I'll look at it more closely.

Link to comment
Share on other sites

Even for me Clover 1208 has a bug about the ram, it gives me 4gb more e.g. I have installed 8 gb but it detects 12 gb. is there any fix for this?

Have the same problem.

Today I'd decided to look at Clover anew.

Moreover Clover show me incorrect frequence of RAM. And doesn't show some information such a Serial Number and so on.

I asked Slice about it and he told me that Apianti engage in it and he doesn't want to impede to him.

ECC: Disabled

BANK 0/DIMM0:

Size: 4 GB
Type: DDR3
Speed: 1333 MHz
Status: OK
Manufacturer: Samsung
Part Number: M471B5273BH1-CF8
Serial Number: 0407080C00030600

BANK 1/DIMM0:

Size: 4 GB
Type: DDR3
Speed: 1333 MHz
Status: OK
Manufacturer: [empty]
Part Number: [empty]
Serial Number: [empty]

BANK 0/DIMM1:

Size: 4 GB
Type: DDR3
Speed: 1333 MHz
Status: OK
Manufacturer: Samsung
Part Number: M471B5273BH1-CF8
Serial Number: 0407080C0003050F

DarwinDumper_2.7.0_Clover_X64_1209_1211_ML_admin.zip

Link to comment
Share on other sites

Hello guys, I really would like to replace Chameleon with Clover, I currently dualboot Windows 8 and OS X but Windows 8 does not boot at all. I select the Windows icon and then later I get some sort of weird square mark, which means either Clover didn't find it or something else is wrong. Anybody know what's wrong?

Link to comment
Share on other sites

Hello guys, I really would like to replace Chameleon with Clover, I currently dualboot Windows 8 and OS X but Windows 8 does not boot at all. I select the Windows icon and then later I get some sort of weird square mark, which means either Clover didn't find it or something else is wrong. Anybody know what's wrong?

Either you chosed the wrong partition, or lagacy-boot doesn't work on your motherboary.

How many partitions of ntfs(partitions of windows) do you see?

You can also try the keys "PBR" and "PBRtest". If it won't bring a kind of success. It means that legacy-boot doesn't support your motherboard alas!

Link to comment
Share on other sites

Either you chosed the wrong partition, or lagacy-boot doesn't work on your motherboary.

How many partitions of ntfs(partitions of windows) do you see?

You can also try the keys "PBR" and "PBRtest". If it won't bring a kind of success. It means that legacy-boot doesn't support your motherboard alas!

 

Originally Windows 8 creates a 100mb EFI partition, which I think is for the Windows bootloader, and then there is the Windows 8 partition. I deleted the EFI partition, so maybe this is what Clover is looking for? It doesn't matter since I needed to reformat anyways because OS X runs very good... and Windows 8 is boring lol.

 

Thanks though! :)

Link to comment
Share on other sites

 

 

Originally Windows 8 creates a 100mb EFI partition, which I think is for the Windows bootloader, and then there is the Windows 8 partition. I deleted the EFI partition, so maybe this is what Clover is looking for? It doesn't matter since I needed to reformat anyways because OS X runs very good... and Windows 8 is boring lol.

 

Thanks though! :)

Don't know what Windows creates or not. But every mbr-Windows needs in the Extra Partition called "System reserved"

If you had deleted it, it would figure that you cannot load Windows. Even almighty Chameleon won't able to load Windows in this case!

Link to comment
Share on other sites

Yes Windows creates a 100MB EFI partition if you are installing Windows 8 via UEFI and using the installer to modify your partition layout.

 

Don't know what Windows creates or not. But every mbr-Windows needs in the Extra Partition called "System reserved"

If you had deleted it, it would figure that you cannot load Windows. Even almighty Chameleon won't able to load Windows in this case!

 

This is not true I have Windows 8, Ubuntu 12.10, and OS X 10.8.3 all booting off the same HDD. I have no partition called 'System Reserved', however I did once have it, but I think what happened is that it got deleted at the beginning of my installations. I have Clover installed and booting all operating systems fine.

 


/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *640.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Microsoft Basic Data Windows 8 78.6 GB disk0s2
3: Microsoft Basic Data 59.1 GB disk0s3
4: Linux Swap 8.6 GB disk0s4
5: Microsoft Basic Data Data 338.2 GB disk0s5
6: Apple_HFS Hackintosh HD 79.9 GB disk0s6
7: Apple_Boot Recovery HD 650.0 MB disk0s7
8: Apple_HFS Time Machine 74.9 GB disk0s8

 

 

Hello guys, I really would like to replace Chameleon with Clover, I currently dualboot Windows 8 and OS X but Windows 8 does not boot at all. I select the Windows icon and then later I get some sort of weird square mark, which means either Clover didn't find it or something else is wrong. Anybody know what's wrong?

 

Are you saying you can boot with Chameleon and not Clover, or are you saying Windows 8 does not boot regardless of the bootloader?

Link to comment
Share on other sites

 

Don't know what Windows creates or not. But every mbr-Windows needs in the Extra Partition called "System reserved"

If you had deleted it, it would figure that you cannot load Windows. Even almighty Chameleon won't able to load Windows in this case!

AFAIK the 100MB partition is also used for Bitlocker (lol who uses it anyway as it also requires a TPM chip to work properly on boot HD)

Link to comment
Share on other sites

Hi there,

i'm a little lost getting my Custom SSDT working, need some fresh ideas, cause system stucks in a kind of loop, does not switch to desktop, if a custom ssdt is loaded (no custom DSDT) Booting in single user mode is ok, but after exiting this, it will not switch to desktop. If i remove custom SSDT it works as desired, but X86Plugin is not loaded.

 

Ok, i switched from Chamelon to Clover-UEFI boot. Within Chamelon SSDT works, X86Plugin is loaded, Speedstep is ok!

 

I dumped with UEFI-Clover my OEM-Tables:

 

6:278 0:001 Tables in Xsdt: 8

6:278 0:000 0. DDABF428: 'FACP', 'A M I', Rev: 5, Len: 268 -> FACP.aml

6:280 0:001 (Dsdt: DDAB4170, Facs: DDBE8080, XDsdt: DDAB4170, XFacs: 0)

6:280 0:000 DDAB4170: 'DSDT', 'A M I', Rev: 2, Len: 45745 -> DSDT.aml

6:282 0:002 DDBE8080: 'FACS', Ver: 2, Len: 64 -> FACS.aml

6:284 0:001 1. DDABF538: 'APIC', 'A M I', Rev: 3, Len: 146 -> APIC.aml

6:285 0:001 2. DDABF5D0: 'FPDT', 'A M I', Rev: 1, Len: 68 -> FPDT.aml

6:286 0:001 3. DDABF618: 'MCFG', 'A M I', Rev: 1, Len: 60 -> MCFG.aml

6:288 0:001 4. DDABF658: 'HPET', 'A M I', Rev: 1, Len: 56 -> HPET.aml

6:289 0:001 5. DDABF690: 'SSDT', 'SataTabl', Rev: 1, Len: 877 -> SSDT-0.aml

6:290 0:001 6. DDAC0408: 'SSDT', 'CpuPm', Rev: 1, Len: 2706

Found hidden SSDT 4 pcs

6:290 0:000 * DBEA8018: 'SSDT', 'CpuPm', Rev: 1, Len: 2706 53 53 44 54 92 0A 00 00 01 3D 50 6D 52 65 66 00 Internal length = 2706 -> SSDT-2x.aml

6:291 0:001 * DDA49A98: 'SSDT', 'ApIst', Rev: 1, Len: 771 53 53 44 54 03 03 00 00 01 76 50 6D 52 65 66 00 Internal length = 771 -> SSDT-3x.aml

6:293 0:001 * DDA48018: 'SSDT', 'Cpu0Cst', Rev: 1, Len: 2107 53 53 44 54 3B 08 00 00 01 D8 50 6D 52 65 66 00 Internal length = 2107 -> SSDT-4x.aml

6:294 0:001 * DDA4AC18: 'SSDT', 'ApCst', Rev: 1, Len: 281 53 53 44 54 19 01 00 00 01 EC 50 6D 52 65 66 00 Internal length = 281 -> SSDT-5x.aml

6:295 0:001 -> SSDT-1.aml

6:296 0:001 7. DDABFA58: 'SSDT', 'Cpu0Ist', Rev: 1, Len: 2474 -> SSDT-6.aml

 

I named custom SSDT.aml as SSDT-2.am, i can see its detected, but always hangs. I also tried as -0, -1, -1 or -8, no change. Also (my initial approach), dropping OEMSSDT does not help.

 

System Details: Asus P8Z77-M Pro, i7-3770k. Sapphire 7950.

 

EFI/OEM/P8Z77-M\ PRO/config.plist, ACPI related:

 

<key>ACPI</key>

<dict>

<key>DropOEMSSDT</key>

<string>No</string>

<key>GenerateCStates</key>

<string>No</string>

<key>GeneratePStates</key>

<string>No</string>

<key>FixDsdtMask</key>

<string>0x0004</string>

</dict>

 

EFI/OEM/P8Z77-M\ PRO/ACPI/patched/ssdt-2.aml

 

Hmm. can't attach here ?

 

(You aren't permitted to upload this kind of file)

SSDT and boot.log - /Library/Logs/CloverEFI/will not be filled if boot hangs :-(

 

Ok, also attached original dumped SSDT.

 

Thank you very much, skinmunster

Archiv.zip

UEFI-Dump.zip

Edited by skinmunster
Link to comment
Share on other sites

Hi, how did you create your SSDT? Maybe it causes the problem. This script works pretty well.

 

The right approach would be not to drop existing SSDTs with Clover and to supply your SSDT via ACPI/patched. The file name suffix after SSDT doesn't matter.

You also might want to try another SMBIOS model setting.

 

EDIT:

You can attach files in an archive.

 

EDIT2:

Slice is right, Clover supports SSDT generating for Ivy Bridge, too.

Edited by k3nny
Link to comment
Share on other sites

Hi, how did you create your SSDT? Maybe it causes the problem. This script works pretty well.

 

EDIT:

You can attach files in an archive.

Hi k3nny, i read your other asus Thread here, got some ideas from there. Ssdt was generated by the Script from Pike. I will try to attach Logs later.

Im currently using macmin6,2 as Modell, wil try later imac13,2.

 

Bye

Link to comment
Share on other sites

skinmunster: please attach your original ssdt

 

Ok, added in previous post.

 

@All: Seems to be fixed now - after changing systemtype from Macmini6,2 to iMac13.2, custom ssdt is loaded and applied, going to desktop. Now X86-Plugin is also loaded (hook inside custom ssdt). Got now 16,35,37,38,39 as CPU-Pstates, if i remember right same as with iMac-Definition / Chamelon. With MacMini6.2/Chamelon i got some more in the middle, like 23 ..

 

@Slice: I also tried GenerateIvyStates (without custom ssdt), but only getting CPU-States 16 and 35, and no X86-Plugin loaded.

 

Wondering why MacMini doesn't work here?

 

Ok, finished for this evening, thank you all for fast help! Will come back tomorrow.

 

Bye

Link to comment
Share on other sites

@Slice: I also tried GenerateIvyStates (without custom ssdt), but only getting CPU-States 16 and 35, and no X86-Plugin loaded.

 

Wondering why MacMini doesn't work here?

 

Any prove? Reports? Digits?

You just made multiple mistakes.

Link to comment
Share on other sites

×
×
  • Create New...