Jump to content

Chameleon RC5 mode with mem detection enabled and automatic P-States & C-States generation for native power managment


kozlek
 Share

1,214 posts in this topic

Recommended Posts

And here the rev. 473 (trunk 473) with default new theme, package w/o kext

 

What does this package?

- (Optional... Select by default) Install the chameleon bootloader (boot0, boot1h and boot).

- (Optional... Unselect by default) Create a directory called util inside the Extra with the executable bdmesg for the Boot dump tool

- (Optional... Unselect by default) Creates / overwrites the standard theme with the new from rev 473

- Added the Chameleon Preference Panel Version 2

- The smbios.plist, DSDT.aml or any SSDT Tables and com.apple.Boot.plist and any kext present inside the Extra and Extra/Extensions will not be touched.

 

thank all people again for this job!

 

 

 

CHANGELOG

- [i]last trunk 473 info[/i]
[size=1][b] blackosx:[/b] added missing thumb.png to default theme for Sonoton's Lizard app.[/size]
- [i]last trunk 468 info[/i]
[size=1][b] blackosx:[/b] Updated /package/Resources with portuguese language translation files from iFabio.[/size]
- [i]last trunk 454 info[/i]
[size=1][b]zef:[/b] Changed loading mechanism of *SDT and SMBIOS.plist files.
Using SMBIOS=<filename> option won't fall back to default location/filename lookup
if the user configured SMBIOS file was not found.
Using DSDT=<filename> still permits to load SSDT files. [/size]
- [i]last trunk 450 info[/i]
[size=1][b]zef:[/b] zef: Applied Azimutz's fake_efi changes for setting up EFI32/64 system tables. [/size]
- [i]last trunk 449 info[/i]
[size=1][b]zef:[/b] zef: Using EFI32 or EFI64 firmware ABI version depending on CPU features. [/size]
- [i]last trunk 445 info[/i]
[size=1][b]zef:[/b] Refactored detecting OS version.[/size]
- l[i]ast trunk 444 info[/i]
[size=1][b]zef:[/b] Fixed calling getBootVolumeDescription() with properly adjusted strMaxLen values.
Removed broken optionKey setting. Now using strncat() for adding proper NULL termination in destination strings.[/size]
- [i]last trunk 438 info[/i]
[size=1][b]zef:[/b] Added string terminator in getVolumeLabelAlias().
Changed printing method in activity indicator drawing to prevent logging.[/size]
- [i]last trunk 432 info[/i]
[size=1][b]zef:[/b] Applied danielkza's changes ([b]r424[/b] Reworked UUID/label matching;
Fixed NTFSGetUUID return value, [b]r425[/b] Fixed omission of fixed strbreak.).[/size]
- [i]last trunk 428 info[/i]
[size=1][b]zef:[/b] Added device ID 0x10DE086C for "GeForce 9300/nForce 730i"[/size]
- [i]last trunk 416 info[/i]
[size=1][b]zef:[/b] Refactored matchVolumeToString(), fixed NTFSGetUUID's return value.
Now "Hide Partition" can accept NTFS volume serials as well.[/size]
- [i]last trunk 408 info [/i]
[size=1][b]Kabyl:[/b] Make sure there is no (null) before another messsage is added to the log,
make bdmesg work in Leopard when compiled on Snow Leopard (native arch is used for now, not a fat binary)[/size]
- [i]last trunk 405 info [/i]
[size=1][b]blackosx:[/b] Added the latest set of theme files I have to get something in here.
To be honest there's not much else I can add without going over the top as I want to keep it simple
and it still has to fit most if not all resolutions.
The device icons are larger than the embedded theme to make use of the quality of the renders,
so as a consequence I have set the max_devices to 4.
I hope they're not deemed too big for small screen sizes, and if so I can either reduce their size
(which I don't really want to do), or lower the mac_devices further.[/size]

 

BootHelp.txt

[size=1]The boot: prompt waits for you to type advanced startup options.
If you don't type anything, the computer continues starting up normally. It
uses the kernel and configuration files on the startup device, which it also
uses as the root device. 

Advanced startup options use the following syntax:

   [device]<kernel> [arguments]

Example arguments include

device: rd=<BSD device name>       (e.g. rd=disk0s2)
        rd=*<IODeviceTree path>    (e.g. rd=*/PCI0@0/CHN0@0/@0:1)

kernel: kernel name                (e.g. "mach_kernel" - must be in "/" )

flags: -v (verbose)                -s (single user mode)
       -x (safe mode)              -f (ignore caches)
       -F (ignore "Kernel Flags" specified in boot configuration file)

"Graphics Mode"="WIDTHxHEIGHTxDEPTH" (e.g. "1024x768x32")

kernel flags                       (e.g. debug=0x144)
io=0xffffffff                      (defined in IOKit/IOKitDebug.h)

Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32"

If the computer won't start up properly, you may be able to start it up 
using safe mode.  Type -x to start up in safe mode, which ignores all 
cached driver files.

Special booter hotkeys:
 F5            Rescans optical drive.
 F10           Scans and displays all BIOS accessible drives.

Special booter commands:
 ?memory       Displays information about the computer's memory.
 ?video        Displays VESA video modes supported by the computer's BIOS.
 ?norescan     Leaves optical drive rescan mode.

Additional useful command-line options:
 config=<file>             Use an alternate Boot.plist file.

Options useful in the com.apple.Boot.plist file:
 Wait=Yes|No             Prompt for a key press before starting the kernel.
 "Quiet Boot"=Yes|No     Use quiet boot mode (no messages or prompt).
 Timeout=8               Number of seconds to pause at the boot: prompt.
 "Instant Menu"=Yes      Force displaying the partition selection menu. 

 "Default Partition"     Sets the default boot partition,
   =hd(x,y)|             where 'x' & 'y' are the disk and partition numbers
   =<UUID>                 or specify the selected volume UUID string.
 "Hide Partition"        Remove unwanted partition(s) from the boot menu.
   =hd(x,y) [hd(m,n)]      only non mac osx boot partitions can be hidden.

 "Rename Partition"        Rename partition(s) for the boot menu.
   =hd(x,y) <alias> [;hd(m,n) <alias2> ...]

 GUI=No                  Disable the GUI (enabled by default).
 "Boot Banner"=Yes|No    Show boot banner in GUI mode (enabled by default).
 "Legacy Logo"=Yes|No    Use the legacy grey apple logo (disabled by default).

 PciRoot=<value>         Use an alternate value for PciRoot (default value 0).

 GraphicsEnabler=Yes|No  Automatic device-properties generation for gfx cards.
 UseAtiROM=Yes|No        Use an alternate Ati ROM image 
                           (path: /Extra/<vendorid>_<devid>.rom)
 UseNvidiaROM=Yes|No     Use an alternate Nvidia ROM image 
                           (path:  /Extra/<vendorid>_<devid>.rom)
 VBIOS=Yes|No            Inject VBIOS to device-properties.

 EthernetBuiltIn=Yes|No  Automatic "built-in"=yes device-properties generation
                         for ethernet interfaces.

 USBBusFix=Yes           Enable all USB fixes below:
 EHCIacquire=Yes         Enable the EHCI fix (disabled by default).
 UHCIreset=Yes           Enable the UHCI fix (disabled by default).
 USBLegacyOff=Yes        Enable the USB Legacy fix (disabled by default).

 ForceHPET=Yes|No        Force Enable HPET.

 Wake=No                 Disable wake up after hibernation (default: enabled).
 ForceWake=Yes           Force using the sleepimage (disabled by default).
 WakeImage=<file>        Use an alternate sleepimage file. 
                           (default path is /private/var/vm/sleepimage).

 DropSSDT=Yes            Skip the SSDT tables while relocating the ACPI tables.
 DSDT=<file>             Use an alternate DSDT.aml file 
                           (default path: /DSDT.aml /Extra/DSDT.aml).

 SMBIOS=<file>           Use an alternate smbios.plist file 
                           (default path: /smbios.plist /Extra/smbios.plist
                            bt(0,0)/Extra/smbios.plist).

 SMBIOSdefaults=No       Don't use the Default values for SMBIOS overriding
                           if smbios.plist doesn't exist, factory
                           values are kept.

 "Scan Single Drive"     Scan the drive only where the booter got loaded from.
   =Yes|No               Fix rescan pbs when using a DVD reader in AHCI mode. 
 Rescan=Yes              Enable CD-ROM rescan mode.
 "Rescan Prompt"=Yes     Prompts for enable CD-ROM rescan mode.
 SystemId=<UUID>         Set manually the system id UUID,
                         SMUUID in smbios config (reserved field) isn't used.
 SystemType=<n>          Set the system type where n is between 0..6
                         (default =1 (Desktop)
 md0=<file>              Load raw img file into memory for use as XNU's md0
                         ramdisk. /Extra/Postboot.img is used otherwise.
[/size]

 

Fabio

Link to comment
Share on other sites

Would you do another test? Remove these options from com.apple.Boot.plist and use attached dsdt.aml

	<key>DropSSDT</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

 

Doing this drill sends KP goodness my way :P

Link to comment
Share on other sites

That looks like an unmodified DSDT?

 

Post LSPCI-nn output too.

 

Run console, look in kernel.log. Do you see any error messages from AppleIntelCPUPowerManagement?

 

/EDIT

 

LOL MaLd0n is thinking along the same lines and is one step ahead of me..

 

Hi all,

Can u help me too with this output?

 

00:00.0 Host bridge [0600]: ALi Corporation M1695 K8 Northbridge [PCI Express and HyperTransport] [10b9:1695]
00:01.0 PCI bridge [0604]: ALi Corporation PCI Express Root Port [10b9:524b]
00:02.0 PCI bridge [0604]: ALi Corporation PCI Express Root Port [10b9:524c]
00:04.0 Host bridge [0600]: ALi Corporation M1689 K8 Northbridge [Super K8 Single Chip] [10b9:1689]
00:05.0 PCI bridge [0604]: ALi Corporation AGP8X Controller [10b9:5246]
00:06.0 PCI bridge [0604]: ALi Corporation M5249 HTT to PCI Bridge [10b9:5249]
00:07.0 ISA bridge [0601]: ALi Corporation M1563 HyperTransport South Bridge [10b9:1563] (rev 70)
00:07.1 Bridge [0680]: ALi Corporation M7101 Power Management Controller [PMU] [10b9:7101]
00:08.0 Multimedia audio controller [0401]: ALi Corporation M5455 PCI AC-Link Controller Audio Device [10b9:5455] (rev 20)
00:11.0 Ethernet controller [0200]: ALi Corporation ULi 1689,1573 integrated ethernet. [10b9:5263] (rev 40)
00:12.0 IDE interface [0101]: ALi Corporation M5229 IDE [10b9:5229] (rev c7)
00:13.0 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03)
00:13.1 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03)
00:13.2 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03)
00:13.3 USB Controller [0c03]: ALi Corporation USB 2.0 Controller [10b9:5239] (rev 01)
03:00.0 VGA compatible controller [0300]: nVidia Corporation NV40.2 [GeForce 6800 LE] [10de:0042] (rev a1)

 

