![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Happy new year to everyone!
I have a little gift for you I was quite inactive here in the last weeks... but not dormant at all. I'm done the first major changes to Chameleon. I'm really disappointed regarding the code quality of Chameleon. It's full of possible buffer overflows, quick & dirty hacks... you can notice that there is no one behind, who is supervising the development, who has and keeps the whole picture in mind. The code quality is really bad One example is the use of the boolean datatype. You can find boolean_t, bool, BOOL, int, char... used with 0, 1, TRUE, FALSE, true, false, 0, 1, YES or NO, and this even mixed! So I started to cleanup this mess, fixed some bugs and also added new cool features.Bugfixes:
New Features:
Changes:
If you use the Booter without the embedded theme, then you must supply a Theme in Extra/Themes/ to have GUI support. The default theme name is "Default". You can configure the theme to be used with Theme="Name" in com.apple.Boot.plist. Platform UUID is setup by injecting /efi/platform/system-id property. The UUID value from SMBIOS table 1 is used as system-id. If your BIOS does not provide an UUID, then you can configure the UUID with SMUUID in smbios.plist. If you set system-id=No in com.apple.Boot.plist, then the system-id is not injected into the IORegistry. Use this if you want/need to use PlatformUUID.kext or something similar. The memory parameter detecting should work with P35/X38/X48/P45 memory controllers and the builtin memory controllers of the Core i5/i7 CPU's. Reading of memory SPD (Serial Presence Detect EEPROM) data should work on P55, ICH10(R) and ICH9. You must remove all memory related keys from smbios.plist (SMmemmanufacter_X, SMmempart_X, SMmemserial_X, SMmemspeed & SMmemtype). Dynamic PCI-Root-UID should work if your DSDT defines the UID like this: Name (UID, <value>). Default PCI-Root-UID is 0. You can configure the PCI-Root-UID to be used with PCIRootUID=<value> in com.apple.Boot.plist (-pci0, -pci1, PciRoot... does not work anymore). You should also update boot0 (with fdisk) and boot1h with (dd), because the Chameleon team fixed some bugs there. The archive contains:
I ask everyone to use at least one time the Booter with Debugs and to take photos at every "(Press a key to continue...)" stop (PCI-Bus, CPU, Memory-Controller, SPD) to help me to improve Chameleon further. If you have a running Windows on your Hackintosh, then a TXT-Report made with the CPU-Z programm would be very helpful too. If you encounter problems, then use the Booter with debugs. Do not forget to rename it to boot. Patch against Chameleon-RC4 is included, but without the memory detection stuff. I'll release it after a grace period. You know... ASEM is also reading here ![]() Any feedback is welcome! Update Version 1.1.1:
Update Version 1.1.2:
Update Version 1.1.3:
Update Version 1.1.4:
Update Version 1.1.6:
To set system-type put a system-type= into com.apple.Boot.plist (1=Desktop, 2=Laptop enables Battery, 3=Workstation). Default system-type is 1 (Desktop). Update Version 1.1.7:
Update Version 1.1.8:
Update Version 1.1.9:
If you want to override the NVCAP value, you must determine the PCI DeviceID of your graphic card. For instance: my new GTX260 has the DeviceID 0×05e2. Knowing the DeviceID add this to your com.apple.Boot.plist: Code:
<key>NVCAP_05e2</key> <string>0000000000000000000000000000000000000000</string> Sources under http://github.com/aserebln/Chameleon. Asere
__________________
HP: aserebln.blogspot.com MoBo: Gigabyte EP45-DS3 (F10b) Cpu: Intel Q9550 @ 2.83GHz Gfx: Palit Geforce 9500 GT 1GB passiv Mem: 4GB OCZ PC1066 Hdd: 1TB Samsung HD103SJ Dvd: LG GH22NS30 MacOS: My Booter (Chameleon 2.0 RC4/PCEFI10.5 based) & OS X 10.6.2 ![]() Last edited by AsereBLN; February 11th, 2010 at 06:32 PM. |
|
#2
|
||||
|
||||
|
I like the fact that you are able to clean up the sloppy code.
Replaced boot, boot1 and boot1h with yours and I started in verbose and everything looked normal. But...My restart stopped working. I have been using this version of chameleon: http://www.insanelymac.com/forum/ind...&#entry1369210 and I have (RestartFix = Yes) in my com.apple.Boot.plist Not sure what I need to do to make restart work with yours. thanks
__________________
Chameleon 2 RC4 | Mac OS X 10.6.2 MB Gigabyte GA-EP45-UD3P (BIOS F7) CPU Intel Core 2 Quad Q6600 2.4GHz GPU nVidia GeForce 9800 GT (512 MB) RAM CORSAIR DOMINATOR 4GB HDD 500 GB HITACHI SATA DVD Samsung Sata Last edited by peto; January 6th, 2010 at 09:21 PM. |
|
#3
|
||||
|
||||
|
Hi Asere, welcome back and Happy New Year!
Have you, or have you considered, including the restart fix by Duvell300 (starting HERE) It is nice to not need a restart kext. Also, will this properly detect p55/i7 cpus with no "SMcputype" value in SMBios.plist? Thanks once again for your hard work. Looking forward to giving it a whirl.
__________________
Old Rig: Mobo: Gigabyte EP45-UD3P CPU: Q6600 GPU: XFX 8800gt Memory: 8GB Kingston DDR2 800 Optical drive: Samsung 22x DVD PSU: Antec Basiq BP55Plus 550w Case: Lian Li PC-A16 Boot Method: Chameleon 2.0 RC4 w/ restart mod DSDT New Rig: Mobo: MSI P55M-GD45 CPU: Core i7-860 GPU: Asus 9600gt Silent Memory: 4GB Corsair Dominator DDR3 1600 Optical drive: LG Bluray PSU: Antec Basiq BP55Plus 550w Case: Lian Li v1000z Boot Method: Chameleon 2.0 AsereBLN mod |
|
#4
|
||||
|
||||
|
I know this is gonna be a stoooopid question...but here goes....I wouldn't be me without stupid questions.
When copying the boot files, you can't just grab them and plop them onto the hard drive can you? This is terminal stuff? Thanks. Rick
__________________
Whatever it is...I'm against it!!! MB: EX58-UD5 CPU: i7 950 GPU: EVGA 285 GTX w/ 1 GB HD1: 300 GB Raptor OS X SL HD2: 1 TB Hitachi - OS X Data HD3: 300 GB Raptor - W7 HD4: 1 TB Hitachi - W7 Data HD5: 300 GB Raptor - Ubuntu HD6: 1TB WD Black - FW - OS X Data II HD7: 1 TB WD Black - FW - Time Machine DVD: Optiarc RAM: 12 GB Corsair Case: Home Made - Dual Loop Liquid Cooled |
|
#5
|
||||
|
||||
|
Welcome back AsereBLN and a very Happy New Year - missed you but many thanks for this. It is certainly much leaner and I like the plain boot screen, your efforts are much appreciated. If we live in the NOW rather than the past then who needs reminding of that Efi-x thing!
We all are very grateful to the Community, from my perspective just too much defragmentation and it is always welcome when people like you describe in detail what you have changed. I Like it. Everything is now working on my new P55 rig and with your boot file - it starts up very quickly with 14 spins of the wheel (20 plus previously), and appears stable with no errors. Everything is working well apart from sleep as my rig will now auto and force sleep but reboots on wake up. All other functions appear to be as expected and I am happy not to have to put the UUID info in the plist files. I have reduced my boot.plist and smbios files along with your suggestions they are now much leaner and I am running with only three kext files. I am traveling for a couple of weeks after this evening so there will be a delay.
__________________
MB:Gigabyte GA-X58A-UD3R (rev. 2) CPU:Intel i7-930 2.80 GHZ- QPI 4.8 GT/s GPU:MSI R5770 Hawk RAM:12 GB Geil (DDR3-1600) Booter AnVAL4 HDD:2X1TB 1X640GB 1xSSD 32GB OS- OSX10.6.4/ Windows 7/Ubuntu Network: Gigabit Ethernet Cat 6 Cable with Netgear switch. http://www.lightofthesoul.sg |
|
#6
|
||||
|
||||
|
Yes mine does but auto Chameleon shows the i7 CPU as Quad-Core Intel Xeon as expected.
__________________
MB:Gigabyte GA-X58A-UD3R (rev. 2) CPU:Intel i7-930 2.80 GHZ- QPI 4.8 GT/s GPU:MSI R5770 Hawk RAM:12 GB Geil (DDR3-1600) Booter AnVAL4 HDD:2X1TB 1X640GB 1xSSD 32GB OS- OSX10.6.4/ Windows 7/Ubuntu Network: Gigabit Ethernet Cat 6 Cable with Netgear switch. http://www.lightofthesoul.sg |
|
#7
|
|||
|
|||
|
Any chance for the source?
|
|
#8
|
|||
|
|||
|
Looked into the FACP Restart Fix. The RST_CNT—Reset Control Register (LPC I/F—D31:F0) with I/O Address 0xCF9h is present in the ICH9, ICH10(R) and P55 chipset, so I think it's OK to implement the fix in general. Made a new version of my booter with the mentioned FACP RestartFix included. Please look at the first post.
Asere
__________________
HP: aserebln.blogspot.com MoBo: Gigabyte EP45-DS3 (F10b) Cpu: Intel Q9550 @ 2.83GHz Gfx: Palit Geforce 9500 GT 1GB passiv Mem: 4GB OCZ PC1066 Hdd: 1TB Samsung HD103SJ Dvd: LG GH22NS30 MacOS: My Booter (Chameleon 2.0 RC4/PCEFI10.5 based) & OS X 10.6.2 ![]() |
|
#9
|
|||
|
|||
|
I know that the new i7 iMac (iMac11,1) uses a new cputype 0x0601 for the i7. But the iMac11,1 has a different 10.6.2 version. The normal 10.6.2 (10C540) does not know the new 0x0601 cputype and therefore I still use the Xeon one. I guess 10.6.3 will fix this and then I will update Chameleon to automatically use 0x0601 if a i7 is present.
__________________
HP: aserebln.blogspot.com MoBo: Gigabyte EP45-DS3 (F10b) Cpu: Intel Q9550 @ 2.83GHz Gfx: Palit Geforce 9500 GT 1GB passiv Mem: 4GB OCZ PC1066 Hdd: 1TB Samsung HD103SJ Dvd: LG GH22NS30 MacOS: My Booter (Chameleon 2.0 RC4/PCEFI10.5 based) & OS X 10.6.2 ![]() |
|
#10
|
|||
|
|||
|
Quote:
__________________
HP: aserebln.blogspot.com MoBo: Gigabyte EP45-DS3 (F10b) Cpu: Intel Q9550 @ 2.83GHz Gfx: Palit Geforce 9500 GT 1GB passiv Mem: 4GB OCZ PC1066 Hdd: 1TB Samsung HD103SJ Dvd: LG GH22NS30 MacOS: My Booter (Chameleon 2.0 RC4/PCEFI10.5 based) & OS X 10.6.2 ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|