Jump to content

RevoBoot


buoo
 Share

290 posts in this topic

Recommended Posts

Brilliant, it worked, however still only getting 6 pstates :)

 

Also boot time was faster but not 100% and the Apple logo at login is now in off centre to the right of the middle :S

 

Jul 23 21:31:20 server kernel[0]: MSRDumper CoreMulti(16) 
Jul 23 21:31:20 server kernel[0]: MSRDumper PStatesReached: 16 23 39 40 41 42

 

Same problem whit the logo, i have 1920 1080 in the settings.... but i'm not worried about this .. is something cosmetic and easy fixable ( i think ;) )

 

My only problem now.. is the pstates also... ( pdt.. what CPU have you ? )

Link to comment
Share on other sites

Yeah it must be just something cosmetic (I hope)

 

Same as you but it won't boot if i over clock beyond 42. + BIOS says I don't get any higher then 3.5 GHz speed. Even thought target is at 4.2

 

Not quite sure what is going on.

 

I will try to extract the full acpi tables from SL, because in Lion the AppleIntelCpuManager ( patched by SpeedStepper )is restricted to the same situation.. ( 1.6 in standby and jump directly to the turbo states )

 

Also check if you have this file patched ( AppleIntelCpuManager) and if you have a Nullcpumanager in /S/L/E

Link to comment
Share on other sites

I will try to extract the full acpi tables from SL, because in Lion the AppleIntelCpuManager ( patched by SpeedStepper )is restricted to the same situation.. ( 1.6 in standby and jump directly to the turbo states )

 

Also check if you have this file patched ( AppleIntelCpuManager) and if you have a Nullcpumanager in /S/L/E

The used P-States are determined by the stepper-program in iMac12_2.plist in SMC_PlatformPlugin, see the SpeedStepper thread.

Link to comment
Share on other sites

I'm having problems with Lion, the system reboot after few seconds. I can't boot with Revo.

Is there something like me?

 

I'm using the same settings like the first tests with Snow:

 

• DSDT.aml + SSDT_PR.aml into Extra/ACPI

 

• Settings.h like this

 

/*
* Copyright © 2009 Master Chief. All rights reserved.
*
* Note: This is an essential part of the build process for RevoBoot v1.0.20 and greater.
*
*
* Latest cleanups and additional directives added by DHP in 2011.
* Static CPU data simplified by DHP in Juni 2011 (thanks to MC and flAked for the idea).
* Automatic creation / injection of SSDT_PR.aml added by DHP in June 2011.
* New compiler directive (BOOT_TURBO_BOOST_RATIO) added by Jeroen (June 2011).
*/


//--------------------------------------------------------------- ACPI.C -------------------------------------------------------------------


#define ACPI_10_SUPPORT						0	// Set to 0 by Default. Set to 1 for ACPI 1.0 compliant BIOS versions.
											//
											// Note: Must go first (before acpi/essentials) since it is used there,
											//       and requires you to set PATCH_ACPI_TABLE_DATA to 1.


#define PATCH_ACPI_TABLE_DATA				1	// Set to 1 by default (enabling patching). Use 0 to keep the original 
											// unmodified ACPI tables, but please note (very well) that this is 
											// only supported by very few motherboards / BIOS'es. You may also 
											// need a kext like OSXRestart.kext to be able to restart your system, 
											// this due to a possibly broken FACP table in your BIOS!
											//
											// Note: Requires one of the following STATIC_* and/or LOAD_* settings:


#define USE_STATIC_ACPI_BASE_ADDRESS		0	// Set to 0 by default. Use 1 only after gathering the base address!
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#if USE_STATIC_ACPI_BASE_ADDRESS
#define	STATIC_ACPI_BASE_ADDRESS		0x000f0420	// Set DEBUG_ACPI to 1 to get this address.
#endif


#define STATIC_APIC_TABLE_INJECTION			0	// Set to 0 by default. Use 1 when you want to inject a modified copy 
											// with say stripped out unused CPU's or other required modifications.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_APIC2_TABLE_INJECTION		0	// Set to 0 by default. Use 1 when you want to inject a second APIC 
											// (ACPI-1) table data for additional CPU core support.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_DSDT_TABLE_INJECTION			0	// Set to 0 by default. Use 1 when you want to inject static DSDT data.


