-------------------------
Now RC5 based look below
-------------------------
I want to propose you my revision of bootloader based on Chameleon-2RC4-684. I take into account opensource additions by Recursor, Duvel, AsereBLN to make something working. I eliminated warnings, code doubles, logics mismatches.
About warning: take care about conversion from 32bit to 64bit.
About doubles: smbios.plist loaded twice or more in previous sources.
About logics. It has to be the follow: system uses a value from smbios.plist else default value. User can override it by boot-flag.
Correct mkext location in the case of Snow or Leopard/Tiger there are different.
Correct hibernation. This is an error in RC4 while good in RC3.
And my five cents:
- modern CPU detection, including i5, i7
- system-type written into registry and into FACP: desktop, mobile, workstation, server.
- create ACPI20 structure for older computers having only ACPI10 pointer.
- OEMID = "Apple " for all ACPI tables
- ability to load multiple SSDT table. Details:
This feature made by Mozodojo (other russian programmer).
You may place SSDT.aml, SSDT-1.aml,... SSDT-9.aml into /Extra and bootloader takes all of them.
If you set DropSSDT=YES then all previous SSDT tables will be dropped.
If you set oemSSDT=YES then your tables don't be applied.
Else your SSDT entries will be added to RSDT/XSDT tables.
We propose that no need to patch DSDT for new inserted devices. It is better for any new device just add its own SSDT table. Aka driver.
And I am thinking about to make universal SSDT for USB. It is more simple for novices to add this SSDT into /Extra then patch DSDT.
Here it is. Sources and binaries. (Ya, as I take open source I must publish my sources)
Click to view attachment - sources
I think I need no provide explanation about old smbios and boot keys as well as "How to install".
07.04.2010
It seems RestartFix can't be applied to ACPI_10 structure. Use RestartFix=NO if you have a problem.
-------------------------------------------------------------------------------
05.12.2010
As I see Chameleon team is not interesting in my corrections. RC5 is still without its.
So I have to propose my version based on RC5-rev650. My sources located at Assembla, same place as FakeSMC
https://www.assembla.com/code/fakesmc/subve...ameleon?rev=428
and I have new revision numeration. Now RC5s-428.
Change log:
- all corrections that I said above;
- new devIDs for NVidia and ATI for CraphicsEnabler feature;
- "display-cfg" property injecting as suggested by Jingu
- no more messages like "Read HFS+ file [xxx]xxx.kext....". It was too slow and no infos!
- correct PMProfile 1=Desktop, 2=Mobile.
- correct BusSpeed, CurrectCPUSpeed, MaxCPUSpeed
- correct NoCores, NoThreads
- correct UUID to String conversions (for a what?
- correct SMBIOS reading and patching procedures, other cleanup.
The job is not finished. I know mistakes about boot-order, GUI quirks, UUID problems.
I have ideas about NVRAM, SMBIOS, BootOrder.
But I need feedback. Please inform me about bugs, your suggestions, ideas.
Attach
QUOTE
bdmesg >bdmesgUSER.txt
ioreg -pIODeviceTree -lxw0 >ioregUSER.txt
ioreg -pIODeviceTree -lxw0 >ioregUSER.txt
Use your Nick instead of USER
Here is my Extra folder with my sample smbios.plist, Boot.plist and themes. Inside you find a folder i386 where is my Bootloader and tools.
Look also fdisk, it is better then vanilla 10.6.5.
Click to view attachment
I think Meklort is creating the best bootloader ever been. So I decided to apply my patches to his branch.
And now I have my own branch at VoodooProjects
CODE
svn co -r HEAD http://forge.voodooprojects.org/svn/chameleon/branches/slice
Click to view attachment
It works also for Tiger.
31.01.2011
Now kernelchache is loaded. Also beta attempt for OHCI reset as proposed by THeKiNG. (USB.dylib)
New modules structure as Meklort did: now modules Symbols.dylib and ACPIPatcher.dykib are embedded and you can boot without any modules. Only boot file and themes, boot.plist and smbios.plist.
22.03.2011
There is a last version with GUI corrections.
Click to view attachment
Not for LION!
22.07.2011
Now the version for Lion as well as for Snow, Leo and even for Tiger. It is based on Chameleon 2 RC5-rev1200 with differencies explained in the thread
http://www.projectosx.com/forum/index.php?...ost&p=15446
06.08.2011
i hope it is my final version. After some testing I exclude instant reboot on some CPU. It was XCode bug.
Now I have working modules Resolution, NVRAM and KernelPatcher (by Meklort with cparm corrections).
The last one is not tested. It is intended for Atom CPU and lapic patches on the fly.
Package
Click to view attachment
Bootable CD/DVD
Click to view attachment
