Jump to content

Chameleon v2.1 (Main Trunk)


ErmaC
 Share

595 posts in this topic

Recommended Posts

Slice, I think you need to re-checkout the repo, there is no mem.h in platform.c

http://forge.voodooprojects.org/p/chameleo...saio/platform.c

Yes, you are right. Now works.

 

What about this work?

		edid_mode mode;
	// TODO: check *all* resolutions reported and either use the highest, or the native resolution (if there is a flag for that)
	//xResolution =  edidInfo[56] | ((edidInfo[58] & 0xF0) << 4);  
	//yResolution = edidInfo[59] | ((edidInfo[61] & 0xF0) << 4); 
	//Slice - done here

	if(fb_parse_edid((struct EDID *)edidInfo, &mode) == 0)
	{

in my branch.

Link to comment
Share on other sites

Yes, you are right. Now works.

 

What about this work?

		edid_mode mode;
	// TODO: check *all* resolutions reported and either use the highest, or the native resolution (if there is a flag for that)
	//xResolution =  edidInfo[56] | ((edidInfo[58] & 0xF0) << 4);  
	//yResolution = edidInfo[59] | ((edidInfo[61] & 0xF0) << 4); 
	//Slice - done here

	if(fb_parse_edid((struct EDID *)edidInfo, &mode) == 0)
	{

in my branch.

 

Go ahead and merge it with trunk if there aren't any issues.

Link to comment
Share on other sites

Seems to work

Invalid mach magic 0x2
Read HFS+ file: [hd(0,3)/Extra/modules/Resolution.dylib] 18280 bytes.
Buffer location: 0x1000EB1E status: 0
0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x30 0x64 0xE2 0x58 0x31 0x32 0x39 0x35 
0xFF 0xFF 0xFF 0x00 0x64 0x58 0x32 0x35 0x11 0x03 0x1A 0x78 0x87 0x99 0x4F 0x26 
0xFF 0xFF 0x30 0x58 0x39 0x11 0x80 0x78 0xAE 0x4F 0x22 0x00 0x01 0x01 0x01 0x01 
0xFF 0x00 0x58 0x35 0x03 0x78 0x99 0x26 0x00 0x01 0x01 0x01 0x01 0x1C 0x20 0x30 
0xFF 0x64 0x39 0x03 0x0A 0x4F 0x54 0x01 0x01 0x01 0x2A 0x20 0x22 0x00 0x00 0x00 
0xFF 0x58 0x11 0x78 0x4F 0x00 0x01 0x01 0x01 0x20 0x00 0x18 0x00 0x00 0x00 0x47 
0xFF 0x32 0x80 0x99 0x54 0x01 0x01 0x1C 0x10 0x00 0x00 0x00 0x00 0x39 0x45 0xFE 
0x00 0x35 0x78 0x26 0x01 0x01 0x1C 0x30 0x18 0x00 0x00 0x47 0x31 0xFE 0xA9 0xE9 
getResolution: 1280x800x32

Link to comment
Share on other sites

Hi,

AutoResolution feture doesn't work (never worked) for me. May be i do something wrong? Only Graphics Mode gives me corect resolution on boot.

 

What's wrong with hardware UUID overriding? Doesn't work here.

post-69729-1307171257_thumb.png

 

SMmembankloc_X and SMmemdevloc_X overriding doesn't work now too.

post-69729-1307171772_thumb.png

Link to comment
Share on other sites

Hi,

AutoResolution feture doesn't work (never worked) for me. May be i do something wrong? Only Graphics Mode gives me corect resolution on boot.

Hi bungo... do you really mean AutoResolution?... or you're talking about the Resolution module recently added to the trunk?

If you're talking about AutoResolution patch, it doesn't work with the chipset on your signature; only works with Intel 800/900 series.

On the other hand, if you're talking about the Resolution module, it does read the resolution from EDID but it's not being passed to the GUI atm.

Anyway, if Graphics Mode does the job, you can thank your graphics card vendor for fitting the VBIOS with a table with your native resolution :( many of us don't have that luck.

 

What's wrong with hardware UUID overriding? Doesn't work here.

 

SMmembankloc_X and SMmemdevloc_X overriding doesn't work now too.

Why do you want to override the hardware uuid? On the picture, the uuid on bdmesg should be the real hardware uuid of your machine; check bdmesg near the end for this line "Customizing SystemID with :..." and see if it's the same. That uuid is added to ioreg "IODeviceTree:/efi/platform/system-id" in it's real format and "IOService:/IOPlatformUUID" on a converted format for use on System Profiler (Hardware -> Hardware UUID).

 

About SMmembankloc and SMmemdevloc, at least the modules info seems correct; did you tried checking that on Windows with Everest or similar tool? If not, do it and if it doesn't match, get an ioreg dump and file an issue at:

http://forge.voodooprojects.org/p/chameleon/issues/

I had the feeling those were disabled on the old code... not sure...

 

Cheers...

Link to comment
Share on other sites

Seems to work

yep

Buffer location: 0x1000EB1E status: 0
0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x22 0xF0 0xA1 0x26 0x01 0x01 0x01 0x01
0xFF 0xFF 0xFF 0x00 0xF0 0x26 0x01 0x01 0x10 0x03 0x28 0x78 0xD6 0xA2 0x4A 0x24
0xFF 0xFF 0x22 0x26 0x01 0x10 0x80 0x78 0xA5 0x4A 0x14 0xBF 0x71 0x40 0x95 0x01
0xFF 0x00 0x26 0x01 0x03 0x78 0xA2 0x24 0xBF 0x4F 0x00 0x01 0x01 0x29 0x84 0x98
0xFF 0xF0 0x01 0x03 0x2E 0x4A 0x54 0x4F 0x95 0x01 0x9A 0x84 0x36 0x00 0x00 0x1E
0xFF 0x26 0x10 0x78 0x4A 0xBF 0x40 0x01 0x01 0x84 0x00 0x1C 0x37 0x0A 0x20 0x48
0xFF 0x01 0x80 0xA2 0x54 0x40 0x01 0x29 0x50 0x00 0x00 0x0A 0x00 0x20 0x31 0xFF
0x00 0x01 0x78 0x24 0x4F 0x01 0x29 0x98 0x1C 0x1E 0x20 0x48 0x77 0xFF 0x30 0x96
getResolution: 1440x900x32
Buffer location: 0x1000EA66 status: 0
0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x22 0xF0 0xA1 0x26 0x01 0x01 0x01 0x01
0xFF 0xFF 0xFF 0x00 0xF0 0x26 0x01 0x01 0x10 0x03 0x28 0x78 0xD6 0xA2 0x4A 0x24
0xFF 0xFF 0x22 0x26 0x01 0x10 0x80 0x78 0xA5 0x4A 0x14 0xBF 0x71 0x40 0x95 0x01
0xFF 0x00 0x26 0x01 0x03 0x78 0xA2 0x24 0xBF 0x4F 0x00 0x01 0x01 0x29 0x84 0x98
0xFF 0xF0 0x01 0x03 0x2E 0x4A 0x54 0x4F 0x95 0x01 0x9A 0x84 0x36 0x00 0x00 0x1E
0xFF 0x26 0x10 0x78 0x4A 0xBF 0x40 0x01 0x01 0x84 0x00 0x1C 0x37 0x0A 0x20 0x48
0xFF 0x01 0x80 0xA2 0x54 0x40 0x01 0x29 0x50 0x00 0x00 0x0A 0x00 0x20 0x31 0xFF
0x00 0x01 0x78 0x24 0x4F 0x01 0x29 0x98 0x1C 0x1E 0x20 0x48 0x77 0xFF 0x30 0x96

On this matter, what do you think of merging the edid code into boot file instead of a module!?

Meklort, this one is for you too smile.gif

If it doesn't work properly for everyone, we fall back to "Graphics Mode" and Theme.plist, as it's done now.

Link to comment
Share on other sites

On this matter, what do you think of merging the edid code into boot file instead of a module!?

Meklort, this one is for you too smile.gif

If it doesn't work properly for everyone, we fall back to "Graphics Mode" and Theme.plist, as it's done now.

 

Easiest way to merge it into boot is to run make config, find the module, and press Y (Y = compile in, M = module, N = don't compile). IF you want it to be compiled in by default, instead of as a module, change default m to default y in the cconfig file.

Link to comment
Share on other sites

hello, tried 952 with embedded NVIDIAGraphicsEnabler modul but still:

NVIDIA VGA Controller [10de:0dc4] :: PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0) 
nVidia GeForce GTS 450 1024MB NVc3 [10de:0dc4] :: PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)
Bad Display Configuration Block signature (UpUQUU?)
ERROR: nVidia ROM Patching Failed!

Link to comment
Share on other sites

Easiest way to merge it into boot is to run make config, find the module, and press Y (Y = compile in, M = module, N = don't compile). IF you want it to be compiled in by default, instead of as a module, change default m to default y in the cconfig file.

Yeah, i keep forgetting that new stuff; it will take a while before i can test it all.

Anyway, the idea was merging just the EDID stuff (not the Resolution module) as a way to retrieve the native resolution.

Link to comment
Share on other sites

hello, tried 952 with embedded NVIDIAGraphicsEnabler modul but still:...

Hi Carstiman... sorry, only now your post called my attention. Can't help you on that atm; i bought a GT 220 but i'm still not using it and i have no experience with nVidia graphics.

Anyway, i'm glad to know that someone is using these modules... the feedback i get is... well, basically none :P

 

Stay safe...

Link to comment
Share on other sites

Hi Carstiman... sorry, only now your post called my attention. Can't help you on that atm; i bought a GT 220 but i'm still not using it and i have no experience with nVidia graphics.

Anyway, i'm glad to know that someone is using these modules... the feedback i get is... well, basically none :(

 

Stay safe...

 

hi, thx for reply, i just saw that some nVidia user got this message too and that you are working at the enabler.

so i just tried it.

 

could it be that the error comes because of different factory id´s in the rom?

sry, i have less knowledge but i allways test the latest just for fun.

 

here is my latest error make report:

Last login: Tue Jun 7 15:30:38 on console

mac-intels-Mac-Pro:~ macintel$ sudo -s

Password:

bash-3.2# cd /Users/macintel/Desktop/Chazi

bash-3.2# make clean

[RM] /Users/macintel/Desktop/Chazi/obj

[RM] /Users/macintel/Desktop/Chazi/sym

[RM] /Users/macintel/Desktop/Chazi/dst

[RM] /Users/macintel/Desktop/Chazi/revision

[RM] /Users/macintel/Desktop/Chazi/i386/modules/module_includes

[RM] /Users/macintel/Desktop/Chazi/auto.conf

[RM] /Users/macintel/Desktop/Chazi/autoconf.h

[RM] /Users/macintel/Desktop/Chazi/autoconf.inc

bash-3.2# make config

================= make config for i386 =================

================= make config for config =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/config

[MKDIR] /Users/macintel/Desktop/Chazi/sym/i386

[CC32] cconfig.c

[CC64] cconfig.c

[CC32] zconf.tab.c

[CC64] zconf.tab.c

[CC32] yesno.c

[CC64] yesno.c

[CC32] textbox.c

[CC64] textbox.c

[CC32] menubox.c

[CC64] menubox.c

[CC32] checklist.c

[CC64] checklist.c

[CC32] inputbox.c

[CC64] inputbox.c

[LD32] cconfig_32

[LD64] cconfig_64

[LIPO] cconfig

 

 

*** End of the configuration.

*** Execute 'make' to start the build or try 'make help'.

 

bash-3.2# make

================= make all for i386 =================

================= make all for util =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/util

[CC32] dyldsymboltool.c

[CC64] dyldsymboltool.c

[CC32] machOconv.c

[CC64] machOconv.c

[CC32] bdmesg.c

[CC64] bdmesg.c

[LD32] machOconv_32

[LD64] machOconv_64

[LIPO] machOconv

[LD32] dyldsymboltool_32

[LD64] dyldsymboltool_64

[LIPO] dyldsymboltool

[LD32] bdmesg_32

[LD64] bdmesg_64

[LIPO] bdmesg

================= make all for fdisk =================

[CC32] cmd.c

[CC32] disk.c

[CC32] fdisk.c

[CC32] getrawpartition.c

[CC32] mbr.c

[CC32] misc.c

[CC32] opendev.c

[CC32] part.c

[CC32] user.c

[CC32] auto.c

[CC64] cmd.c

[CC64] disk.c

[CC64] fdisk.c

[CC64] getrawpartition.c

[CC64] mbr.c

[CC64] misc.c

[CC64] opendev.c

[CC64] part.c

[CC64] user.c

[CC64] auto.c

[LD32] /Users/macintel/Desktop/Chazi/sym/i386/fdisk440_32

[LD64] /Users/macintel/Desktop/Chazi/sym/i386/fdisk440_64

[LIPO] /Users/macintel/Desktop/Chazi/sym/i386/fdisk440

================= make all for klibc =================

================= make all for uClibcxx =================

================= make all for KernelPatcher =================

================= make all for Memory =================

================= make all for HPET =================

================= make all for GraphicsEnabler/ATiGraphicsEnabler =================

================= make all for GraphicsEnabler/AMDGraphicsEnabler =================

================= make all for GraphicsEnabler/NVIDIAGraphicsEnabler =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386//modules

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/boot2_modules/NVIDIAGraphicsEnabler

[CC] nvidia.c

[CC] NVIDIAGraphicsEnabler.c

[LD] NVIDIAGraphicsEnabler.dylib

================= make all for GraphicsEnabler/IntelGraphicsEnabler =================

================= make all for HelloWorld =================

================= make all for Resolution =================

================= make all for libsa =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/libsa

[CC] prf.c

[CC] printf.c

[CC] zalloc.c

[CC] string.c

[CC] strtol.c

[CC] error.c

[AS] setjmp.s

[CC] qsort.c

[CC] efi_tables.c

[RM] /Users/macintel/Desktop/Chazi/sym/i386/libsa.a

[AR] libsa.a

[RANLIB] libsa.a

================= make all for libsaio =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/libsaio

[CC] table.c

[AS] asm.s

[AS] bios.s

[CC] biosfn.c

[CC] disk.c

[CC] sys.c

[CC] cache.c

[CC] bootstruct.c

[CC] stringTable.c

[CC] load.c

[CC] pci.c

[CC] allocate.c

[CC] misc.c

[CC] ufs.c

[CC] ufs_byteorder.c

[CC] vbe.c

[CC] nbp.c

[CC] hfs.c

[CC] hfs_compare.c

[CC] xml.c

[CC] ntfs.c

[CC] msdos.c

[CC] md5c.c

[CC] device_tree.c

[CC] cpu.c

[CC] platform.c

[CC] acpi_patcher.c

[CC] smbios.c

[CC] smbios_getters.c

[CC] smbios_decode.c

[CC] fake_efi.c

[CC] ext2fs.c

[CC] usb.c

[CC] pci_setup.c

[CC] device_inject.c

[CC] pci_root.c

[CC] convert.c

[CC] aml_generator.c

[CC] console.c

[CC] nvidia_resolution.c

[CC] ati_resolution.c

[CC] gma_resolution.c

[CC] autoresolution.c

[CC] edid.c

[RM] /Users/macintel/Desktop/Chazi/sym/i386/libsaio.a

[AR] libsaio.a

[RANLIB] libsaio.a

ranlib: file: /Users/macintel/Desktop/Chazi/sym/i386/libsaio.a(ufs.o) has no symbols

ranlib: file: /Users/macintel/Desktop/Chazi/sym/i386/libsaio.a(ufs_byteorder.o) has no symbols

================= make all for boot0 =================

[NASM] boot0

[NASM] chain0

================= make all for boot1 =================

[NASM] boot1hp

[NASM] boot1f32

[NASM] boot1h

[NASM] boot1he

================= make all for boot2 =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/boot2

[AS] boot2.s

[CC] boot.c

[CC] graphics.c

[CC] drivers.c

[CC] prompt.c

[CC] options.c

[CC] lzss.c

[CC] mboot.c

[CC] ramdisk.c

[CC] picopng.c

[CC] resume.c

[CC] bmdecompress.c

[CC] graphic_utils.c

[CC] gui.c

[CC] modules.c

[AS] modules_support.s

[CC] /Users/macintel/Desktop/Chazi/sym/i386/boot_modules.c

[LD] boot.sys

[dyldsymboltool] Symbols.dylib

[LD] boot.sys

[dyldsymboltool] Symbols.dylib

[LD] boot.sys

================= Embedding Symbols.dylib =================

[MACHOCONV] boot

******* Patching at 283240 ******

[MACHOCONV] boot

******* boot is 309792 bytes *******

================= make all for cdboot =================

[NASM] cdboot.s

================= make all for modules =================

================= make all for klibc =================

[CC] klibc.c

[CC] __ashldi3.c

[CC] __ashrdi3.c

[CC] __clzsi2.c

[CC] __divdi3.c

[CC] __divsi3.c

[CC] __lshrdi3.c

[CC] __moddi3.c

[CC] __modsi3.c

[CC] __udivdi3.c

[CC] __udivmoddi4.c

[CC] __udivmodsi4.c

[CC] __udivsi3.c

[CC] __umoddi3.c

[CC] __umodsi3.c

[CC] strntoumax.c

[CC] strntoimax.c

[CC] atol.c

[CC] atoll.c

[CC] strcasecmp.c

[CC] strncasecmp.c

[CC] strlcat.c

[CC] strndup.c

[CC] strnlen.c

[CC] strsep.c

[CC] strtoimax.c

[CC] strtok_r.c

[CC] strtok.c

[CC] strtol.c

[CC] strtoll.c

[CC] strtotimespec.c

[CC] strtotimeval.c

[CC] strtoul.c

[CC] strtoull.c

[CC] strtoumax.c

[CC] strxspn.c

[CC] strpbrk.c

[CC] bsearch.c

[CC] calloc.c

[CC] jrand48.c

[CC] lrand48.c

[CC] mrand48.c

[CC] srand48.c

[CC] nrand48.c

[CC] seed48.c

[CC] memccpy.c

[CC] memchr.c

[CC] memmem.c

[CC] memmove.c

[CC] memrchr.c

[CC] memswap.c

[CC] qsort.c

[CC] sha1hash.c

[CC] onexit.c

[CC] atexit.c

[CC] exit.c

[CC] snprintf.c

[CC] vsnprintf.c

[CC] sscanf.c

[CC] vsscanf.c

[LD] klibc.dylib

================= make all for uClibcxx =================

[CC] uClibc++.c

[CPP] abi.cpp

[CPP] algorithm.cpp

[CPP] associative_base.cpp

[CPP] bitset.cpp

[CPP] complex.cpp

[CPP] del_op.cpp

[CPP] del_opnt.cpp

[CPP] del_opv.cpp

[CPP] del_opvnt.cpp

[CPP] deque.cpp

[CPP] eh_alloc.cpp

[CPP] eh_globals.cpp

[CPP] exception.cpp

[CPP] func_exception.cpp

[CPP] iomanip.cpp

[CPP] char_traits.cpp

[CPP] iterator.cpp

[CPP] limits.cpp

[CPP] list.cpp

[CPP] locale.cpp

[CPP] map.cpp

[CPP] new_handler.cpp

[CPP] new_op.cpp

[CPP] new_opnt.cpp

[CPP] new_opv.cpp

[CPP] new_opvnt.cpp

[CPP] numeric.cpp

[CPP] queue.cpp

[CPP] set.cpp

[CPP] stack.cpp

[CPP] stdexcept.cpp

[CPP] streambuf.cpp

[CPP] string.cpp

[CPP] typeinfo.cpp

[CPP] utility.cpp

[CPP] valarray.cpp

[CPP] vector.cpp

[CPP] support.cpp

[CPP] ios.cpp

[CPP] iostream.cpp

[CPP] istream.cpp

[CPP] ostream.cpp

[LD] uClibcxx.dylib

================= make all for KernelPatcher =================

[CC] kernel_patcher.c

[LD] KernelPatcher.dylib

================= make all for Memory =================

[CC] dram_controllers.c

[CC] spd.c

[CC] Memory.c

[LD] Memory.dylib

================= make all for HPET =================

[CC] HPET.c

[LD] HPET.dylib

================= make all for GraphicsEnabler/ATiGraphicsEnabler =================

[CC] ati.c

[CC] ATiGraphicsEnabler.c

[LD] ATiGraphicsEnabler.dylib

================= make all for GraphicsEnabler/AMDGraphicsEnabler =================

[CC] ati.c

[CC] AMDGraphicsEnabler.c

[LD] AMDGraphicsEnabler.dylib

================= make all for GraphicsEnabler/NVIDIAGraphicsEnabler =================

================= make all for GraphicsEnabler/IntelGraphicsEnabler =================

[CC] gma.c

[CC] IntelGraphicsEnabler.c

[LD] IntelGraphicsEnabler.dylib

================= make all for HelloWorld =================

================= make all for Resolution =================

bash-3.2# make clean

[RM] /Users/macintel/Desktop/Chazi/obj

[RM] /Users/macintel/Desktop/Chazi/sym

[RM] /Users/macintel/Desktop/Chazi/dst

[RM] /Users/macintel/Desktop/Chazi/revision

[RM] /Users/macintel/Desktop/Chazi/i386/modules/module_includes

[RM] /Users/macintel/Desktop/Chazi/auto.conf

[RM] /Users/macintel/Desktop/Chazi/autoconf.h

[RM] /Users/macintel/Desktop/Chazi/autoconf.inc

bash-3.2# make config

================= make config for i386 =================

================= make config for config =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/config

[MKDIR] /Users/macintel/Desktop/Chazi/sym/i386

[CC32] cconfig.c

[CC64] cconfig.c

[CC32] zconf.tab.c

[CC64] zconf.tab.c

[CC32] yesno.c

[CC64] yesno.c

[CC32] textbox.c

[CC64] textbox.c

[CC32] menubox.c

[CC64] menubox.c

[CC32] checklist.c

[CC64] checklist.c

[CC32] inputbox.c

[CC64] inputbox.c

[LD32] cconfig_32

[LD64] cconfig_64

[LIPO] cconfig

 

 

*** End of the configuration.

*** Execute 'make' to start the build or try 'make help'.

 

bash-3.2# make

================= make all for i386 =================

================= make all for util =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/util

[CC32] dyldsymboltool.c

[CC64] dyldsymboltool.c

[CC32] machOconv.c

[CC64] machOconv.c

[CC32] bdmesg.c

[CC64] bdmesg.c

[LD32] machOconv_32

[LD64] machOconv_64

[LIPO] machOconv

[LD32] dyldsymboltool_32

[LD64] dyldsymboltool_64

[LIPO] dyldsymboltool

[LD32] bdmesg_32

[LD64] bdmesg_64

[LIPO] bdmesg

================= make all for fdisk =================

[CC32] cmd.c

[CC32] disk.c

[CC32] fdisk.c

[CC32] getrawpartition.c

[CC32] mbr.c

[CC32] misc.c

[CC32] opendev.c

[CC32] part.c

[CC32] user.c

[CC32] auto.c

[CC64] cmd.c

[CC64] disk.c

[CC64] fdisk.c

[CC64] getrawpartition.c

[CC64] mbr.c

[CC64] misc.c

[CC64] opendev.c

[CC64] part.c

[CC64] user.c

[CC64] auto.c

[LD32] /Users/macintel/Desktop/Chazi/sym/i386/fdisk440_32

[LD64] /Users/macintel/Desktop/Chazi/sym/i386/fdisk440_64

[LIPO] /Users/macintel/Desktop/Chazi/sym/i386/fdisk440

================= make all for klibc =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386//modules

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/boot2_modules/klibc

[CC] klibc.c

[CC] __ashldi3.c

[CC] __ashrdi3.c

[CC] __clzsi2.c

[CC] __divdi3.c

[CC] __divsi3.c

[CC] __lshrdi3.c

[CC] __moddi3.c

[CC] __modsi3.c

[CC] __udivdi3.c

[CC] __udivmoddi4.c

[CC] __udivmodsi4.c

[CC] __udivsi3.c

[CC] __umoddi3.c

[CC] __umodsi3.c

[CC] strntoumax.c

[CC] strntoimax.c

[CC] atol.c

[CC] atoll.c

[CC] strcasecmp.c

[CC] strncasecmp.c

[CC] strlcat.c

[CC] strndup.c

[CC] strnlen.c

[CC] strsep.c

[CC] strtoimax.c

[CC] strtok_r.c

[CC] strtok.c

[CC] strtol.c

[CC] strtoll.c

[CC] strtotimespec.c

[CC] strtotimeval.c

[CC] strtoul.c

[CC] strtoull.c

[CC] strtoumax.c

[CC] strxspn.c

[CC] strpbrk.c

[CC] bsearch.c

[CC] calloc.c

[CC] jrand48.c

[CC] lrand48.c

[CC] mrand48.c

[CC] srand48.c

[CC] nrand48.c

[CC] seed48.c

[CC] memccpy.c

[CC] memchr.c

[CC] memmem.c

[CC] memmove.c

[CC] memrchr.c

[CC] memswap.c

[CC] qsort.c

[CC] sha1hash.c

[CC] onexit.c

[CC] atexit.c

[CC] exit.c

[CC] snprintf.c

[CC] vsnprintf.c

[CC] sscanf.c

[CC] vsscanf.c

[LD] klibc.dylib

================= make all for uClibcxx =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/boot2_modules/uClibc++

[CC] uClibc++.c

[CPP] abi.cpp

[CPP] algorithm.cpp

[CPP] associative_base.cpp

[CPP] bitset.cpp

[CPP] complex.cpp

[CPP] del_op.cpp

[CPP] del_opnt.cpp

[CPP] del_opv.cpp

[CPP] del_opvnt.cpp

[CPP] deque.cpp

[CPP] eh_alloc.cpp

[CPP] eh_globals.cpp

[CPP] exception.cpp

[CPP] func_exception.cpp

[CPP] iomanip.cpp

[CPP] char_traits.cpp

[CPP] iterator.cpp

[CPP] limits.cpp

[CPP] list.cpp

[CPP] locale.cpp

[CPP] map.cpp

[CPP] new_handler.cpp

[CPP] new_op.cpp

[CPP] new_opnt.cpp

[CPP] new_opv.cpp

[CPP] new_opvnt.cpp

[CPP] numeric.cpp

[CPP] queue.cpp

[CPP] set.cpp

[CPP] stack.cpp

[CPP] stdexcept.cpp

[CPP] streambuf.cpp

[CPP] string.cpp

[CPP] typeinfo.cpp

[CPP] utility.cpp

[CPP] valarray.cpp

[CPP] vector.cpp

[CPP] support.cpp

[CPP] ios.cpp

[CPP] iostream.cpp

[CPP] istream.cpp

[CPP] ostream.cpp

[LD] uClibcxx.dylib

================= make all for KernelPatcher =================

================= make all for Memory =================

================= make all for HPET =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/boot2_modules/HPET

[CC] HPET.c

[LD] HPET.dylib

================= make all for GraphicsEnabler/ATiGraphicsEnabler =================

================= make all for GraphicsEnabler/AMDGraphicsEnabler =================

================= make all for GraphicsEnabler/NVIDIAGraphicsEnabler =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/boot2_modules/NVIDIAGraphicsEnabler

[CC] nvidia.c

[CC] NVIDIAGraphicsEnabler.c

[LD] NVIDIAGraphicsEnabler.dylib

================= make all for GraphicsEnabler/IntelGraphicsEnabler =================

================= make all for HelloWorld =================

================= make all for Resolution =================

[MKDIR] /Users/macintel/Desktop/Chazi/obj/i386/boot2_modules/Resolution

[CC] Resolution.c

In file included from /Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:21,

from /Users/macintel/Desktop/Chazi/i386/libsaio/vbe.h:39,

from /Users/macintel/Desktop/Chazi/i386/boot2/graphics.h:18,

from /Users/macintel/Desktop/Chazi/i386/boot2/gui.h:14,

from Resolution.c:7:

/Users/macintel/Desktop/Chazi/i386/libsaio/edid.h:22: error: redefinition of ‘struct _edid_mode’

/Users/macintel/Desktop/Chazi/i386/libsaio/edid.h:32: error: redefinition of typedef ‘edid_mode’

include/edid.h:165: error: previous declaration of ‘edid_mode’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/edid.h:35: error: conflicting types for ‘readEDID’

include/edid.h:168: error: previous declaration of ‘readEDID’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/edid.h:36: error: conflicting types for ‘getResolution’

include/edid.h:169: error: previous declaration of ‘getResolution’ was here

In file included from /Users/macintel/Desktop/Chazi/i386/libsaio/vbe.h:39,

from /Users/macintel/Desktop/Chazi/i386/boot2/graphics.h:18,

from /Users/macintel/Desktop/Chazi/i386/boot2/gui.h:14,

from Resolution.c:7:

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:59: error: redeclaration of enumerator ‘CT_UNKNOWN’

915resolution.h:111: error: previous definition of ‘CT_UNKNOWN’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:59: error: redeclaration of enumerator ‘CT_830’

915resolution.h:111: error: previous definition of ‘CT_830’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:59: error: redeclaration of enumerator ‘CT_845G’

915resolution.h:111: error: previous definition of ‘CT_845G’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:59: error: redeclaration of enumerator ‘CT_855GM’

915resolution.h:111: error: previous definition of ‘CT_855GM’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:59: error: redeclaration of enumerator ‘CT_865G’

915resolution.h:111: error: previous definition of ‘CT_865G’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:60: error: redeclaration of enumerator ‘CT_915G’

915resolution.h:112: error: previous definition of ‘CT_915G’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:60: error: redeclaration of enumerator ‘CT_915GM’

915resolution.h:112: error: previous definition of ‘CT_915GM’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:60: error: redeclaration of enumerator ‘CT_945G’

915resolution.h:112: error: previous definition of ‘CT_945G’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:60: error: redeclaration of enumerator ‘CT_945GM’

915resolution.h:112: error: previous definition of ‘CT_945GM’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:60: error: redeclaration of enumerator ‘CT_945GME’

915resolution.h:112: error: previous definition of ‘CT_945GME’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:60: error: redeclaration of enumerator ‘CT_946GZ’

915resolution.h:112: error: previous definition of ‘CT_946GZ’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:61: error: redeclaration of enumerator ‘CT_955X’

915resolution.h:113: error: previous definition of ‘CT_955X’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:61: error: redeclaration of enumerator ‘CT_G965’

915resolution.h:113: error: previous definition of ‘CT_G965’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:61: error: redeclaration of enumerator ‘CT_Q965’

915resolution.h:113: error: previous definition of ‘CT_Q965’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:61: error: redeclaration of enumerator ‘CT_965GM’

915resolution.h:113: error: previous definition of ‘CT_965GM’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:61: error: redeclaration of enumerator ‘CT_975X’

915resolution.h:113: error: previous definition of ‘CT_975X’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:62: error: redeclaration of enumerator ‘CT_P35’

915resolution.h:114: error: previous definition of ‘CT_P35’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:62: error: redeclaration of enumerator ‘CT_X48’

915resolution.h:114: error: previous definition of ‘CT_X48’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:62: error: redeclaration of enumerator ‘CT_B43’

915resolution.h:114: error: previous definition of ‘CT_B43’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:62: error: redeclaration of enumerator ‘CT_Q45’

915resolution.h:114: error: previous definition of ‘CT_Q45’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:62: error: redeclaration of enumerator ‘CT_P45’

915resolution.h:114: error: previous definition of ‘CT_P45’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:63: error: redeclaration of enumerator ‘CT_GM45’

915resolution.h:115: error: previous definition of ‘CT_GM45’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:63: error: redeclaration of enumerator ‘CT_G41’

915resolution.h:115: error: previous definition of ‘CT_G41’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:63: error: redeclaration of enumerator ‘CT_G31’

915resolution.h:115: error: previous definition of ‘CT_G31’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:63: error: redeclaration of enumerator ‘CT_G45’

915resolution.h:115: error: previous definition of ‘CT_G45’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:64: error: redeclaration of enumerator ‘CT_500’

915resolution.h:115: error: previous definition of ‘CT_500’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:68: error: redeclaration of enumerator ‘BT_UNKNOWN’

915resolution.h:121: error: previous definition of ‘BT_UNKNOWN’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:68: error: redeclaration of enumerator ‘BT_1’

915resolution.h:121: error: previous definition of ‘BT_1’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:68: error: redeclaration of enumerator ‘BT_2’

915resolution.h:121: error: previous definition of ‘BT_2’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:68: error: redeclaration of enumerator ‘BT_3’

915resolution.h:121: error: previous definition of ‘BT_3’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:68: error: redeclaration of enumerator ‘BT_ATI_1’

915resolution.h:121: error: previous definition of ‘BT_ATI_1’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:68: error: redeclaration of enumerator ‘BT_ATI_2’

915resolution.h:121: error: previous definition of ‘BT_ATI_2’ was here

/Users/macintel/Desktop/Chazi/i386/libsaio/autoresolution.h:69: error: redeclaration of enumerator ‘BT_NVDA’

915resolution.h:121: error: previous definition of ‘BT_NVDA’ was here

Resolution.c: In function ‘Resolution_start’:

Resolution.c:14: error: too many arguments to function ‘getResolution’

make[3]: *** [/users/macintel/Desktop/Chazi/obj/i386/boot2_modules/Resolution/Resolution.o] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all] Error 2

make: *** [all] Error 2

bash-3.2#

Link to comment
Share on other sites

Hey guys can u list what cards that r supported and working or not working so far??

 

thanks

Easy:

Supported - ATI, nVidia, Intel

Not supported - Matrox, VIA, SIS, .... ;)

Link to comment
Share on other sites

here is my latest error make report:

Ok, let's see:

- you should put that report on a code box rolleyes.gif just a thought...

- that build is from the Chazi folder on my branch, which is my "personal" booter, the one i use on a daily basis;

did you at least gave a look at the FOLDER_README.txt?.. me thinks NO...

- on the same matter, did you read the comment on the last commit i did to that folder r983?.. again, me thinks NOOOO... tongue.gif

 

If you are not into development, stay away from Chazi. Anyway, that build problem is fixed and though i say it's not in an

usable state, it does work but it's not for the "faint of heart" since it's not synced with the trunk yet.

If you want to test GE modules, use the "trunkGraphicsEnablerModules" folder (also in my branch); that's a replica of

the trunk and should work exactly as it, since i keep it synced with it, bugs included tongue.gif

Don't use the GE modules with the trunk and use only one of the modules, the one for your card.

All i've been doing so far is porting Meklort's work; he has a GE module on his branch (which is obsolete) long time ago;

what happened is that i needed the old ATI code for my legacy card (support was left out on the new Kabyl's code) and

as i was working on the it, i decided to do the others to help the guys. The modules should work as the original code but

they are not finished; i still have to decide if i keep the vendors separated; it all depends on whether i manage to merge

the ATI legacy code with the new; if i do, there's no point in keeping the vendors separated.

 

hi, thx for reply, i just saw that some nVidia user got this message too and that you are working at the enabler.

so i just tried it.

 

could it be that the error comes because of different factory id´s in the rom?

Something to do with the "Display Configuration Block signature"... will check it out.

You have the same problem with the trunk (no modules), right?

A reminder; don't compile the booter with XCode 4; the code is still not ready for it.

 

As a side note; i mentioned i bought a GT 220 but i still didn't tested it with OS X. I also got my hands on a lappy

with a GT 540M which i'm going to start hacking as soon as i finish this post and sync the GE and AutoResolution

folders on my branch with the trunk so, i'll have news soon smile.gif

 

About Chameleon repo; you guys need to start differentiating commits to the trunk from commits to the branches!

The last rev on the repository is one thing, the last rev committed to the trunk or a branch is another; you need to look at

the path to know were the changes are being made to. Look at the Change Log; for instance:

- as i'm writing, the latest commit to the repository (985) is also the latest to the trunk;

open the message to see the details; see the path on the File: field...

- now, get back to Change Log and open the last commit made by me (link above)... see the diff on the paths?!

This is all much easier with a decent SVN client; grab e.g. Cornerstone; assuming you already have a checkout of

the trunk, just drag the folder from Finder into the Working Copies browser, select it and hit the Log button at the right bottom;

all you'll see are commits made to the trunk; exit the Log, select a folder or file inside the trunk, hit the Log button again

and all you'll see are commits made to the folder or file... got it!? wink_anim.gif

 

Just one last thing...

when do you guys think of really start using VoodooForums and the issue tracker at the repo, to post issues related with Chameleon??!

I can't speak for the others, but this is one of the last times you'll see me giving support on matters related to Chameleon outside

of VoodooForums! I'm tired of running around from site to site, just to follow issues.

Please give that a thought.

And Carstiman, don't take this last comment personally; this is for everyone, devs included.

 

See ya later...

Hey guys can u list what cards that r supported and working or not working so far??

 

thanks

ATI, nVidia and Intel... not sure if they all work; the only sure way to know is if people feedback.

Link to comment
Share on other sites

Ok, let's see:

ATI, nVidia and Intel... not sure if they all work; the only sure way to know is if people feedback.

 

Hi all.

something I've already asked some time ago bu t no answer.

I'm looking for the code of enabling an older Ati V5250 card, id: 71D4, close to a x1700 mobility.

The framebuffer is wormy, not listed in ati.c.

 

Is there a branch with wormy? Or, more challenging, where can I find an explanation on how to add it myself?

 

Greets

Link to comment
Share on other sites

Hi all.

something I've already asked some time ago bu t no answer.

I'm looking for the code of enabling an older Ati V5250 card, id: 71D4, close to a x1700 mobility.

The framebuffer is wormy, not listed in ati.c.

 

Is there a branch with wormy? Or, more challenging, where can I find an explanation on how to add it myself?

 

Greets

I think GraphicsEnabler in Chameleon is not enough in your case. Binary patching of ATIRadeonX1000.kext needed.

Read this

Link to comment
Share on other sites

I think GraphicsEnabler in Chameleon is not enough in your case. Binary patching of ATIRadeonX1000.kext needed.

Read this

Yep... it's my case with rv516 (X1300/1550, XT1600) dev id 7181; Chameleon just does the device injection.

Link to comment
Share on other sites

Kabyl,

I found a regression in chameleon's handling of smbios memory information with my nvidia-chipset system. Patch #861, included this change:

Index: libsaio/smbios_getters.c
===================================================================
--- libsaio/smbios_getters.c	(revision 860)
+++ libsaio/smbios_getters.c	(working copy)
@@ -247,9 +245,9 @@
		}
	}

