Raulllll Posted August 11, 2011 Share Posted August 11, 2011 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 ===== Try with ACPI_10_Support as 0 Link to comment Share on other sites More sharing options...
VultUx Posted August 11, 2011 Share Posted August 11, 2011 Try with ACPI_10_Support as 0 Thanks Raulllll, works with ACPI_10_Support = 0 If I set ACPI_10_Support = 1 and PRE_LINKED_KERNEL_SUPPORT = 1 I have a KP in AppleIntelCPUPowerManagement. Link to comment Share on other sites More sharing options...
flAked Posted August 12, 2011 Share Posted August 12, 2011 Maybe AICPUPM wasn't patched in your prelinked version yet? Link to comment Share on other sites More sharing options...
VultUx Posted August 12, 2011 Share Posted August 12, 2011 Maybe AICPUPM wasn't patched in your prelinked version yet? Hi Flaked, Im using that ROM 0713 already patched that you release, with chameleon is enough, but with Revoboot is not, I still need to use speed_stepper in AppleIntelCPUPowerManagement.kext, looks like Revoboot bypass the BIOS. Is working now, I did other test and the problem happen only with ACPI_10_Support = 1. Thank you guys! Link to comment Share on other sites More sharing options...
flAked Posted August 12, 2011 Share Posted August 12, 2011 If you flashed the modded BIOS then AICPUPM crashes for some other reasons, SpeedStepper is not necessary in that case, as it does the same thing. Bypassing the BIOS is not really possible Glad its working, though. Most likely it was just the ACPI setting. Link to comment Share on other sites More sharing options...
VultUx Posted August 18, 2011 Share Posted August 18, 2011 Hi guys, I saw that DHP reached 20K in geekbench using Revoboot (DHP Overclock Revoboot), I have the same board P8P67-M PRO and I put in the BIOS all cores = 47 but I reached only 16K with geekbench. Someone knows how to overclock with Revoboot? Link to comment Share on other sites More sharing options...
flAked Posted August 18, 2011 Share Posted August 18, 2011 Current RevoBoot has automatic SSDT_PR generation, which let's you define custom Turbo Ratios in BIOS. That's the simplest way to overclock. This technique wasn't explained in a guide yet, I plan to include it in my write up. Besides, I think Geekbench also benefits from fast RAM, so even with the same CPU clock you might get lower scores. Link to comment Share on other sites More sharing options...
VultUx Posted August 18, 2011 Share Posted August 18, 2011 Current RevoBoot has automatic SSDT_PR generation, which let's you define custom Turbo Ratios in BIOS. That's the simplest way to overclock. This technique wasn't explained in a guide yet, I plan to include it in my write up. Besides, I think Geekbench also benefits from fast RAM, so even with the same CPU clock you might get lower scores. Thanks for the info Flaked, I will be waiting your guide, in the meantime I will do more tests. Link to comment Share on other sites More sharing options...
SKATERR Posted August 19, 2011 Share Posted August 19, 2011 Hi! Can anyone help me set up "settings.h" for my system?. Only 2 Pstates and no turbo 15/08/11 18:10:13,000 kernel: MSRDumper CoreMulti(8) 15/08/11 18:10:13,000 kernel: MSRDumper PStatesReached: 8 20 upload settings.h: settings.h.zip I tried revobuilder: 1.- Install Git and xcode 2.- Download source: 3.- Build user config (no edit settings.h) 4.- Toggle target OS lion 5.- Complie (Compilation was successful and show this files: boot, boot.sys, libsa.a, libsaio.a and machOconv but as I install it?? copy boot in root??) Intel i7 2630qm, ASUS laptop K53SJ ASUS_WEB Lion 10.7.2 (11c35) 64 bits (installed follow this tutorial: usb lion Chimera boot + dsdt (patched mald0n) THANKS! Link to comment Share on other sites More sharing options...
buoo Posted August 19, 2011 Author Share Posted August 19, 2011 Hi! Can anyone help me set up "settings.h" for my system?. Only 2 Pstates and no turbo 15/08/11 18:10:13,000 kernel: MSRDumper CoreMulti(8) 15/08/11 18:10:13,000 kernel: MSRDumper PStatesReached: 8 20 upload settings.h: settings.h.zip I tried revobuilder: 1.- Install Git and xcode 2.- Download source: 3.- Build user config (no edit settings.h) 4.- Toggle target OS lion 5.- Complie (Compilation was successful and show this files: boot, boot.sys, libsa.a, libsaio.a and machOconv but as I install it?? copy boot in root??) Intel i7 2630qm, ASUS laptop K53SJ ASUS_WEB Lion 10.7.2 (11c35) 64 bits (installed follow this tutorial: usb lion Chimera boot + dsdt (patched mald0n) THANKS! After compiling you need only "boot" file, put It in the root. A question, don't you need ssdt_pr tables? Do you prefer to use the native speed stepping? Link to comment Share on other sites More sharing options...
SKATERR Posted August 19, 2011 Share Posted August 19, 2011 After compiling you need only "boot" file, put It in the root.A question, don't you need ssdt_pr tables? Do you prefer to use the native speed stepping? Thanks for reply! Use DSDT patched by Mald0n! and SSDT without edit, following this post (LINK) with "get_acpi_tables.py" in Osx Lion (no ubuntu). Everything inside the folder EXTRA (DSDT.aml, SSDT-0.aml, SSDT-1.aml, SSDT-2.aml) Archive.zip DSDT/SSDT Thanls!! Link to comment Share on other sites More sharing options...
buoo Posted August 20, 2011 Author Share Posted August 20, 2011 The ACPI tables must be added in the Extra/ACPI folder. You can't use this syntax: SSDT-n.aml , you could use the automatic P states' generation or use an SSDT_PR.aml Link to comment Share on other sites More sharing options...
SKATERR Posted August 20, 2011 Share Posted August 20, 2011 Ok, I added dsdt.aml in ACPI folder but i don´t now how create a SSDT_PR.aml... When you say "automatic P states' generation", is add: <key>GenerateCStates</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> in "com.apple.Boot.plist" ?? Thanks! Link to comment Share on other sites More sharing options...
buoo Posted August 20, 2011 Author Share Posted August 20, 2011 Ok, I added dsdt.aml in ACPI folder but i don´t now how create a SSDT_PR.aml...When you say "automatic P states' generation", is add: GenerateCStates Yes GeneratePStates Yes in "com.apple.Boot.plist" ?? Thanks! This is only a Chameleon's option, moreover Sandy Bridge is not supported, so It can't be used. As I told you, RevoBoot is able to generate a SSDT_PR to help you. Set It to 1 #define AUTOMATIC_SSDT_PR_CREATION 1 If you wanna try to create a SSDT_pr, you can find an example at the first page right in a post of mine. Looking around in your setting.h I saw that you set Static DSDT & SSDT, but you are talking about DSDT and Extra folder, you are making a little mess. I suggest you to read here https://github.com/RevoGirl/RevoBoot/wiki/W...Use-Static-Data However I think that while the tests It's wrong to use Static tables, only after being sure the system works good you can convert the ACPI tables to little endiand (then STATIC). Link to comment Share on other sites More sharing options...
SKATERR Posted August 20, 2011 Share Posted August 20, 2011 Ok, open revobuilder, edit settings.h (set AUTOMATIC_SSDT_PR_CREATION to 1 and other static options to 0). Compile and overwritten boot file in root (without Extra folder) . But now the system restarts constantly (loop) Thanks for your patience settings.h #define ACPI_10_SUPPORT 0 #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 0 #define STATIC_APIC2_TABLE_INJECTION 0 #define STATIC_DSDT_TABLE_INJECTION 0 #define STATIC_ECDT_TABLE_INJECTION 0 #define STATIC_FACS_TABLE_INJECTION 0 #define STATIC_HPET_TABLE_INJECTION 0 #define STATIC_SSDT_TABLE_INJECTION 0 #define STATIC_SSDT_GPU_TABLE_INJECTION 0 #define STATIC_SSDT_PR_TABLE_INJECTION 0 #define STATIC_SSDT_SATA_TABLE_INJECTION 0 #define STATIC_SSDT_USB_TABLE_INJECTION 0 #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 1 #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 { 'M', 'a', 'c', 'B', 'o', 'o', 'k', 'P', 'r', 'o', '8', ',', '2' } #define STATIC_SMSERIALNUMBER "C02FHXXXDF8V" #define STATIC_SYSTEM_SERIAL_NUMBER { 'C', '0', '2', 'F', 'H', 'X', 'X', 'X', 'D', 'F', '8', 'V' } #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 1366 #define STATIC_SCREEN_HEIGHT 768 //------------------------------------------------------------------- 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 MacBookPro8 #endif #define DEBUG_SMBIOS 0 //------------------------------------------------------------------ PLATFORM.C ---------------------------------------------------------------- #define STATIC_MAC_PRODUCT_NAME "MacBookPro8,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 // 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 { 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 ==================================================================== Link to comment Share on other sites More sharing options...
buoo Posted August 20, 2011 Author Share Posted August 20, 2011 #define NUMBER_OF_TURBO_STATES 4 #define USE_STATIC_SMBIOS_DATA 0 Link to comment Share on other sites More sharing options...
anibalin Posted August 20, 2011 Share Posted August 20, 2011 Guys, im doing the boot usb drive and I get this on the fdisk440 -f boot0... --------------------------------------------------- Next step is to prepare the REVOBOOTUSB flash drive I will be writing to /dev/rdisk/dev/disk3s2. Please confirm this is correct before continuing. Press y to proceed, or any other key to return to main menu y ----------------------------------------------------- File system user/group ownership enabled ----------------------------------------------------- issuing command: ./fdisk440 -f boot0 -u -y /dev/rdisk fdisk440: /dev/rdisk: No such file or directory ----------------------------------------------------- issuing command: dd if=boot1h of=/dev/rdisk3s2 2+0 records in 2+0 records out 1024 bytes transferred in 0.019526 secs (52444 bytes/sec) ----------------------------------------------------- Copy RevoBoot stage 2 boot file ----------------------------------------------------- Creating folder structure ----------------------------------------------------- Copying /Volumes/Macintosh HD/mach_kernel ----------------------------------------------------- RevoBoot was compiled with PRE_LINKED_KERNEL_SUPPORT disabled Copying /Volumes/Macintosh HD/System/Library/Extensions/* Note: This could take a couple of minutes depending on your hardware. What could be wrong? Link to comment Share on other sites More sharing options...
SKATERR Posted August 20, 2011 Share Posted August 20, 2011 I made the changes and added "OVERRIDE DYNAMIC DETECTION PRODUCT SET 1" (0 is an error when compiling). I still have the same problem, did not change anything. Thanks Link to comment Share on other sites More sharing options...
anibalin Posted August 21, 2011 Share Posted August 21, 2011 blackosx has a bug in his code, Open up BuildUSB.sh in the Scripts folder and edit this line: #rawDisk="/dev/disk"$( echo $flashDriveDeviceNumber | tr -d "/dev/rdisk\"s123456789") Change it to: rawDisk="/dev/disk"$( echo ${flashDriveDeviceNumber:9:1}) Save and re-run. Should work ----------------------------------------------------- File system user/group ownership enabled ----------------------------------------------------- issuing command: ./fdisk440 -f boot0 -u -y /dev/disk3 ----------------------------------------------------- issuing command: dd if=boot1h of=/dev/rdisk3s2 2+0 records in 2+0 records out 1024 bytes transferred in 0.163582 secs (6260 bytes/sec) ----------------------------------------------------- Copy RevoBoot stage 2 boot file ----------------------------------------------------- Creating folder structure ----------------------------------------------------- Copying /Volumes/Macintosh HD/mach_kernel ----------------------------------------------------- RevoBoot was compiled with PRE_LINKED_KERNEL_SUPPORT disabled Copying /Volumes/Macintosh HD/System/Library/Extensions/* Note: This could take a couple of minutes depending on your hardware. Link to comment Share on other sites More sharing options...
anibalin Posted August 21, 2011 Share Posted August 21, 2011 After booting with the usb drive and get past this: boot0: GPT boot0: test boot0: test boot0: done I get a reboot after a couple of seconds. Thanks in advance Link to comment Share on other sites More sharing options...
blackosx Posted August 23, 2011 Share Posted August 23, 2011 blackosx has a bug in his code Thanks for the spot STLVNUB. I've updated the BuildUSB.sh script to fix the problem. After booting with the usb drive and get past this: boot0: GPT boot0: test boot0: test boot0: done @anibalin - Are you still having this issue? As you normally see that when boot0 can't find boot1. Link to comment Share on other sites More sharing options...
anibalin Posted August 23, 2011 Share Posted August 23, 2011 @blackosx hi mate, yes, sadly I still have that issue. I cannot press F8 to put -v because (it clearly shows it doesnt find the next step (boot1)) so it restarts. Link to comment Share on other sites More sharing options...
blackosx Posted August 23, 2011 Share Posted August 23, 2011 hmm... strange as your previous screenshot clearly shows boot1h being written to /dev/rdisk3s2. I've just tested the script at this end and it works fine for me. Can I ask you to format the USB flash drive again (using Mac OS Extended (Journaled) format with a GPT as before) and try the whole process again from scratch? I've made a couple of tweak to the scripts of RevoBuilder for other checks so it's probably worth downloading/updating RevoBuilder to the latest version. Link to comment Share on other sites More sharing options...
anibalin Posted August 24, 2011 Share Posted August 24, 2011 hmm... strange as your previous screenshot clearly shows boot1h being written to /dev/rdisk3s2.I've just tested the script at this end and it works fine for me. Can I ask you to format the USB flash drive again (using Mac OS Extended (Journaled) format with a GPT as before) and try the whole process again from scratch? I've made a couple of tweak to the scripts of RevoBuilder for other checks so it's probably worth downloading/updating RevoBuilder to the latest version. Tired of trying I took another flashdrive and it worked. Odd. Really. Anyway, I can boot now but I get a kp: this is my settings.h /* * 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 #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 0 #define STATIC_SSDT_SATA_TABLE_INJECTION 0 #define STATIC_SSDT_USB_TABLE_INJECTION 0 #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 1 #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 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', '1', ',', '1' } #define STATIC_SMSERIALNUMBER "G8942539W88" #define STATIC_SYSTEM_SERIAL_NUMBER { 'G', '8', '9', '4', '2', '5', '3', '9', 'W', '8', '8' } #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 1680 #define STATIC_SCREEN_HEIGHT 1050 //------------------------------------------------------------------- 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 "iMac11,1" #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 // 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 { 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 ==================================================================== Thanks in advance and thanks for your patience. Link to comment Share on other sites More sharing options...
blackosx Posted August 25, 2011 Share Posted August 25, 2011 Tired of trying I took another flashdrive and it worked. Odd. Really. Strange, but good to hear the script works. Anyway, I can boot now but I get a kp: Not too sure what your problem is, but the Faulting CPU: 0x06 doesn't look good. What hardware are you running as that might help someone here to identify your problem? Link to comment Share on other sites More sharing options...
Recommended Posts