#define STATIC_ECDT_TABLE_INJECTION			0	// Set to 0 by default. Use 1 when want to inject a custom ECDT table.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_FACS_TABLE_INJECTION			0	// Set to 0 by default. Use 1 when want to inject a custom FACS table.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_HPET_TABLE_INJECTION			0	// Set to 0 by default. Use 1 when you want to inject a static copy 
											// of a custom HPET table.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_SSDT_TABLE_INJECTION			0	// Set to 0 by default. Use 1 when you want to inject modifications
											// that can / should be done from this ACPI table.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_SSDT_GPU_TABLE_INJECTION		0	// Set to 0 by default. Use 1 when you want to inject modifications
											// for your graphics card (like I do for my ATI PCI-E card).
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_SSDT_PR_TABLE_INJECTION		0	// Set to 0 by default. Use 1 when you want to inject your Intel 
											// SpeedStep related modifications (like I do).
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_SSDT_SATA_TABLE_INJECTION	0	// Set to 0 by default. Use 1 when want to inject SATA related modifications.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define STATIC_SSDT_USB_TABLE_INJECTION		0	// Set to 0 by default. Use 1 when want to inject USB related modifications.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define LOAD_DSDT_TABLE_FROM_EXTRA_ACPI		1	// Set to 1 by default. Use 0 only when your configuration can do 
											// without patching the ACPI tables i.e. when you don't need to 
											// inject your modified DSDT table from /Extra/ACPI/
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define LOAD_SSDT_TABLE_FROM_EXTRA_ACPI		1	// Set to 0 by default. Use 1 when you know how to override / patch 
											// your SSDT table, by injection the modifications from /Extra/ACPI/
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define LOAD_EXTRA_ACPI_TABLES				(LOAD_DSDT_TABLE_FROM_EXTRA_ACPI || LOAD_SSDT_TABLE_FROM_EXTRA_ACPI)


#define AUTOMATIC_SSDT_PR_CREATION			0	// Set to 0 by default (support for Sandy Bridge only).
											//
											// Use 1 to inject a custom SSDT with auto-generated P-States.
											// Use 3 to also inject the processor declaration blocks.
											// Use 7 to also inject device SBUS (required for Power Management).

#if AUTOMATIC_SSDT_PR_CREATION
#define MAX_NUMBER_OF_P_STATES			19	// Default of 15 normal plus 4 Turbo P-States (for desktop setups).
											// MSRDumper(@16): 16, 25, 28, 31, 34, 35, 36, 37 and 38 multi (YMMV).
											// Low power (mobility) processors might need an extended range!

#define DROP_FACTORY_SSDT_TABLES		1	// Set to 1 by default (this setting is required).
											//
											// Note: Do not change this setting (must drop SSDT tables).

#define NUMBER_OF_TURBO_STATES			4	// Set to 4 by default.

#else
#define DROP_FACTORY_SSDT_TABLES		1	// Set to 0 by default. Use 1 with caution (might disable SpeedStep).
#endif


#define OVERRIDE_ACPI_METHODS				0	// Set to 0 by default (do nothing).
											// Use 1 to override Method _PTS in a static SSDT or Extra/ACPI/SSDT.aml
											// Use 2 to override Method _WAK in a static SSDT or Extra/ACPI/SSDT.aml
											// Use 3 to override both _PTS and _WAK.


#define REPLACE_EXISTING_SSDT_TABLES		0	// Set to 0 by default. Use 1 with caution (might disable SpeedStep).
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define	APPLE_STYLE_ACPI					0	// Set to 0 by default. Use 1 to change the OEMID's to Mac likes.
											//
											// Note: Don't forget to set PATCH_ACPI_TABLE_DATA to 1.


#define DEBUG_ACPI							0	// Set to 0 by default. Use 1 when things don't seem to work for you.


//--------------------------------------------------------------- BOOT.C -------------------------------------------------------------------


#define PRE_LINKED_KERNEL_SUPPORT			1	// Set to 1 by default. Change this to 0 to disable the use of pre-linked kernels.