-//	return false;
-	value->string = NOT_AVAILABLE;
-	return true;
+	return false;
+//	value->string = NOT_AVAILABLE;
+//	return true;
}

bool getSMBMemoryDeviceSerialNumber(returnType *value)
@@ -269,9 +267,9 @@
		}
	}

-//	return false;
-	value->string = NOT_AVAILABLE;
-	return true;
+	return false;
+//	value->string = NOT_AVAILABLE;
+//	return true;
}

bool getSMBMemoryDevicePartNumber(returnType *value)
@@ -291,9 +289,9 @@
		}
	}

-//	return false;
-	value->string = NOT_AVAILABLE;
-	return true;
+	return false;
+//	value->string = NOT_AVAILABLE;
+//	return true;
}

Prior to this change, my motherboard's memory info could be specified manually in smbios.plist thru the SMmem* keys. With this change, the system errors out on any reporting for the memory section.

 

Hope this is an OK place to report this.

Link to comment
Share on other sites

Kabyl,

I found a regression in chameleon's handling of smbios memory information with my nvidia-chipset system. Patch #861, included this change:

Index: libsaio/smbios_getters.c
===================================================================
--- libsaio/smbios_getters.c	(revision 860)
+++ libsaio/smbios_getters.c	(working copy)
@@ -247,9 +245,9 @@
		}
	}