My system not load HPET LPC and SMBUS.

 

regards

Link to comment
Share on other sites

Here the attach the files of the extra folder, the SSDT tables and i'm sending you the registration of the kernel.log file i could see the two files in the section of extensions with the DSDT file that you send me, the two files are these: AppleLCP.kext and AppleHPET.kext. What else can i do? and for last i still have in the extra folder installed the NullCPUPowerManagement.kext

 

Thanks, :)

 

Intel DX58SO

Core i7 920

GTX260

Link to comment
Share on other sites

@blackosx

Here's the Chameleon Bulgarian localization

 

@iRipper

Something's wrong with your HPET section in the DSDT, imho.

Your HPET should be similar to the below:

				Device (HPET)
			{
				Name (_HID, EisaId ("PNP0103"))
				Name (_STA, 0x0F)
				Name (_CRS, ResourceTemplate ()
				{
					IRQNoFlags ()
						{0}
					IRQNoFlags ()
						{8}
					Memory32Fixed (ReadWrite,
						0xFED00000,		 // Address Base
						0x00000400,		 // Address Length
						)
				})
			}

 

EDIT: Wow, man, your DSDT is huge and messy :(, seems as it's the original one. I would advice you to start from here -- DSDT mods/edits for P5K Boards and this recent thread too - DSDT Editor and Patcher. It's a long way to go but you have to modify your own DSDT.

Link to comment
Share on other sites

@iRipper: it's strange that "HPET: probeHPET() failed" in your log, since your DSDT has an HPET device defined. Does your BIOS config have an HPET option? You can try Chameleon's ForceHPET option.

 

@RaMDaY: they are not options, you need all the 3 files. boot0 goes to MBR, boot1h goes to beginning of HFS partition and boot goes to HFS partition's root. You can replace boot0 by boot0hfs, then the HFS partition should not need to be active.

Link to comment
Share on other sites

@iRipper

 

extract your the DSDT unmodified

My DSDT:

your DSDT has some modifications, _pts is an example

 

remove your DSDT, restart

and then run this command on terminal

perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > dsdt.aml") or die; print PIP "$1"; } }'

DSDT will be generated in a user folder

 

or use windows, everest acpitool

Link to comment
Share on other sites

add in your boot.plist

 

DropSSDT

Yes

GeneratePStates

Yes

GenerateCStates

Yes

 

dsdt.aml in the Extra folder

 

restart without nullcpu...

 

 

*read the first post

*do not forget to remove the old DSDT

Link to comment
Share on other sites

 Share

×
×
  • Create New...