Jump to content

Chameleon v2.1 (Main Trunk)


ErmaC
 Share

595 posts in this topic

Recommended Posts

Hi Fabio

 

Thanks for the confirmation. I've just tried booting with mozodojo's rev755 and it behaves as I mentioned earlier and doesn't load from /Extra/10.6/Extensions/. So that's the point of origin to look at for me.

 

I did keep my eye on valv's topic when he was developing his branch, although I never actually used it, and I remember valv adding nawcom's code for FreeBSD/OpenBSD because he asked for those icons which I designed. I also remember commenting about the compiling verbose massages to Meklort in the topic here at IM about his branch so I did recognise that when I saw it ;)

 

Regards

 

well now with diff V5 the extra code FreeBSD/OpenBSD and Haiku are correct implemented..

 

now...

with diff V5 not load /Extra/10.6/Extensions/...

and /Extra/10.7/Extensions/ ?

 

with Oldnapalm ported code yes?

 

also what version can boot the two OSX (10.6.x and 10.7.x) in 32 and 64 bit mode?

 

so I have a light to follow...

 

Fabio

Link to comment
Share on other sites

Just testing now.....

 

Oldnapalm's posted source can:

• Boot both 10.6 and 10.7 with the kernel in both 32bit and 64bit mode.

• Load FakeSMC.kext from /Extra/10.6/Extensions and /Extra/10.7/Extensions

 

Applying the diff v5 against the Chameleon trunk r753, it can:

• Boot both 10.6 and 10.7 with the kernel in both 32bit and 64bit mode (But needs FakeSMC.kext in /System/Library/Extensions).

• FakeSMC.kext didn't load from /Extra/10.6/Extensions, /Extra/10.7/Extensions, or even /Extra/Extensions

 

Note: The above tests were using only FakeSMC.kext and not using any mkext.

Link to comment
Share on other sites

I'd hold off until that source code is published because so far there are reports that it doesn't work at all with socket 775 cpu's so not sure I'd call it the 'best of all branches' just yet.

Lol.. 'best of all branches' was just a figure of speech and yes, until the code is posted and looked at, as Kabyl asked, then I'm just giving it the benefit of the doubt. I haven't tried it and haven't read anything about the results of that code so thanks for the note about it.

 

It also doesn't contain any support for recent AMD GPU's however that should hopefully be fixed soon as i have given them the modified source code that I used to get it working on a sandybridge build based on kabyl and AnVal's code.

So you've contributed to it too? Is adding that maybe the reason for the delay in the source being posted?

Link to comment
Share on other sites

Applying the diff v5 against the Chameleon trunk r753, it can:

• Boot both 10.6 and 10.7 with the kernel in both 32bit and 64bit mode (But needs FakeSMC.kext in /System/Library/Extensions).

• FakeSMC.kext didn't load from /Extra/10.6/Extensions, /Extra/10.7/Extensions, or even /Extra/Extensions

 

Note: The above tests were using only FakeSMC.kext and not using any mkext.

 

Exactly my problem, even though it DID actually load FakeSMC.kext from /E/E a few times. Seems to be random.

Link to comment
Share on other sites

diff V6 reworked boot.c with oldnapalm diff source file...

 

I hope now boot in 32&64 on booth and also load from Extra/Extensions...

 

Pls if test report your findings.

 

Fabio

Link to comment
Share on other sites

diff V6 reworked boot.c with oldnapalm diff source file...

 

I hope now boot in 32&64 on booth and also load from Extra/Extensions...

 

Pls if test report your findings.

 

Fabio

 

Confirmed, now FakeSMC.kext loads properly from E/E. :)

Now I wish someone would revise and merge all these changes with the main Chameleon trunk.

Link to comment
Share on other sites

For some reason, FakeSMC (I put it in /S/L/E) is not loading for me when I used the "boot" file from here 752 and 755 (stuck at waiting for Dsmos)

 

While Anval's "boot"

 

http://www.insanelymac.com/forum/index.php...t&p=1674711

 

load FakeSMC fine, but does not go into GUI

 

Can't boot into GUI after 11A444d update

 

Original install (DP2 - 11a419)

then updated to DP2 Update 1 - 11a430e - OK

then update to DP2 Update 2 - 11A444d - can't go into GUI

 

also

 

 

fdisk440 does not seem to run in 64bit? I get IIRC "Illegal operation: 4"

Link to comment
Share on other sites

Here's the diff I'm using against trunk r755, it includes only the changes present in the source package in the OP

trunk_r755_lion.diff.zip

I've just applied this diff against the Chameleon trunk r753 and everything works well.

 

diff V6 reworked boot.c with oldnapalm diff source file...

...

Pls if test report your findings.

I've tested the posted binary rather than compiling from source but yep, this works well also.

 

For some reason, FakeSMC (I put it in /S/L/E) is not loading for me when I used the "boot" file from here 752 and 755 (stuck at waiting for Dsmos)