#define MUST_ENABLE_A20						0	// Set to 0 by default. Change this to 1 when your hardware requires it.

#define SAFE_MALLOC							0	// Set to 0 by default. Change this to 1 when booting halts with a memory allocation error.

#define DEBUG_BOOT							0	// Set to 0 by default. Change this to 1 when things don't seem to work for you.


//---------------------------------------------------------------- CPU.C -------------------------------------------------------------------


#define USE_STATIC_CPU_DATA					0	// Set to 0 by default (dynamic data collection). Change this to 1 to use static data.

#define CPU_VENDOR_ID						CPU_VENDOR_INTEL // CPU_VENDOR_AMD is not supported.

#define OC_BUSRATIO_CORRECTION				0	// Set to 0 by default. Change this to busratio-100 (OC'ed systems with a changed busratio).

#define BOOT_TURBO_RATIO					0	// Set to 0 by default. Change this to the desired (and supported) turbo multiplier.
											//
											// Example:  0x2800 for 4.0 GHz on a i7-2600.

#define DEBUG_CPU							0	// Set to 0 by default. Change this to 1 when things don't seem to work for you.
                                               // Note: CPU info data will not be displayed when USE_STATIC_CPU_DATA is set to 1

#if DEBUG_CPU
#define DEBUG_CPU_TURBO_RATIOS			0	// Set to 0 by default. Change this to 1 when you want to check the core ratio.

#define DEBUG_CST_SUPPORT				0	// Set to 0 by default. Change this to 1 to check the in BIOS enabled C-States.

#define DEBUG_TSS_SUPPORT				0	// Set to 0 by default. Change this to 1 to check the T-State Clock Modulation.

#define DEBUG_CPU_TDP					0	// Set to 0 by default. Change this to 1 when you want to check the TDP.
#endif

//---------------------------------------------------------- CPU/STATIC_DATA.C -------------------------------------------------------------


#define STATIC_CPU_Type						0x703			// kSMBTypeOemProcessorType - used in: libsaio/SMBIOS/dynamic_data.h

#define STATIC_CPU_NumCores					4				// Used in: i386/libsaio/ACPI/ssdt_pr_generator.h
														//
														// Note: Also used in cpu.c and platform.c for both static / dynamic CPU data.

#define STATIC_CPU_NumThreads				8				// Used in: i386/libsaio/ACPI/ssdt_pr_generator.h

#define STATIC_CPU_FSBFrequency				100000000ULL	// 9 digits + ULL - used in: i386/libsaio/efi.c

#define STATIC_CPU_QPISpeed					0				// kSMBTypeOemProcessorBusSpeed (0 for Sandy Bridge / Jaketown).


//--------------------------------------------------------------- DISK.C -------------------------------------------------------------------


#define EFI_SYSTEM_PARTITION_SUPPORT		0	// Set to 0 by default. Set this to 1 when your system boots from the hidden EFI partition.

#define LEGACY_BIOS_READ_SUPPORT			0	// Set to 0 by default. Change this to 1 for crappy old BIOSes.

#define DEBUG_DISK							0	// Set to 0 by default. Change it to 1 when things don't seem to work for you.


//------------------------------------------------------------- DRIVERS.C -------------------------------------------------------------------


#define DEBUG_DRIVERS						0	// Set to 0 by default. Change it to 1 when things don't seem to work for you.


//---------------------------------------------------------------- EFI.C -------------------------------------------------------------------


#define APPLE_STYLE_EFI						1	// Set to 1 by default. Change this to 1 to add additional 'Mac-like' properties.

#define INJECT_EFI_DEVICE_PROPERTIES		0	// Set to 0 by default. Change this to 1 when you need to inject 'device-properties'.

#define EFI_64_BIT							1	// Set to 1 by default for EFI64 on 64-bit platforms. Supporting both 
											// 32 and 64-bit boot modes (using arch=i386/x86_64 under Kernel Flags).
											// 
											// Change this to 0 for 32-bit only platforms (think Intel Atom CPU) 
											// or when you want to boot with EFI32 (for testing) on a 64-bit 
											// platform, but then you must make a small change in platform.c (see comment in file).
											//
											// Note: Do not change this setting, unless you know what you are doing.

