Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

a pkg cannot install directly to the ESP, is not allowed, plus if the fv disk is a logical volume and have no ESP (is on the physical disk) ... he cannot be found. ... and Clover package only have the target volume to be used..  

Link to comment
Share on other sites

This change needs to be made in line 8 of the MountESP installer script but I don't know how to submit a diff to the repo on Sourceforge:

-sed -n 's/.*Part [oO]f Whole: *//p')
+sed -n 's/.*PV UUID (disk): .*(//p' | \
+sed -n 's/s[0-9])//p')
+
+if [[ "$ESPDevice" == "" ]]; then
+ESPDevice=$(LC_ALL=C diskutil info / 2>/dev/null | \
+sed -n 's/.*Part [Oo]f Whole: *//p')
+fi
  • Like 1
Link to comment
Share on other sites

 

This change needs to be made in line 8 of the MountESP installer script but I don't know how to submit a diff to the repo on Sourceforge:

-sed -n 's/.*Part [oO]f Whole: *//p')
+sed -n 's/.*PV UUID (disk): .*(//p' | \
+sed -n 's/s[0-9])//p')
+
+if [[ "$ESPDevice" == "" ]]; then
+ESPDevice=$(LC_ALL=C diskutil info / 2>/dev/null | \
+sed -n 's/.*Part [Oo]f Whole: *//p')
+fi

I will commit tomorrow.

And I want too see some confirmations.

Link to comment
Share on other sites

Does anybody else have issues with sleep on the latest Clover?

 

Before used to sleep perfectly, now just hard reset

 

Not default sleep (mode 0), just on hibernate (mode 25) and also just if a custom path for hibernatefile is used on 10.12.

As i said on post #11559 i think it is because it take the prefs for hibernatefile from the wrong plist on 10.12.

  • Like 1
Link to comment
Share on other sites

 

This change needs to be made in line 8 of the MountESP installer script but I don't know how to submit a diff to the repo on Sourceforge:

-sed -n 's/.*Part [oO]f Whole: *//p')
+sed -n 's/.*PV UUID (disk): .*(//p' | \
+sed -n 's/s[0-9])//p')
+
+if [[ "$ESPDevice" == "" ]]; then
+ESPDevice=$(LC_ALL=C diskutil info / 2>/dev/null | \
+sed -n 's/.*Part [Oo]f Whole: *//p')
+fi

 

