Jump to content

Slice
 Share

69 posts in this topic

Recommended Posts

Glad to be of service. Wish I was a coder and could help out.  I did figure out how to get a "better" resolution in the loader. After looking at my debug.log I saw the following

0:313  0:001  Check for VBE
0:546  0:233    0 640x480 attr=3BF - ok, 640x480, working, highest, pref=0
0:561  0:014    1 800x600 attr=3BF - ok, 800x600, working, highest, pref=1
0:573  0:011    2 1024x768 attr=3BF - ok, 1024x768, working, highest, pref=2
0:585  0:011    3 1280x1024 attr=3BF - ok
0:601  0:016    4 1280x800 attr=3BF - ok

 

I had it set to 1920x1080 in the config.plist but it's not supported so it was defaulting to 800x600. I set it to 1280x800 in config.plist and voila! Its at least a much better resolution... Unfortunately it is still not full screen as I still have black borders around the whole loader.

EDIT* Oh, I've forgotten to mention, the mouse does not work in the loader. I have read that this is a pretty common issue though. It will move around if I click wildly though.. so it's at least seeing some kinda input.

Link to comment
Share on other sites

On my K15 amd athlon x2 5000+ wrong FSB and bus ratio identification 

if i set manually fsb to 220 mhz , my cpu speed setting to 880 instead of 2860, also if i use standard clover fsb identification it sets 750 mhz and in os x all animation like a rocket

and number of cores is wrong, always shows 1 core instead 2

Link to comment
Share on other sites

On my K15 amd athlon x2 5000+ wrong FSB and bus ratio identification 

if i set manually fsb to 220 mhz , my cpu speed setting to 880 instead of 2860, also if i use standard clover fsb identification it sets 750 mhz and in os x all animation like a rocket

and number of cores is wrong, always shows 1 core instead 2

If you give AIDA64 report from windows about the CPU I can look what is wrong.

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

This is Clover revision corrected for AMD CPU. Test please. 

This is update only. Other files you can obtain from official installer or other packages.

Clover should be installed on FAT32 partition or USB stick.

 

If you can enter GUI then press F2 and you get /EFI/CLOVER/misc/preboot.log.

Zip and upload here.

If you can boot (custom AMD kernel needed anyway) then make DarwinDumper report (without BIOS) and upload here.

Thank you in advance for the testing.

Clover-2633.zip

Link to comment
Share on other sites

Hi .. again, Slice..

here is mine.., https://www.dropbox.com/s/u3y43mmc1xx924h/preboot.zip

change CloverX64.efi & Cloveria32.efi .. report with 2 preboot file:  1) original "boot" clover 2618 ...  2) with "boot" from folder 32bit (take time to boot and reach my desktop).  Can't boot with "boot" from folder 64bit

Your link is not working. Can you attach the file to your post?!

Link to comment
Share on other sites

Hi Slice, now I have installed on one of my HDD Mavericks 10.9 and Clover. As a test kernel I taken the last kernel by KIO.


I've used in this test your last Clover data that you have uploaded.

 

Now the system stuck in kernel panic, see the image

20140302_182123_resized.jpg

Link to comment
Share on other sites

Hi Slice, now I have installed on one of my HDD Mavericks 10.9 and Clover. As a test kernel I taken the last kernel by KIO.

I've used in this test your last Clover data that you have uploaded.

 

Now the system stuck in kernel panic, see the image

This panic corresponds to bad patched DSDT.

Link to comment
Share on other sites

What should I do in your opinion?

You write I should boot without DSDT.aml. But the DSDT.aml is modified to fit on my system, so far my system ran perfectly with it. Or perhaps I have you misunderstood?

Link to comment
Share on other sites

What should I do in your opinion? <br />You write I should boot without DSDT.aml. But the DSDT.aml is modified to fit on my system, so far my system ran perfectly with it. Or perhaps I have you misunderstood?

if u have your own dsdt.aml then disable dsdt fixes in config.plist

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...

Hi Slice, I have a big problem with Clover_v2k_r2830 and do not know how to fix the problem, I am very grateful for every tip, see attached image

 

Edit:

However, the problem also appears on with an older version of Clover

20140825_130747.jpg

Edited by spakk
Link to comment
Share on other sites

  • 1 month later...

I want to ask AMD users to help in Clover development. I have no such cpu and can't test anything. 

All for your testing and propositions.