#define STATIC_MODEL_NAME					{ 'i', 'M', 'a', 'c', '1', '2', ',', '2' }

#define STATIC_SMSERIALNUMBER				"SOMESRLNUMBR"

#define STATIC_SYSTEM_SERIAL_NUMBER			{ 'S', 'O', 'M', 'E', 'S', 'R', 'L', 'N', 'U', 'M', 'B', 'R' }

#define STATIC_SYSTEM_ID					{ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }

#define DEBUG_EFI							0	// Set to 0 by default. Change this to 1 when things don't seem to work for you.

#define EFI_DEBUG_MODE						0	// Set to 0 by default (for OS X 10.7 LION only).


//------------------------------------------------------------- GRAPHICS.C -----------------------------------------------------------------


#define STATIC_SCREEN_WIDTH					1600

#define STATIC_SCREEN_HEIGHT				1200


//-------------------------------------------------------------- SMBIOS.C ------------------------------------------------------------------


#define USE_STATIC_SMBIOS_DATA				0	// Set to 0 by default (dynamic data collection). Change this to 1 to use static data.


#define OVERRIDE_DYNAMIC_MEMORY_DETECTION	1	// Set to 0 by default. Change this to 0 only when your SMBIOS data (type 17) is fine!
											// Note: Defaults to n MB 1066 DDR3 when set to 0 (preventing errors in Profile Manager).


#define OVERRIDE_DYNAMIC_PRODUCT_DETECTION	1	// Set to 0 by default. Change this to 1 when you want to use a predefined product type.
											// Note: Defaults to STATIC_MAC_PRODUCT_NAME when set to 0.

#if OVERRIDE_DYNAMIC_PRODUCT_DETECTION
#define STATIC_SMBIOS_MODEL_ID			IMAC	// Supported models: IMAC, MACBOOK, MACBOOK_AIR, MACBOOK_PRO, MACMINI or MACPRO
#endif

#define DEBUG_SMBIOS						0	// Set to 0 by default. Change this to 1 when things don't seem to work for you.


//-------------------------------------------------------------- PLATFORM.C ----------------------------------------------------------------


#define STATIC_MAC_PRODUCT_NAME				"iMac12,2"	// New default for Sandy Bridge configurations.

#if USE_STATIC_SMBIOS_DATA
// Do nothing.
#elif OVERRIDE_DYNAMIC_MEMORY_DETECTION
// Setup RAM module info. Please note that you may have to expand this when you have more RAM modules.
#define STATIC_RAM_SLOTS				4	// Number of RAM slots on mainboard.

#define STATIC_RAM_VENDORS				{ "G.Skill", "G.Skill", "N/A", "N/A", 0 }	// Use "N/A" for empty RAM banks.

#define DYNAMIC_RAM_OVERRIDE_TYPE		0	// Set to 0 by default. See libsaio/platform.h for supported values.

#define DYNAMIC_RAM_OVERRIDE_SIZE		0	// Set to 0 by default. Change this to 1 when you want to use override values (see below).

#if DYNAMIC_RAM_OVERRIDE_SIZE
#define DYNAMIC_RAM_OVERRIDE_SIZES		{ SMB_MEM_SIZE_2GB, SMB_MEM_BANK_EMPTY, SMB_MEM_SIZE_2GB, SMB_MEM_BANK_EMPTY, 0 } // See libsaio/platform.h for other values.
#endif

#define DYNAMIC_RAM_OVERRIDE_FREQUENCY	0	// Set to 0 by default. Change this to the frequency that you want to use as override value.

#define STATIC_RAM_PART_NUMBERS			{ "F3-12800CL9-4GBXL", "F3-12800CL9-4GBXL", "N/A", "N/A", 0 }	// Use "N/A" for empty RAM banks.

#define STATIC_RAM_SERIAL_NUMBERS		{ "Serial#0", "Serial#1", "N/A", "N/A", 0 }	// Use "N/A" for empty RAM banks.
#endif

#define INCLUDE_MPS_TABLE					0	// Set to 0 by default. Change this to 1 when you want to include the MP table.