ESPDevice=$(LC_ALL=C diskutil info / 2>/dev/null |

 

I hope you will change the red part with "$DEST_VOL", otherwise Clover will be installed always on the ESP that belong to the start-up volume, no matter what volume you selected initially.

Anyway good trick

  • Like 2
Link to comment
Share on other sites

Hi, may be this what you are looking for?

Tried that, have no clue how to use it. This is what the EDID file looks like when opened. It would seem that those timings are already there in EDID as it is. Directions don’t help much either.

 

I've attached the EDID as pulled which shows some "detailed timings" as 1920x1080. Doesn't this mean that he EDID already has that timing in it?

post-488070-0-27533000-1477858603_thumb.jpg

EDID.txt

Link to comment
Share on other sites

@ pkdesign

If the EDID is correct it could be that your graphicscard doesn´t has the correct VESA Mode in vbios.

The easiest way to solve it would be to use on the fly patching via clover. 

First you can try to use the automatic mode, the keys name is PatchVBios.

Link to comment
Share on other sites

ESPDevice=$(LC_ALL=C diskutil info / 2>/dev/null |

 

I hope you will change the red part with "$DEST_VOL", otherwise Clover will be installed always on the ESP that belong to the start-up volume, no matter what volume you selected initially.

Anyway good trick

Committed into 3886. Hope all is OK.

Link to comment
Share on other sites

Rev 3356

Introduce calculation for ARTFrequency used in ElCapitan and present on Skylake computers.

 

 

 

Could you elaborate more on this? I have a Skylake with 17,1 smbios...

 

same here: 

 

Rev 3365-3368

Introduce new SMBIOS table type 133 to inject "platform-feature" property into registry. Used by ElCapitan.

    <key>SMBIOS</key>

    <dict>

        <key>PlatformFeature</key>

        <integer>3</integer>

This is integer value that should be same as in real Macs.

 

 

what should I insert as value and what's the meaning? :) 

 

thanks in advance

Link to comment
Share on other sites

my step

attachicon.gifscreenshot0.png

spacebar

 

attachicon.gifscreenshot1.png

return without any options

 

attachicon.gifscreenshot0.png

first gui

 

press - f2, get preboot.log

 

still no lucky. not work.

 

thanks in advance

Probably corrected in 3887. Test, please!

Could you elaborate more on this? I have a Skylake with 17,1 smbios...

 

same here: 

 

 

what should I insert as value and what's the meaning? :)

 

thanks in advance

ARTFrequency is an Intel feature used in Apple's XNU sources since ElCapitan.

	case CPUFAMILY_INTEL_SKYLAKE: {
		/*
                * SkyLake and later has an Always Running Timer (ART) providing
		 * the reference frequency. CPUID leaf 0x15 determines the
		 * rationship between this and the TSC frequency expressed as
		 *   -	multiplier (numerator, N), and 
		 *   -	divisor (denominator, M).
		 * So that TSC = ART * N / M.
		 */
		cpuid_tsc_leaf_t *tsc_leafp = &cpuid_info()->cpuid_tsc_leaf;
		uint64_t	 N = (uint64_t) tsc_leafp->numerator;
		uint64_t	 M = (uint64_t) tsc_leafp->denominator;
		uint64_t	 refFreq;

		refFreq = EFI_get_frequency("ARTFrequency");
		if (refFreq == 0)
			refFreq = BASE_ART_CLOCK_SOURCE;

		assert(N != 0);
		assert(M != 1);
		tscFreq = refFreq * N / M;
		busFreq = tscFreq;		/* bus is APIC frequency */

		kprintf(" ART: Frequency = %6d.%06dMHz, N/M = %lld/%llu\n",
			(uint32_t)(refFreq / Mega),
			(uint32_t)(refFreq % Mega), 
			N, M);

		break;

The "Platform-feature" is an Apple's addition to SMBIOS as table 133 that is not documented.

We can set a value found in real Mac dumps.

  • Like 1
Link to comment
Share on other sites

@ pkdesign

If the EDID is correct it could be that your graphicscard doesn´t has the correct VESA Mode in vbios.

The easiest way to solve it would be to use on the fly patching via clover. 

First you can try to use the automatic mode, the keys name is PatchVBios.

Thanks but I have tried those things.

 

You are right, the VBIOS does not have the correct VESA, but I have tried PatchVBios alone and with the EDID injected and still have no native resolution.

 

Attached is prebootlog with PatchVBios and Custom EDID in config.

preboot_log.txt

Link to comment
Share on other sites

@Slice

 

i builded clover r3888.

 

normal boot -> black screen

return without touch any options,  normal boot -> black screen.

 

as result, i cant boot any osx in r3888

 

thanks

 

hello Slice

 

something are broken from 3885

 

after that can't boot anymore

 

reach clover gui > enter and black screen .. i always boot -v .. nothing

 

boot ok from 3884

 

thanks

What about preboot.log/debug.log?

Link to comment
Share on other sites

Hi guys,

 

 

First of all, I want to congratulate everyone who brought the FileVault feature closer to reality. Great job!

 

Now, maybe I missed this part, but is FileVault supposed to work with Clover 3882? Cause I'm having some issues entering the password after restart, although the keyboard is recognized in Clover UI and in another installation of Sierra (not encrypted though). And both my keyboard and my mouse are working fine in BIOS. Also, the mouse works ok on that screen, and both my keyboard and mouse are wireless and connected to the same wifi base. So, I would say that, in theory, if one works, the other one should too. :)) Still, I can't enter that HDD cause I can't enter the password to decrypt it.

 

I also tried unplugging and replugging my wifi base. But same issue. Only mouse works. The keyboard doesn't.

 

Any idea how to fix this?

Link to comment
Share on other sites

I will commit tomorrow.

And I want too see some confirmations.

The pity is that diskutil output in Sierra and EC are different.

 

The modded script attached can handle logical volumes. Tester needed.

 

PS for all ( goes in ~/src/edk2/Clover/CloverPackage/package/Scripts.templates/EFIFolder/ )

 

EDIT 

updated script here:             #11656            

Link to comment
Share on other sites

@Slice

 

i builded clover r3888.

 

normal boot -> black screen

return without touch any options,  normal boot -> black screen.

 

as result, i cant boot any osx in r3888

 

thanks

 

 

hello Slice

 

something are broken from 3885

 

after that can't boot anymore

 

reach clover gui > enter and black screen .. i always boot -v .. nothing

 

boot ok from 3884

 

thanks

 

 

same here too :(

 

 

Pls try this prebuilt binaries...

I made a mirated revert for some migrated function from commit 3885...

 

->3890_NO_HDA_MIGRATE.zip

 

ErmaC

Link to comment
Share on other sites

×
×
  • Create New...