For now AMD dependent part looks like the follow

  else if(gCPUStructure.Vendor == CPU_VENDOR_AMD ) {
      gCPUStructure.TSCFrequency = MultU64x32(gCPUStructure.CurrentSpeed, Mega); //MHz -> Hz
      gCPUStructure.CPUFrequency = gCPUStructure.TSCFrequency;
		if(gCPUStructure.Extfamily == 0x00 /* K8 */) {
			msr = AsmReadMsr64(K8_FIDVID_STATUS);
      gCPUStructure.MaxRatio = (UINT32)(RShiftU64((RShiftU64(msr, 16) & 0x3f), 2) + 4);
      gCPUStructure.MinRatio = (UINT32)(RShiftU64((RShiftU64(msr, 8) & 0x3f), 2) + 4);
		}
		else if(gCPUStructure.Extfamily >= 0x01 /* K10+ */) {
			msr = AsmReadMsr64(K10_COFVID_STATUS);
			if(gCPUStructure.Extfamily == 0x01 /* K10 */) {
				gCPUStructure.MaxRatio = (UINT32)DivU64x32(((msr & 0x3f) + 0x10), (1 << ((RShiftU64(msr, 6) & 0x7))));
      }
			else {/* K11+ */
				gCPUStructure.MaxRatio = (UINT32)DivU64x32(((msr & 0x3f) + 0x08), (1 << ((RShiftU64(msr, 6) & 0x7))));
      }
         // Get min ratio
      msr = AsmReadMsr64(K10_COFVID_LIMIT);
      msr = AsmReadMsr64(K10_PSTATE_STATUS + ((RShiftU64(msr, 4) & 0x07)));
      if(gCPUStructure.Extfamily == 0x01) { /* K10 */
				gCPUStructure.MinRatio = 5 * (UINT32)DivU64x32(((msr & 0x3f) + 0x10), (1 << ((RShiftU64(msr, 6) & 0x7))));
      } else  {/* K11+ */
				gCPUStructure.MinRatio = 5 * (UINT32)DivU64x32(((msr & 0x3f) + 0x08), (1 << ((RShiftU64(msr, 6) & 0x7))));
      }                                             
		}
    gCPUStructure.MaxRatio >>= 1;
    if (!gCPUStructure.MaxRatio) {
      gCPUStructure.MaxRatio = 1; //??? to avoid zero division
    }
      gCPUStructure.FSBFrequency = DivU64x32(gCPUStructure.TSCFrequency, gCPUStructure.MaxRatio);
      gCPUStructure.MaxRatio *= 10;
	}

Something wrong for your case?

 

Set Debug and try to boot. If no success then attach debug.log here to analyze.

config.plist

	<key>Boot</key>
	<dict>
		<key>Log</key>
		<true/>
	</dict>
	<key>CPU</key>
	<dict>
		<key>Type</key>
		<string>0x0301</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>PatchVBios</key>
		<false/>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>ProductName</key>
		<string>MacPro3,1</string>
		<key>SerialNumber</key>
		<string>W88A77AA5J4</string>
	</dict>

I proposed you already have AMD_mach_kernel and your patched DSDT.aml that you placed into /EFI/CLOVER/ACPI/patched/

 

Would try but I'm no programmer sorry would help if i could.

Link to comment
Share on other sites

  • 1 month later...

:)

 

hello all ,

 

Clover mode uefi for brother card AMD bios uefi 

 

695820301.png

 

370874602.png

 

694952283.png

 

865264574.png

 

569144745.png

 

527797266.png

 