You did remember to trash /System/Library/Caches/com.apple.kext.caches/* after adding FakeSMC to /S/L/E ?

Link to comment
Share on other sites

You did remember to trash /System/Library/Caches/com.apple.kext.caches/* after adding FakeSMC to /S/L/E ?

 

I use -f -v, and not use the cache during testing.

 

I tried the v6 from iReset/Fabio (it was in the middle of the 1st page, now I see it) and Slice's FakeSMC 3.1

 

FakeSMC did get loaded..

post-26171-1304289386_thumb.jpg

Link to comment
Share on other sites

CHAMELON 2 RC5 diff patch files

 

.pkg result of diff V6 Chameleon_2.0_RC5_r755_Lion.pkg.zip

 

Maybe help , maybe no....

 

here the diff file for patch the "virgin" Chameleon 2 RC5 trunk 75x

into

Chameleon 2 RC5 trunk 75x for Lion and lower...

    LION patch credits:
  • All the credits go to the Chameleon team
  • Andy Vandijck
  • cparm
  • netkas
  • DutchHockeyPro
  • And all involved in the development in any way.
     
    V.1 (for Trunk752)

  • Credits to oldnapalm to share the patched C2RC5 source ported from old Chameleon-2.0-RC3-r658(patched source)
    I hope no forgot any credits...
    Things added:
  • "cosmetics" compiling (like meklort branch) credits to meklort
  • Some ID correction in pci.h and other things credits to Andy and valv (AnVAL Branch)
  • More Nasm correction by KillerJK
    Also in nvidia.c will be applied some fix coming from different branch
  • (nvidia.c) NVPM (copied from Slice nvidia.c code) credits to Slice
  • (nvidia.c) "display-cfg" property injecting by Jingu
  • (nvidia.c) An additional device properties has to be injected to get HDMI back: @1,connector-type by Jingu or yehia2amer
     
    V.2 (for Trunk752)
    Things added:
  • Correct one warning thx mitch_de
     
    V.3 (for Trunk753)
    Things added:
  • Correct last warning from (AnVAL branch)
  • Add Icon and detection for Haiku OS credits to scorpius link
  • Add Icon and detection for FreeBSD and OpenBSD from (AnVAL branch)
  • Add credits into CREDITS file
     
    V.4 (for Trunk753)
    Binaries: C2RC5r755_diffV4.zip
    Things added:
  • Add oldnapalm's suggest "fix" for FAT16, FAT32 and BEFS into gui.c
  • Add more credits into CREDITS file
     
    V.5 (for Trunk753)
    Binaries: C2RC5r755_diffV5.zip
    Things added:
  • Applyoldnapalm's suggest "fix" into gui.c
     
    V.6 (for Trunk753)
    Binaries:
    Things:
  • boot at 32&64 bit and kext from E/E

How use it...?

From terminal

- create a folder navigate into it.

- download the Chameleon2 RC5 source code:

svn co http://forge.voodooprojects.org/svn/chameleon/trunk

- download the diff patch file

patch -p0

- done... :(

 

You will see this...

[size=1]sh-3.2# patch -p0 < C2RC5753xlionV4.diff
patching file trunk/CHANGES
patching file trunk/CREDITS
patching file trunk/Chameleon.xcodeproj/project.pbxproj
patching file trunk/Makefile
patching file trunk/TODO
patching file trunk/artwork/themes/default/device_befs.png
patching file trunk/artwork/themes/default/device_befs_o.png
patching file trunk/artwork/themes/default/device_freebsd.png
patching file trunk/artwork/themes/default/device_freebsd_o.png
patching file trunk/artwork/themes/default/device_openbsd.png
patching file trunk/artwork/themes/default/device_openbsd_o.png
patching file trunk/doc/BootHelp.txt
patching file trunk/i386/MakeInc.dir
patching file trunk/i386/Makefile
patching file trunk/i386/boot0/Makefile
patching file trunk/i386/boot0/chain0.s
patching file trunk/i386/boot1/Makefile
patching file trunk/i386/boot2/Makefile
patching file trunk/i386/boot2/boot.c
patching file trunk/i386/boot2/boot.h
patching file trunk/i386/boot2/drivers.c
patching file trunk/i386/boot2/graphics.c
patching file trunk/i386/boot2/gui.c
patching file trunk/i386/boot2/mboot.c
patching file trunk/i386/boot2/options.c
patching file trunk/i386/boot2/resume.c
patching file trunk/i386/cdboot/Makefile
patching file trunk/i386/doc/README
patching file trunk/i386/libsa/Makefile
patching file trunk/i386/libsa/libsa.h
patching file trunk/i386/libsa/string.c
patching file trunk/i386/libsaio/Makefile
patching file trunk/i386/libsaio/acpi_patcher.c
patching file trunk/i386/libsaio/allocate.c
patching file trunk/i386/libsaio/aml_generator.c
patching file trunk/i386/libsaio/ati.c
patching file trunk/i386/libsaio/befs.c
patching file trunk/i386/libsaio/befs.h
patching file trunk/i386/libsaio/bios.h
patching file trunk/i386/libsaio/biosfn.c
patching file trunk/i386/libsaio/boot.h
patching file trunk/i386/libsaio/bootstruct.c
patching file trunk/i386/libsaio/bootstruct.h
patching file trunk/i386/libsaio/console.c
patching file trunk/i386/libsaio/device_inject.c
patching file trunk/i386/libsaio/disk.c
patching file trunk/i386/libsaio/fake_efi.c
patching file trunk/i386/libsaio/fdisk.h
patching file trunk/i386/libsaio/freebsd.c
patching file trunk/i386/libsaio/freebsd.h
patching file trunk/i386/libsaio/hpet.c
patching file trunk/i386/libsaio/load.c
patching file trunk/i386/libsaio/mem.c
patching file trunk/i386/libsaio/nvidia.c
patching file trunk/i386/libsaio/openbsd.c
patching file trunk/i386/libsaio/openbsd.h
patching file trunk/i386/libsaio/pci.c
patching file trunk/i386/libsaio/pci.h
patching file trunk/i386/libsaio/pci_root.c
patching file trunk/i386/libsaio/pci_setup.c
patching file trunk/i386/libsaio/platform.c
patching file trunk/i386/libsaio/saio_types.h
patching file trunk/i386/libsaio/smbios_patcher.c
patching file trunk/i386/libsaio/spd.c
patching file trunk/i386/libsaio/stringTable.c
patching file trunk/i386/libsaio/sys.c
patching file trunk/i386/libsaio/usb.c
patching file trunk/i386/util/Makefile
sh-3.2#  [/size]

 

Fabio

 

hi, i'm testing the pkg 755 v6 , better ram gestion, cpu well, temperature of cpu better, use of cpu better then 752

 

note i5 4gb ram

 

good job

 

regards

Link to comment
Share on other sites

The "DSMOS has arrived" message doesn't show up

hmmm. I guess you waited a minute to see if it passed that point?

 

But I'm out of ideas and don't know why you see the FakeSMC verbose messages (as your screenshot), but DSMOS never arrives. Sorry. Hopefully somebody else will have some further ideas for you. I'm tired and off to bed. If I think of anything I'll update this post.

Link to comment
Share on other sites

diff V6 reworked boot.c with oldnapalm diff source file...

 

I hope now boot in 32&64 on booth and also load from Extra/Extensions...

 

Pls if test report your findings.

 

Fabio

 

Lion still booting with 64-bit kernel, even with arch=i386 in com.apple.Boot.plist :D

Link to comment
Share on other sites

For some reason, FakeSMC (I put it in /S/L/E) is not loading for me when I used the "boot" file from here 752 and 755 (stuck at waiting for Dsmos)

 

While Anval's "boot"

 

http://www.insanelymac.com/forum/index.php...t&p=1674711

 

load FakeSMC fine, but does not go into GUI

 

Can't boot into GUI after 11A444d update

 

I had that problem, I cleared out the cache and replaced the AppleIntelPowermanagerment kext with the original and then it started working again.

Link to comment
Share on other sites

For some reason, FakeSMC (I put it in /S/L/E) is not loading for me when I used the "boot" file from here 752 and 755 (stuck at waiting for Dsmos)

 

While Anval's "boot"

 

http://www.insanelymac.com/forum/index.php...t&p=1674711

 

load FakeSMC fine, but does not go into GUI

 

Can't boot into GUI after 11A444d update

 

Original install (DP2 - 11a419)

then updated to DP2 Update 1 - 11a430e - OK

then update to DP2 Update 2 - 11A444d - can't go into GUI

 

also

 

 

fdisk440 does not seem to run in 64bit? I get IIRC "Illegal operation: 4"

 

{censored}in hell, that's exactly what i got on my setup.. i posted just page or 2 back and none cared...but when i left it for very long time(over 20min) it eventually went into gui. at least once it did. then it f* my whole setup, including snow leo. i had to go from scratch(i hate time machine...)

Link to comment
Share on other sites

Lion still booting with 64-bit kernel, even with arch=i386 in com.apple.Boot.plis

 

 

for 32bits on chamaleon RC5 75X use i386 flag, NO arch=i386

 

Can't you people agree on one naming convention? I've seen arch=i386, arch=x86_32 an now it's i386 alone.

 

Btw... thanks for the great bootloader :)

Link to comment
Share on other sites

replace the "boot" file or use iReset Installer

I've installed it using Pacifist, then copied boot file from i386 to root. Is this ok?

 

My Snow Leo boots fine and it says build755 at the top.

 

Edit: Updated using iReset's installer, just in case. Thanks to both of you.

Link to comment
Share on other sites

 Share

×
×
  • Create New...