#define DEBUG_PLATFORM						0	// Set to 0 by default. Change this to 1 when things don't seem to work for you.


//================================================================= END ====================================================================

Link to comment
Share on other sites

I'm having problems with Lion, the system reboot after few seconds. I can't boot with Revo.

 

Hi,in my case just flashing for a second "done" and "boot"and system reboots.Last couple of days I`ve tried different settings without success.

Link to comment
Share on other sites

Need help.

Compiled with RevoBuilder and installed on both USB and HDD.

It gives me reboot after lines:

boot0: GPT
boot0: test
boot0: test
boot0: done

I suspect your problem to be the Chameleon stage 0 boot code can't find the stage 1 boot code in the partitions boot sector.

Which version of RevoBuilder did you use?

Did you use the make bootable USB option? If so, can you type mount your USB like you had when you ran the option and type diskuitl list in Terminal and post the result please?

Link to comment
Share on other sites

hello,

my dell workstation t5500 have 2 xeon with 8 cores and 16 thread

but i can make it boot with only 14 thread

i try to edit the setting.h with the right value but it complie always with 14 thread.

here is the part of my seetting.h

 

#define STATIC_CPU_Type 0x000

 

#define STATIC_CPU_NumCores 8

 

#define STATIC_CPU_NumThreads 16

 

#define STATIC_CPU_FSBFrequency 000000000ULL

 

#define STATIC_CPU_QPISpeed 0

 

how can i configure revoboot to put the right thing to the kernel.

thanks a lot!

Link to comment
Share on other sites

The right value could be this

 

gPlatform.CPU.Type = 0x0501;	// Intel Quad-Core Xeon (or similar).

 

What model are you emulating? I think you should set a MacPro5,1

Link to comment
Share on other sites

The right value could be this

 

gPlatform.CPU.Type = 0x0501;	// Intel Quad-Core Xeon (or similar).

 

What model are you emulating? I think you should set a MacPro5,1

 

hello, i try to emulate a MacPro3,1

i try the value for the cpu type but LION boot with 14 cores and don't use the vlaue i put in setting.h

 

#define USE_STATIC_CPU_DATA 1

//-------------------------------------------------------------- CPU/STATIC_DATA.C -------------------------------------------------------------

 

#define STATIC_CPU_Type 0x0501

 

#define STATIC_CPU_NumCores 8

 

#define STATIC_CPU_NumThreads 16

 

#define STATIC_CPU_FSBFrequency 000000000ULL

 

#define STATIC_CPU_QPISpeed 0

 

what can i do for compile revoboot with the number of core i put in setting.h

thanks a lot

Link to comment
Share on other sites

hello, i try to emulate a MacPro3,1

i try the value for the cpu type but LION boot with 14 cores and don't use the vlaue i put in setting.h

 

#define USE_STATIC_CPU_DATA 1

//-------------------------------------------------------------- CPU/STATIC_DATA.C -------------------------------------------------------------

 

#define STATIC_CPU_Type 0x0501

 

#define STATIC_CPU_NumCores 8

 

#define STATIC_CPU_NumThreads 16

 

#define STATIC_CPU_FSBFrequency 000000000ULL

 

#define STATIC_CPU_QPISpeed 0

 

what can i do for compile revoboot with the number of core i put in setting.h

thanks a lot

 

Why did you set the CPU's FSB to 0 ?

Link to comment
Share on other sites

Hello,

 

I´m trying to compile revoboot with revobuilder and both Lion and SL compilation option i got this error:

 

 

-MD -dependency-file /Volumes/LionGM/revobuilder/RevoBoot_SourceCode/RevoBoot-1.0.22/obj/i386/libsaio/efi.d

efi.c:51:51: error: empty character constant

make[2]: *** [efi.o] Error 1

make[1]: *** [all] Error 2

make: *** [all] Error 2

 

 

Somebody can help me?

 

Thanks

Link to comment
Share on other sites

@turco_ninja - This has been asked previously. See the reply here.

 

I will attempt to change RevoBuilder to deal with this problem more efficiently but first I'll need your help. To do that, can you please boot up your system using Chameleon, load up Terminal app, type the following command and post the result here please.

ioreg -lw0 | grep IOPlatformSerialNumber

Link to comment
Share on other sites

@turco_ninja - This has been asked previously. See the reply here.

 

I will attempt to change RevoBuilder to deal with this problem more efficiently but first I'll need your help. To do that, can you please boot up your system using Chameleon, load up Terminal app, type the following command and post the result here please.

ioreg -lw0 | grep IOPlatformSerialNumber

 

Thanks for help,

 

I´m noob with revoboot and your revobuilder is a great tool for guys like me. Realy Thanks.

 

Booting with chameleon i get no answer for the command you give me. Reducing the grep to IOPlataform i got this:

 

	| |	   "IOPlatformWakeAction" = 10000
| |	 "IOProviderClass" = "IOPlatformExpert"
|	   "IOProviderClass" = "IOPlatformExpert"
  |   "IOPlatformDeviceASPMEnable" = "ACPI_SMC_PlatformPlugin is not serializable"
  |   "IOPlatformMonitor" = "ACPI_SMC_PlatformPlugin is not serializable"
  |   "IOPlatformPlugin" = "ACPI_SMC_PlatformPlugin is not serializable"
  |   "IOPlatformUUID" = "41700377-58CF-5DCA-97D6-24D0553B3A1C"

 

I cant find a serial number whem i double click my about this mac, show only the build number of osx.

 

I´m looking for a smbios with a serial.

 

Thanks again!

Link to comment
Share on other sites

Okay. I've patched RevoBuilder to hopefully now deal with the situation of the user not having a serial number, in which case it will add the serial number 'PLEASEFIND1'.

 

From here you can either download the latest revobuilder and try that, or you can just edit the settings.h file and manually add a serial number as shown in settings-template.h:

#define STATIC_SMSERIALNUMBER				"SOMESRLNUMBR"
#define STATIC_SYSTEM_SERIAL_NUMBER			{ 'S', 'O', 'M', 'E', 'S', 'R', 'L', 'N', 'U', 'M', 'B', 'R' }

For info, RevoBoot already has a set of predefined SMBIOS values hard coded in the source. For the curious, you can see the predefined SMBIOS data in RevoBoot-1.0.xx/i386/libsaio/smbios/model_data.h.

 

You can instruct RevoBoot to use these values by changing #define USE_STATIC_SMBIOS_DATA to 0 in settings.h. In this case RevoBoot will automatically determine what set of hard coded SMBIOS values to use for your system when compiled. If however, you want to force it to use a specific Mac model then you can change #define OVERRIDE_DYNAMIC_PRODUCT_DETECTION to 1, then RevoBoot will compile using the values that match the model set in #define STATIC_SMBIOS_MODEL_ID in settings.h (for example, IMAC or MACPRO). See the settings-template.h for more info.

 

Thoughts for the future:

I really need to find time to re-think RevoBuilder as it was originally intended to be used as a quick method to include an already complete system setup as static data for RevoBoot. It was never designed to be an all purpose setup tool for a new user who hasn't already got a complete system setup (i.e. SMBIOS). For this instance RevoBuilder needs to be changed to not force using static data and allow the user to use the predefined values.

Link to comment
Share on other sites

Hi,

 

After too much work and thanks to the guys from P8P67-M PRO thread I fixed my DSDT to my motherboard and now I start to try Revoboot again.

 

With Chameleon or Chimera is booting fine, but with Revoboot Im having this KP:

 

612y5.jpg

 

I put FakeSMC in S/L/E and recreate the cache with the command:

 

touch /System/Library/Extensions;kextcache -system-caches;kextcache -system-prelinked-kernel

 

But is not working, looks like FakeSMC don't load in time.

 

Someone have some tip?

Link to comment
Share on other sites

Hi buoo!

 

Where did you put DSDT.aml and DSDT_PR.aml? The right path is /Extra/ACPI

Im using Revoboot, so I put my DSDT and SSDT_PR and SSDT_USB inside /RevStart/Build/ACPI then I use the option 3 to Revoboot recreate the Config files (data.h).

 

In the file setting.h I set the options:

 

STATIC_DSDT_TABLE_INJECTION 1

STATIC_SSDT_PR_TABLE_INJECTION 1

STATIC_SSDT_USB_TABLE_INJECTION 1

Are you sure you didn't make mistakes editing the settings.h?

Yeah, probably I did something wrong.

 

Here the complete setting.h that Im using.

//-------------------------------------------------------------------- ACPI.C -

#define ACPI_10_SUPPORT	1

#define PATCH_ACPI_TABLE_DATA	1

#define USE_STATIC_ACPI_BASE_ADDRESS	0

#if USE_STATIC_ACPI_BASE_ADDRESS
#define	STATIC_ACPI_BASE_ADDRESS		0x00000000
#endif

#define STATIC_APIC_TABLE_INJECTION	1

#define STATIC_APIC2_TABLE_INJECTION	0

#define STATIC_DSDT_TABLE_INJECTION	1

#define STATIC_ECDT_TABLE_INJECTION	0

#define STATIC_FACS_TABLE_INJECTION	0

#define STATIC_HPET_TABLE_INJECTION	1

#define STATIC_SSDT_TABLE_INJECTION	1

#define STATIC_SSDT_GPU_TABLE_INJECTION	0

#define STATIC_SSDT_PR_TABLE_INJECTION	1

#define STATIC_SSDT_SATA_TABLE_INJECTION	0

#define STATIC_SSDT_USB_TABLE_INJECTION	1

#define LOAD_DSDT_TABLE_FROM_EXTRA_ACPI	0

#define LOAD_SSDT_TABLE_FROM_EXTRA_ACPI	0

#define LOAD_EXTRA_ACPI_TABLES	(LOAD_DSDT_TABLE_FROM_EXTRA_ACPI || LOAD_SSDT_TABLE_FROM_EXTRA_ACPI)

#define AUTOMATIC_SSDT_PR_CREATION	0

#if AUTOMATIC_SSDT_PR_CREATION
#define MAX_NUMBER_OF_P_STATES			19	// Default of 15 normal plus 4 Turbo P-States (for desktop setups).
											// MSRDumper(@16): 16, 25, 28, 31, 34, 35, 36, 37 and 38 multi (YMMV).
											// Low power (mobility) processors might need an extended range!

#define DROP_FACTORY_SSDT_TABLES		1	// Set to 1 by default (this setting is required).
											//
											// Note: Do not change this setting (must drop SSDT tables).

#define NUMBER_OF_TURBO_STATES			0	// Set to 4 by default.

#else
#define DROP_FACTORY_SSDT_TABLES		0	// Set to 0 by default. Use 1 with caution (might disable SpeedStep).
#endif

#define OVERRIDE_ACPI_METHODS	0

#define REPLACE_EXISTING_SSDT_TABLES	0

#define APPLE_STYLE_ACPI	0

#define DEBUG_ACPI	0

//-------------------------------------------------------------------- BOOT.C -

#define PRE_LINKED_KERNEL_SUPPORT	0

#define MUST_ENABLE_A20	0

#define SAFE_MALLOC	0

#define DEBUG_BOOT	0

//-------------------------------------------------------------------- CPU.C --

#define USE_STATIC_CPU_DATA	0

#define CPU_VENDOR_ID	CPU_VENDOR_INTEL // CPU_VENDOR_AMD is not supported.

#define OC_BUSRATIO_CORRECTION	0

#define BOOT_TURBO_RATIO	0

#define DEBUG_CPU	0

#if DEBUG_CPU
#define DEBUG_CPU_TURBO_RATIOS			0	// Set to 0 by default. Change this to 1 when you want to check the core ratio.

#define DEBUG_CST_SUPPORT				0	// Set to 0 by default. Change this to 1 to check the in BIOS enabled C-States.

#define DEBUG_TSS_SUPPORT				0	// Set to 0 by default. Change this to 1 to check the T-State Clock Modulation.

#define DEBUG_CPU_TDP					0	// Set to 0 by default. Change this to 1 when you want to check the TDP.
#endif

//-------------------------------------------------------------- CPU/STATIC_DATA.C --

#define STATIC_CPU_Type	0x000

#define STATIC_CPU_NumCores	0

#define STATIC_CPU_NumThreads	0

#define STATIC_CPU_FSBFrequency	000000000ULL

#define STATIC_CPU_QPISpeed	0

//-------------------------------------------------------------------- DISK.C --

#define EFI_SYSTEM_PARTITION_SUPPORT	0

#define LEGACY_BIOS_READ_SUPPORT	0

#define DEBUG_DISK	0

//------------------------------------------------------------------ DRIVERS.C -

#define DEBUG_DRIVERS	0

//-------------------------------------------------------------------- EFI.C -

#define APPLE_STYLE_EFI	0

#define INJECT_EFI_DEVICE_PROPERTIES	1

#define EFI_64_BIT	1

#define STATIC_MODEL_NAME	{ 'i', 'M', 'a', 'c', '1', '2', ',', '2' }

#define STATIC_SMSERIALNUMBER	"C02F93FQQH2G"

#define STATIC_SYSTEM_SERIAL_NUMBER	{ 'C', '0', '2', 'F', '9', '3', 'F', 'Q', 'Q', 'H', '2', 'G' }

#define STATIC_SYSTEM_ID	{ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }

#define DEBUG_EFI	0

#define EFI_DEBUG_MODE	0 // Set to 0 by default (for OS X 10.7 LION only).

//------------------------------------------------------------------ GRAPHICS.C -

#define STATIC_SCREEN_WIDTH	2560

#define STATIC_SCREEN_HEIGHT	1600

//------------------------------------------------------------------- SMBIOS.C --

#define USE_STATIC_SMBIOS_DATA	1

#define OVERRIDE_DYNAMIC_MEMORY_DETECTION	0

#define OVERRIDE_DYNAMIC_PRODUCT_DETECTION	0

#if OVERRIDE_DYNAMIC_PRODUCT_DETECTION
#define STATIC_SMBIOS_MODEL_ID			IMAC
#endif 

#define DEBUG_SMBIOS	0

//------------------------------------------------------------------ PLATFORM.C -

#define STATIC_MAC_PRODUCT_NAME	"iMac12,2"

#if USE_STATIC_SMBIOS_DATA
// Do nothing.
#elif OVERRIDE_DYNAMIC_MEMORY_DETECTION
// Setup RAM module info. Please note that you may have to expand this when you have more RAM modules.
#define STATIC_RAM_SLOTS				4	// Number of RAM slots on mainboard.

#define STATIC_RAM_VENDORS				{ Corsair, N/A, Corsair, N/A, 0 }	// Use N/A for empty RAM banks.

#define DYNAMIC_RAM_OVERRIDE_TYPE		0	// Set to 0 by default. See libsaio/platform.h for supported values.

#define DYNAMIC_RAM_OVERRIDE_SIZE		0

#if DYNAMIC_RAM_OVERRIDE_SIZE
#define DYNAMIC_RAM_OVERRIDE_SIZES		{ SMB_MEM_SIZE_2GB, SMB_MEM_BANK_EMPTY, SMB_MEM_SIZE_2GB, SMB_MEM_BANK_EMPTY, 0 }
#endif

#define DYNAMIC_RAM_OVERRIDE_FREQUENCY	0

#define STATIC_RAM_PART_NUMBERS			{ CMX4GX3M2B2000C9, N/A, CMX4GX3M2B2000C9, N/A, 0 }	// Use N/A for empty RAM banks.

#define STATIC_RAM_SERIAL_NUMBERS		{ Serial#0, N/A, Serial#2, N/A, 0 }	// Use N/A for empty RAM banks.
#endif 

#define INCLUDE_MPS_TABLE	0

#define DEBUG_PLATFORM	0

//===================================================================== END =====

 

EDIT: Hi buoo, I think I found, if I enable the option PRE_LINKED_KERNEL_SUPPORT I have KP, I need to disable and recreate the cache.

 

One thing weird that I discovered (maybe you guys already now) that a need the file AppleIntelCPUPowerManagement.kext always patched with speed_stepper to Revoboot works,

with Chameleon I don't need because Im using the ROM already patched that Flaked released.

Link to comment
Share on other sites

 Share

×
×
  • Create New...