678295Capturedcran20141105035744.png

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP_0001</key>
				<true/>
				<key>AddMCHC_0008</key>
				<false/>
				<key>FakeLPC_0020</key>
				<false/>
				<key>FixAirport_4000</key>
				<true/>
				<key>FixDarwin_0002</key>
				<false/>
				<key>FixDisplay_0100</key>
				<true/>
				<key>FixFirewire_0800</key>
				<true/>
				<key>FixHDA_8000</key>
				<true/>
				<key>FixHPET_0010</key>
				<true/>
				<key>FixIDE_0200</key>
				<false/>
				<key>FixIPIC_0040</key>
				<true/>
				<key>FixLAN_2000</key>
				<true/>
				<key>FixSATA_0400</key>
				<false/>
				<key>FixSBUS_0080</key>
				<false/>
				<key>FixShutdown_0004</key>
				<true/>
				<key>FixUSB_1000</key>
				<false/>
				<key>NewWay_80000000</key>
				<true/>
				<key>FIX_RTC_20000</key>
				<true/>
				<key>FIX_TMR_40000</key>
				<true/>
				<key>AddIMEI_80000</key>
				<true/>
				<key>FIX_INTELGFX_100000</key>
				<false/>
				<key>FIX_WAK_200000</key>
				<true/>
				<key>DeleteUnused_400000</key>
				<true/>
				<key>FIX_ADP1_800000</key>
				<true/>
				<key>AddPNLF_1000000</key>
				<true/>
				<key>FIX_S3D_2000000</key>
				<true/>
				<key>FIX_ACST_4000000</key>
				<true/>
				<key>AddHDMI_8000000</key>
				<true/>
				<key>FixRegions_10000000</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
		</dict>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>DMAR</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>CpuPm</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>Cpu0Ist</string>
			</dict>
		</array>
		<key>HaltEnabler</key>
		<true/>
		<key>SSDT</key>
		<dict>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<true/>
				<key>PStates</key>
				<true/>
			</dict>
			<key>EnableC7</key>
			<false/>
			<key>EnableC6</key>
			<true/>
			<key>EnableC4</key>
			<false/>
			<key>EnableC2</key>
			<false/>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
                <key>Arguments</key>
		<string>-v npci=0x2000 slide=0 dart=0</string>
		<key>DefaultVolume</key>
		<string>MacHDD</string>
		<key>Fast</key>
		<false/>
		<key>Legacy</key>
		<string>PBR</string>
		<key>Log</key>
		<false/>
		<key>Timeout</key>
		<integer>10</integer>
		<key>XMPDetection</key>
		<string>-1</string>
        </dict>
	<key>CPU</key>
	<dict>
		<key>BusSpeedkHz</key>
		<integer>100000</integer>
		<key>FrequencyMHz</key>
		<integer>2050</integer>
		<key>Type</key>
		<string>0x16</string>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>No</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
		</dict>
		<key>Inject</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>Inject</key>
			<true/>
		</dict>
	</dict>
	<key>DisableDrivers</key>
	<array>
		<string>Nothing</string>
	</array>
	<key>GUI</key>
	<dict>
		<key>Hide</key>
		<array>
			<string>Windows</string>
			<string>BOOTX64.EFI</string>
		</array>
		<key>Language</key>
		<string>en:0</string>
		<key>Mouse</key>
		<dict>
			<key>Enabled</key>
			<true/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<dict>
			<key>Entries</key>
			<true/>
			<key>Legacy</key>
			<true/>
			<key>Tool</key>
			<true/>
		</dict>
		<key>TextOnly</key>
		<false/>
		<key>Theme</key>
		<string>metal</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>ATI</key>
			<false/>
			<key>Intel</key>
			<false/>
			<key>NVidia</key>
			<true/>
		</dict>
		<key>PatchVBios</key>
		<false/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleRTC</key>
		<true/>
		<key>AsusAICPUPM</key>
		<false/>
		<key>Debug</key>
		<true/>
		<key>KernelCpu</key>
		<true/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Find</key>
				<data>RXh0ZXJuYWw=</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>SW50ZXJuYWw=</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>LogEveryBoot</key>
		<string>10</string>
		<key>LogLineCount</key>
		<integer>3000</integer>
		<key>MountEFI</key>
		<true/>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>Detect</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>

  • Like 4
Link to comment
Share on other sites

  • 1 month later...

Hi, i can't get Clover UEFI working but i got Clover Legacy working.

Now i'm wondering how can i point the mach_kernel (with amd support) using Clover.

I read about kernel=mach_kernel but i can't find how to insert custom flags. Do i necessarily have to modify the config.plist before? Also, do i need to specify the path of mach_kernel?

Link to comment
Share on other sites

but if not normally Clover is another install on your system, it defined the name mach_kernel4 default, it is simple to rename the kernel in mach_kernel4, it is 10.6 / 7/8/9, Yosemite the problem does not arise it will find the kernel in S / L / Ks.

I have not tried to copy the kernel in Clover / kext 10.10 Yosemite, normally it should work.

Link to comment
Share on other sites

Success! :D

 

After countless hours of installing, trying and failing...

 

For those poor souls like myself who are trying to install Clover on similar harware:

 

For installation on USB/HDD you have to choose (especially if previous attempts ended with b1f: init6 and black screen):

Install Clover in the ESP

Install boot0ss in MBR (most tutorials recommend boot0af, didn't work for me)

CloverEFI 64-bits BiosBlockIO (most tutorials recommend CloverEFI 64-bits SATA, didn't work for me)

From drivers64 I needed only USBMouseDxe-64, may be different for you

RC scripts on target volume

Clover Preference Pane

 

Before restart put your kexts (NullCPUPowerManagement.kext, FakeSMC.kext and your network/audio kexts) in EFI/EFI/CLOVER/kexts/10.10, run Clover Configurator and try to set everything as close as possible to your system specs.

 

With C states and P states enabled I couldn't boot, so I disabled them.

I also had to disable FixDisplay (ACPI), USB Inject and FixOwnership (Devices).

You have to choose Inject Kexts (set it to Yes).

Don't use shutdown fix, it actually prevents shutdown on my system. :)

 

-----------------------------------

 

EDIT: It is important (before you install Clover on hard drive) that EFI partition is formatted as FAT32, for some reason Clover does not do it automatically on my system. This is the command: 

sudo newfs_msdos -v EFI -F 32 /dev/diskXsX

where diskXsX is your previously mounted EFI partition (check with diskutil list). 

Edited by Morpheus NS
  • Like 4
Link to comment
Share on other sites

 Share

×
×
  • Create New...