-//	return false;
-	value->string = NOT_AVAILABLE;
-	return true;
+	return false;
+//	value->string = NOT_AVAILABLE;
+//	return true;
}

bool getSMBMemoryDeviceSerialNumber(returnType *value)
@@ -269,9 +267,9 @@
		}
	}

-//	return false;
-	value->string = NOT_AVAILABLE;
-	return true;
+	return false;
+//	value->string = NOT_AVAILABLE;
+//	return true;
}

bool getSMBMemoryDevicePartNumber(returnType *value)
@@ -291,9 +289,9 @@
		}
	}

-//	return false;
-	value->string = NOT_AVAILABLE;
-	return true;
+	return false;
+//	value->string = NOT_AVAILABLE;
+//	return true;
}

Prior to this change, my motherboard's memory info could be specified manually in smbios.plist thru the SMmem* keys. With this change, the system errors out on any reporting for the memory section.

 

Hope this is an OK place to report this.

I think your issue is related to this:

http://forge.voodooprojects.org/p/chameleo...o/smbios.c#L378

The syntax has changed, there is no underscore.

Link to comment
Share on other sites

I think GraphicsEnabler in Chameleon is not enough in your case. Binary patching of ATIRadeonX1000.kext needed.

Read this

 

Yep... it's my case with rv516 (X1300/1550, XT1600) dev id 7181; Chameleon just does the device injection.

 

 

yep, I know, but in snow I'm forced to use the 10.5 framebuffer because

the 10.6 works differently and with EFI string injection I'm unable to

call the wormy driver (apart of having some issues with edid and blank screens at boot...)

 

 

So I wanted to use chameleons capabilities of injecting dev ids to avoid the efi string.

 

AtiRadeonX1000 patching will be necessary, of course. :)

 

So, still looking for a version of chameleon (or ati.c) with Wormy defined and linked to 71d4.

Any chance?

Link to comment
Share on other sites

I think your issue is related to this:

http://forge.voodooprojects.org/p/chameleo...o/smbios.c#L378

The syntax has changed, there is no underscore.

I am not using any underscores in my smbios.plist. I don't see any syntax change that you're referring to.

When I posted those 3 globs, it was because I was sure that they are what caused the regression. I know this because I checked out r861, tested it (result: failure), reverted those 3 globs, tested (result: success). The current mainline, r1000 also fails.

 

I haven't looked into what your change was for, but I suspect you really want these routines to return a tri-state not a simple true/false.

Link to comment
Share on other sites

yep, I know, but in snow I'm forced to use the 10.5 framebuffer because

the 10.6 works differently and with EFI string injection I'm unable to

call the wormy driver (apart of having some issues with edid and blank screens at boot...)

 

 

So I wanted to use chameleons capabilities of injecting dev ids to avoid the efi string.

 

AtiRadeonX1000 patching will be necessary, of course. ;)

 

So, still looking for a version of chameleon (or ati.c) with Wormy defined and linked to 71d4.

Any chance?

Yeah... i took a look around and i think there's hope for you :)

According to ATI dev id list, there are only 4 dev id's for your card's ASIC (chipset), M66:

{“ ATI MOBILITY FireGL V5250	 ,M66  ,71D4 “}
{“ ATI MOBILITY RADEON X1700	 ,M66  ,71D5 “}
{“ ATI MOBILITY RADEON X1700	 ,M66  ,71DE “} <--- on X1000
{“ ATI MOBILITY RADEON X1700 XT  ,M66  ,71D6 “}

71DE is present on ATIRadeonX1000. I suspect Wormy is not the fb for your card?!.. that's for X1900, which uses dev id's

started by 72. Tell me something.. do you have a Leopard install?

I'll be back later... quite busy now to check anything...

Link to comment
Share on other sites

 Share

×
×
  • Create New...