Jump to content

How to boost the OS X boot process...


1,027 posts in this topic

Recommended Posts

BlackOSX: Great shortcut tool, I'm up for an easy life. I've also cut GFX stuff out of DSDT and replaced it with static efi injection which is definitely more mac-like, and results in a booter which is 3KB smaller.

 

Kabyl: Great to see you here in this thread, I like the recoding of smbios patcher and especially ati graphics injection. It's the only one which worked OOB for my Apple 5770.

 

DHP: You are continuing to do an awesome job :thumbsup_anim:

Link to comment
Share on other sites

Thanks dgsga. I'm just thinking for us here now and anybody who comes along in the future and wants to try Revolution. There are so many directives to set along with patching various source files that it's easy to get lost.

 

Many thanks for this blackosx, this will deffinatly make catch up a lot easier! :rolleyes:

Link to comment
Share on other sites

And it should only get better.

Exciting Times! :D Now have DSDT, ACPI etc all built inside Revolution. Not noticing (yet) any performance gains, but it's tons of fun trying it out and great learning.

Is there any benefit to have EFI stuff such as Graphics via EFI route, as opposed to DSDT compiled into Revo, where DSDT included graphics? I mean in general. In response to an earlier post, I'd removed GFX fixes from DSDT and booted with a Chameleon that sets up both AE and A6 GPU items, then grabbed that EFI table. So in this specific case, I'm thinking EFI table better. And I understand that EFI approach is more Mac-like, but what about more generally?

p.s. You can take out the patched GMA950 & framebuffer kexts with Chameleon?

Patched kexts needed still to actually get accelerated graphics, especially as need bin patch of executable also. DSDT/EFI just injects DPs.

..I mean having everything in one place, and offering a (more) balanced set of default values, that should help people get started more easily.

It it possible - even of perhaps not nice coding standards(?) - to include the various flags of 1/0 in same place also, rather than setting in different files? Like you'll set "1" in private_data and next to that have the actual data, whether EFI, DSDT, SSDT etc?

 

It's nothing special (at least not just yet), but if it helps here then you're welcome.

The all-on-one tool is great! However FYI, the version of smbios2struct I guess is 64bit, as didn't work on ATOM (bad CPU type). NP as had compiled version on this machine. But might be worthwhile to "distribute" 32bit versions to save problems when things get going.

Link to comment
Share on other sites

Many thanks for this blackosx, this will deffinatly make catch up a lot easier! :D

Hi FKA :)

 

You might have a bit of a wait before things are running like clockwork, as this is only the beginning of trying to put some procedures in place to help users try this out. Especially as if DHP might look at restructuring maybe the private_data.h file to help keep everything in one place and also the directive flags which are currently in different source files. (Good suggestion humph. If you didn't request it, I would have done).

 

The all-on-one tool is great! However FYI, the version of smbios2struct I guess is 64bit, as didn't work on ATOM (bad CPU type). NP as had compiled version on this machine. But might be worthwhile to "distribute" 32bit versions to save problems when things get going.

Thanks for mentioning it, though I had no idea it was 64-bit only. I just included the binary from inside the .zip attachment in post #121. Can you post your 32-bit version (as I don't know how to compile it for both, other than using DHP's instructions) and I'll include it in the next version of my package which I have worked a bit more on since this morning but it's not ready for posting yet...

Link to comment
Share on other sites

Hi FKA :D

 

You might have a bit of a wait before things are running like clockwork, as this is only the beginning of trying to put some procedures in place to help users try this out.

 

don't worry I didn't expect clockwork :)

Link to comment
Share on other sites

don't worry I didn't expect clockwork :dev:

Lol.. I know :rolleyes:

 

------------------------

 

UPDATE:

I've been making some updates to the script(s) and the first thing I've done is change the name of the package to Rev_Start as it's aimed at helping get started with Revolution. I see this as a start, though note, there are more steps needed before you will be able to build and boot from Revolution. For now all I can recommend is to read through the whole topic to gain a better understanding.

 

This is planned to be run from your current system booted from Chameleon as Revolution requires you collect some system data for embedding in to it's source code.

 

Changes:

• Tweaked the smbios2struct tool to slighty change the output to better fit private_data.h

• Compiled smbios2struct tool as per the command at the head of the file (please test humph).

• Compiled efidp2struct tool without debug.

• It now attempts to create private_data.h (although it doesn't yet complete the system ID number or acpi base address).

• Changed the way it work with all generated files written to an 'Output' folder.

 

To use:

Unzip the archive, cd to the Rev_Start_v0.1.2 folder and type ./1_MakeStructs.sh, then type ./2_buildPD.sh

Resulting files are in the Output folder.

 

Here's the new package:

attachment=86071:Rev_Start_v0.1.2.zip

Removed because of a newer revision - see this post

Link to comment
Share on other sites

Lol.. I know :rolleyes:

 

------------------------

 

UPDATE:

I've been making some updates to the script(s) and the first thing I've done is change the name of the package to Rev_Start as it's aimed at helping get started with Revolution. I see this as a start, though note, there are more steps needed before you will be able to build and boot from Revolution. For now all I can recommend is to read through the whole topic to gain a better understanding.

 

This is planned to be run from your current system booted from Chameleon as Revolution requires you collect some system data for embedding in to it's source code.

 

Changes:

• Tweaked the smbios2struct tool to slighty change the output to better fit private_data.h

• Compiled smbios2struct tool as per the command at the head of the file (please test humph).

• Compiled efidp2struct tool without debug.

• It now attempts to create private_data.h (although it doesn't yet complete the system ID number or acpi base address).

• Changed the way it work with all generated files written to an 'Output' folder.

 

To use:

Unzip the archive, cd to the Rev_Start_v0.1.2 folder and type ./1_MakeStructs.sh, then type ./2_buildPD.sh

Resulting files are in the Output folder.

 

Here's the new package:

 

Nice work man, getting close keep it up. Just tried it and unfortunately not pulling the smbios (32bit?).

Link to comment
Share on other sites

Thanks for checking it DB1. I'll have a look to see if I can work out how to compile it differently..

 

EDIT:

I can't figure it out, I'm new to compiling C - maybe DHP or humph can compile it properly?

Here's the tweaked source files:

smbios2struct_tweaked.zip

 

The problem I have is the header of smbios2struct reads

cc -I . smbios2struct.c -o smbios2struct -Wall -framework IOKit -framework CoreFoundation

whereas the header of efidp2struct reads

cc -g -arch i386 -arch x86_64 -o efidp2struct efidp2struct.c -framework ApplicationServices -framework IOKit -Wall

which is different. If I try and base the command to build smbios2struct on that of efidp2struct, I get compile errors. :rolleyes:

Link to comment
Share on other sites

What about merging the two files into one? Should be able to finish it for tomorrow morning. Not now.

I like the idea of that..... let's see...

 

Well I've done it and combined both efidp2struct and smbios2struct. It compiles and runs but I need to think about how it outputs the data for my bash script.... so that's for maybe tomorrow.

 

But in doing so, I also worked out how to to re-compile smbios2struct using the command from efidp2struct.c :D

@DB1 - can you test this to see if it runs at your end? if it does then I'll re-package the Rev_Start and post it.

attachment=86077:smbios2struct.zip

 

EDIT:

Thanks for the post below DB1.. and no, it wasn't the site playing up but me messing the attachment up.. Doh!

Here it is again.

smbios2struct.zip

Link to comment
Share on other sites

I like the idea of that..... let's see...

 

Well I've done it and combined both efidp2struct and smbios2struct. It compiles and runs but I need to think about how it outputs the data for my bash script.... so that's for maybe tomorrow.

 

But in doing so, I also worked out how to to re-compile smbios2struct using the command from efidp2struct.c :D

@DB1 - can you test this to see if it runs at your end? if it does then I'll re-package the Rev_Start and post it.

Is the site playing up? Cannot download this! Will try a little later.

 

@blackosx that's the one mate works fine now.

Link to comment
Share on other sites

@blackosx that's the one mate works fine now.

Thanks for the confirmation DB1.

Here's the latest Rev_start with the revised smbios2struct.

Rev_Start_v0.1.3.zip

 

Good morning folks,

 

I think to have run into the same issue that scrax reported about (helping someone here). Stuck at a few lines into verbose mode. Exactly at the same spot it stops for him. Looking into it...

Morning DHP

 

I guess that's good as you'll hopefully identify the problem. Scrax.. watch this space :)

Link to comment
Share on other sites

In this case it was just a static SMBIOS data issue which we fixed.

Easy fix there then.

 

I also moved all device-properties from DSDT/SSDT for him into EFI.xml and converted it with gfxutil.

I need to look at this myself at some point.

 

You know what. His old Asus quad core boots even faster than my Core i7 iMac (:

I'm not surprised as my Core i7 iMac takes longer to boot than I thought it would. I haven't timed it but when I first got it I was like.. how long?.

 

EDIT: Timed my iMac and from chime to throbber takes 11.4 seconds, then gets to desktop at 46.4 seconds.

 

Update: I fail to convert device properties from an XML file with gfxutil because strings show up in the wrong format i.e. <61 62 63> instead of <"abc"> and I don't know how to solve this...

Have a look at the xxd command.

i.e. echo '61 62 63' | xxd -r -p will return abc.

 

I've just used it in my updated Rev_Start script for converting the hex systemID to ASCII to allow it for automatic inclusion in to private_data.h. Only the ACPI Base Address to go then private_data.h can be completely automated... :rolleyes:

Link to comment
Share on other sites

I don't understand where is the fix for smbios data?

I'll try without static SMBIOS data...

I'm using dynamic data gathering in smbios_patcher.c what else I need to check?

 

EDIT: I tried smbos2struct and I get different value form the one I already use in private data. let'z try...

 

Again nothing good here.

I have this in private_data (x'd the serial number):

// Data for fake_efi.c
#define PUT_YOUR_MODEL_NAME_HERE { 'i', 'M', 'a', 'c', '9', ',', '1' }

// Used in boot.c
#define MAC_PRODUCT_NAME "iMac9,1"

#define PUT_YOUR_SYSTEM_SERIAL_NUMBER_HERE { 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x' }

#define PUT_YOUR_SYSTEM_ID_HERE { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }

// Data for smbios/dynamic_data.h
#define PUT_YOUR_SMSERIALNUMBER_HERE "SOMESRLNMBR"

#define	PUT_YOUR_STATIC_ACPI_BASE_ADDRESS_HERE	0xf7d40

#define	PUT_YOUR_SMBIOS_SM_STRUCTURE_SIZE_HERE			127

#define	PUT_YOUR_SMBIOS_DMI_STRUCTURE_COUNT_HERE	42

/* SMBIOS data (0x0170 / 368 values) converted with smbios2struct into little endian format. */
#define PUT_YOUR_SMBIOS_DATA_HERE \
/* 0x0000 */	0x00000000, 0x00000018, 0x00000000, 0x00000000, 0x00000004, 0x00000005, 0x00000000, 0x000000e0, \
/* 0x0008 */	0x00000006, 0x0000000f, 0x00000090, 0x0000009e, 0x000000cb, 0x0000007f, 0x00000000, 0x00000000, \
/* 0x0010 */	0x00000000, 0x00000000, 0x00000033, 0x00000005, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, \
/* 0x0018 */	0x00000050, 0x00000068, 0x0000006f, 0x00000065, 0x0000006e, 0x00000069, 0x00000078, 0x00000020, \
/* 0x0020 */	0x00000054, 0x00000065, 0x00000063, 0x00000068, 0x0000006e, 0x0000006f, 0x0000006c, 0x0000006f, \
/* 0x0028 */	0x00000067, 0x00000069, 0x00000065, 0x00000073, 0x0000002c, 0x00000020, 0x0000004c, 0x00000054, \
/* 0x0030 */	0x00000044, 0x00000000, 0x00000036, 0x0000002e, 0x00000030, 0x00000030, 0x00000020, 0x00000050, \
/* 0x0038 */	0x00000047, 0x00000000, 0x00000030, 0x00000031, 0x0000002f, 0x00000032, 0x00000036, 0x0000002f, \
/* 0x0040 */	0x00000032, 0x00000030, 0x00000031, 0x00000030, 0x00000000, 0x00000041, 0x00000070, 0x00000070, \
/* 0x0048 */	0x0000006c, 0x00000065, 0x00000020, 0x00000043, 0x0000006f, 0x0000006d, 0x00000070, 0x00000075, \
/* 0x0050 */	0x00000074, 0x00000065, 0x00000072, 0x0000002c, 0x00000020, 0x00000049, 0x0000006e, 0x00000063, \
/* 0x0058 */	0x0000002e, 0x00000000, 0x00000049, 0x0000004d, 0x00000039, 0x00000031, 0x0000002e, 0x00000030, \
/* 0x0060 */	0x00000030, 0x00000038, 0x00000044, 0x0000002e, 0x00000042, 0x00000030, 0x00000038, 0x0000002e, \
/* 0x0068 */	0x00000030, 0x00000039, 0x00000030, 0x00000039, 0x00000030, 0x00000033, 0x00000031, 0x00000039, \
/* 0x0070 */	0x00000032, 0x00000036, 0x00000000, 0x00000030, 0x00000034, 0x0000002f, 0x00000030, 0x00000031, \
/* 0x0078 */	0x0000002f, 0x00000032, 0x00000030, 0x00000030, 0x00000038, 0x00000000, 0x00000000, 0x00000001, \
/* 0x0080 */	0x0000001b, 0x00000001, 0x00000000, 0x00000007, 0x00000008, 0x00000009, 0x0000000a, 0x00000000, \
/* 0x0088 */	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, \
/* 0x0090 */	0x00000007, 0x00000006, 0x00000005, 0x00000004, 0x00000003, 0x00000002, 0x00000001, 0x00000006, \
/* 0x0098 */	0x00000005, 0x0000000b, 0x0000004e, 0x00000056, 0x00000049, 0x00000044, 0x00000049, 0x00000041, \
/* 0x00a0 */	0x00000000, 0x0000004d, 0x00000043, 0x00000050, 0x00000037, 0x00000041, 0x00000000, 0x00000032, \
/* 0x00a8 */	0x00000000, 0x00000031, 0x00000000, 0x00000020, 0x00000000, 0x00000020, 0x00000000, 0x00000041, \
/* 0x00b0 */	0x00000070, 0x00000070, 0x0000006c, 0x00000065, 0x00000020, 0x00000049, 0x0000006e, 0x00000063, \
/* 0x00b8 */	0x0000002e, 0x00000020, 0x0000004d, 0x00000061, 0x00000063, 0x0000002d, 0x00000046, 0x00000032, \
/* 0x00c0 */	0x00000032, 0x00000036, 0x00000038, 0x00000043, 0x00000043, 0x00000038, 0x00000000, 0x00000069, \
/* 0x00c8 */	0x0000004d, 0x00000061, 0x00000063, 0x00000039, 0x0000002c, 0x00000031, 0x00000000, 0x00000031, \
/* 0x00d0 */	0x0000002e, 0x00000030, 0x00000000, 0x00000059, 0x0000004d, 0x00000039, 0x00000030, 0x00000032, \
/* 0x00d8 */	0x00000039, 0x00000035, 0x00000035, 0x00000039, 0x00000039, 0x00000058, 0x00000000, 0x00000069, \
/* 0x00e0 */	0x0000004d, 0x00000061, 0x00000063, 0x00000039, 0x0000002c, 0x00000031, 0x00000000, 0x00000000, \
/* 0x00e8 */	0x00000002, 0x00000008, 0x00000002, 0x00000000, 0x00000005, 0x00000006, 0x00000003, 0x00000004, \
/* 0x00f0 */	0x0000004e, 0x00000056, 0x00000049, 0x00000044, 0x00000049, 0x00000041, 0x00000000, 0x0000004d, \
/* 0x00f8 */	0x00000043, 0x00000050, 0x00000037, 0x00000041, 0x00000000, 0x00000032, 0x00000000, 0x00000031, \
/* 0x0100 */	0x00000000, 0x00000041, 0x00000070, 0x00000070, 0x0000006c, 0x00000065, 0x00000020, 0x00000043, \
/* 0x0108 */	0x0000006f, 0x0000006d, 0x00000070, 0x00000075, 0x00000074, 0x00000065, 0x00000072, 0x0000002c, \
/* 0x0110 */	0x00000020, 0x00000049, 0x0000006e, 0x00000063, 0x0000002e, 0x00000000, 0x0000004d, 0x00000061, \
/* 0x0118 */	0x00000063, 0x0000002d, 0x00000046, 0x00000034, 0x00000032, 0x00000030, 0x00000038, 0x00000044, \
/* 0x0120 */	0x00000043, 0x00000038, 0x00000000, 0x00000000, 0x00000003, 0x00000011, 0x00000003, 0x00000000, \
/* 0x0128 */	0x00000001, 0x00000003, 0x00000002, 0x00000003, 0x00000004, 0x00000002, 0x00000002, 0x00000002, \
/* 0x0130 */	0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000004e, 0x00000056, 0x00000049, \
/* 0x0138 */	0x00000044, 0x00000049, 0x00000041, 0x00000000, 0x0000004d, 0x00000043, 0x00000050, 0x00000037, \
/* 0x0140 */	0x00000041, 0x00000000, 0x00000020, 0x00000000, 0x00000020, 0x00000000, 0x00000000, 0x00000004, \
/* 0x0148 */	0x00000028, 0x00000004, 0x00000000, 0x00000001, 0x00000003, 0x000000bf, 0x00000002, 0x00000077, \
/* 0x0150 */	0x00000006, 0x00000001, 0x00000000, 0x000000ff, 0x000000fb, 0x000000eb, 0x000000bf, 0x00000003, \
/* 0x0158 */	0x0000008c, 0x0000004d, 0x00000001, 0x000000c3, 0x00000009, 0x000000c4, 0x00000009, 0x00000041, \
/* 0x0160 */	0x00000004, 0x0000000a, 0x00000000, 0x0000000b, 0x00000000, 0x000000ff, 0x000000ff, 0x00000004, \
/* 0x0168 */	0x00000005, 0x00000006, 0x00000004, 0x00000004, 0x00000004, 0x00000004, 0x00000000, 0x00000053\
/* 0x0170 */

and

#define DYNAMIC_SMBIOS_DATA_GATHERING 0

in smbios_patcher

but I have still the same hang like if I start with

#define DYNAMIC_SMBIOS_DATA_GATHERING 1

Link to comment
Share on other sites

Here it is again...(v1.3)

Works not so fine here also on this ATOM! Well, it runs.

BUT I get same bad output for smbios as scrax. Totally different from (working) manual grab and convert.

 

BTW since smbios and efi is "grabbed" from IOReg, why would we not also do that for DSDT, rather than needing separate .aml file? For 1st Time Users, who have an OK DSDT, it would be way easier. For those seeking to save a few kB you're probably gonna tweak DSDT and load it "Dynamically" until it's optimized, at which point it's available to grab. So might need a prompt to say "grab and use DSDT" y/n and include/exclude from static_data/h (or maybe wait for in future when it's private_data.h and set/reset 1/0 flag also in same).

 

 

I'm not surprised as my Core i7 iMac takes longer to boot than I thought it would. I haven't timed it but when I first got it I was like.. how long?.

I see a trend. My s - l - o - w ATOM boots a bit faster than my C2D MBP! And pretty much same gunk stuff to load as cloned off the MPB's drive. The i5 hack is however blazingly fast compared to both. Roll-on the new MBPs I say...

Link to comment
Share on other sites

I'm not surprised. Have a look at your SMBIOS data. That is simply not right. Way too many zero's in it.

 

Give blackosx's work a try and dump the output here when it fails for you, or try the original version (in case you didn't use it).

OK, so I'll go back to this that is the dump I was using before trying blackosx dump (that one with too many zero)

 

Old dump i had:

/* 0x0000 */	0x00001800, 0xe0000504, 0x9e900f06, 0x00007fcb, 0x05330000, 0xffffffff, 0x656f6850, 0x2078696e, \
/* 0x0008 */	0x68636554, 0x6f6c6f6e, 0x73656967, 0x544c202c, 0x2e360044, 0x50203030, 0x31300047, 0x2f36322f, \
/* 0x0010 */	0x30313032, 0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x4d49002e, 0x302e3139, \
/* 0x0018 */	0x2e443830, 0x2e383042, 0x39303930, 0x39313330, 0x30003632, 0x31302f34, 0x3030322f, 0x01000038, \
/* 0x0020 */	0x0700011b, 0x000a0908, 0x00000000, 0x08000000, 0x04050607, 0x06010203, 0x564e0b05, 0x41494449, \
/* 0x0028 */	0x50434d00, 0x32004137, 0x20003100, 0x41002000, 0x656c7070, 0x636e4920, 0x614d202e, 0x32462d63, \
/* 0x0030 */	0x43383632, 0x69003843, 0x3963614d, 0x3100312c, 0x5900302e, 0x3230394d, 0x39353539, 0x69005839, \
/* 0x0038 */	0x3963614d, 0x0000312c, 0x00020802, 0x04030605, 0x4449564e, 0x4d004149, 0x41375043, 0x31003200, \
/* 0x0040 */	0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x614d002e, 0x34462d63, 0x44383032, \
/* 0x0048 */	0x00003843, 0x00031103, 0x03020301, 0x02020204, 0x00000002, 0x49564e00, 0x00414944, 0x3750434d, \
/* 0x0050 */	0x00200041, 0x04000020, 0x01000428, 0x7702bf03, 0xff000106, 0x03bfebfb, 0xc3014d8c, 0x4109c409, \
/* 0x0058 */	0x0b000a04, 0x04ffff00, 0x04040605, 0x53000404, 0x656b636f, 0x37372074, 0x6e490035, 0x006c6574, \
/* 0x0060 */	0x65746e49, 0x2952286c, 0x726f4320, 0x4d542865, 0x51203229, 0x20646175, 0x20002000, 0x00002000, \
/* 0x0068 */	0x00051805, 0x03030404, 0x14000c05, 0x06040100, 0x08000700, 0x00000900, 0x0c060000, 0x01010006, \
/* 0x0070 */	0x8b00010a, 0x3041008b, 0x0c060000, 0x23010007, 0x8b00010a, 0x3141008b, 0x0c060000, 0xff010008, \
/* 0x0078 */	0x7f00010a, 0x3241007f, 0x0c060000, 0xff010009, 0x7f00010a, 0x3341007f, 0x13070000, 0x8001000a, \
/* 0x0080 */	0x20002001, 0x20002000, 0x04040000, 0x746e4903, 0x616e7265, 0x6143206c, 0x00656863, 0x0b130700, \
/* 0x0088 */	0x01210100, 0x18001800, 0x00200020, 0x03040400, 0x65747845, 0x6c616e72, 0x63614320, 0x00006568, \
/* 0x0090 */	0x000c0908, 0x00001601, 0x495250ff, 0x5952414d, 0x45444920, 0x09080000, 0x1601000d, 0x53ff0000, \
/* 0x0098 */	0x4e4f4345, 0x59524144, 0x45444920, 0x09080000, 0x1701000e, 0x46a10000, 0x00004444, 0x000f0908, \
/* 0x00a0 */	0x08021801, 0x4d4f4307, 0x00200031, 0x10090800, 0x02180100, 0x4f430708, 0x2000324d, 0x09080000, \
/* 0x00a8 */	0x05010011, 0x4c050502, 0x00315450, 0x08000020, 0x01001209, 0x0d0f020f, 0x6279654b, 0x6472616f, \
/* 0x00b0 */	0x00002000, 0x00130908, 0x0f020f01, 0x2f53500e, 0x6f4d2032, 0x00657375, 0x08000020, 0x00001409, \
/* 0x00b8 */	0x10ff0100, 0x30425355, 0x0d090000, 0x06010015, 0x01040305, 0x50010200, 0x00304943, 0x160d0900, \
/* 0x00c0 */	0x05060100, 0x00020403, 0x43500102, 0x00003149, 0x00170d09, 0x03050601, 0x02000304, 0x49435001, \
/* 0x00c8 */	0x09000032, 0x0100180d, 0x040305a5, 0x01020004, 0x33494350, 0x0d090000, 0x06010019, 0x05040305, \
/* 0x00d0 */	0x50010200, 0x00344943, 0x1a160d00, 0x00000300, 0x00000000, 0x00000000, 0x00000000, 0x65010000, \
/* 0x00d8 */	0x53557c6e, 0x6f73697c, 0x39353838, 0x6500312d, 0x53557c6e, 0x6f73697c, 0x39353838, 0x6600312d, \
/* 0x00e0 */	0x41437c72, 0x6f73697c, 0x39353838, 0x6a00312d, 0x504a7c61, 0x696e757c, 0x65646f63, 0x0f100000, \
/* 0x00e8 */	0x0303001b, 0x00000003, 0x04fffe02, 0x11000000, 0x1b001c1b, 0x00fffe00, 0x00ffff0e, 0x01000908, \
/* 0x00f0 */	0x00001302, 0x08070320, 0x30410905, 0x6e614200, 0x312f306b, 0x37463700, 0x37463746, 0x30464546, \
/* 0x00f8 */	0x30303030, 0x30300030, 0x30303030, 0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, \
/* 0x0100 */	0x54003030, 0x206d6165, 0x74696c45, 0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, \
/* 0x0108 */	0x11000037, 0x1b001d1b, 0x13fffe00, 0x00ffff03, 0x01000908, 0x00001302, 0x08070320, 0x31410905, \
/* 0x0110 */	0x6e614200, 0x332f326b, 0x37463700, 0x37463746, 0x30464546, 0x30303030, 0x30300030, 0x30303030, \
/* 0x0118 */	0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, 0x54003030, 0x206d6165, 0x74696c45, \
/* 0x0120 */	0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, 0x11000037, 0x1b001e1b, 0x13fffe00, \
/* 0x0128 */	0x00ffff03, 0x01000900, 0x00001302, 0x08070320, 0x32410905, 0x6e614200, 0x352f346b, 0x6e6f4e00, \
/* 0x0130 */	0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x656e6f4e, 0x412f4e00, 0x412f4e00, 0x412f4e00, 0x1b110000, \
/* 0x0138 */	0x001b001f, 0x0013fffe, 0x0000ffff, 0x02010009, 0x20000013, 0x05080703, 0x00334109, 0x6b6e6142, \
/* 0x0140 */	0x00372f36, 0x656e6f4e, 0x6e6f4e00, 0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x00412f4e, 0x00412f4e, \
/* 0x0148 */	0x00412f4e, 0x20171200, 0x01010100, 0x00000000, 0x80000000, 0x80000000, 0x80000000, 0x0f130000, \
/* 0x0150 */	0x00000021, 0xffff0000, 0x001c003f, 0x14000001, 0x00002213, 0xff000000, 0x1d001fff, 0x01002100, \
/* 0x0158 */	0x00000000, 0x00231314, 0x00200000, 0x003fffff, 0x0021001e, 0x00000001, 0x24131400, 0x00000000, \
/* 0x0160 */	0x00000000, 0x21001f00, 0x00000100, 0x13140000, 0x00000025, 0x00000000, 0x00200000, 0x00010021, \
/* 0x0168 */	0x20000000, 0x0000260b, 0x00000000, 0x00000000, 0x0027047f, 0x06830000, 0x05010028, 0x06840000	\
/* 0x0170 */
Link to comment
Share on other sites

You are right, this also don't work.

I have this smbios dump made with revolution using the last smbios code I posted (the old one) with -x

dump.bin.zip

 

and this from IOREG in smbios->AppleSMBIOS with Chameleon:

 

00 18 00 00 04 05 00 e0 06 0f 90 9e cb 7f 00 00 00 00 33 05 ff ff ff ff 50 68 6f 65 6e 69 78 20 54 65 63 68 6e 6f 6c 6f 67 69 65 73 2c 20 4c 54 44 00 36 2e 30 30 20 50 47 00 30 31 2f 32 36 2f 32 30 31 30 00 41 70 70 6c 65 20 43 6f 6d 70 75 74 65 72 2c 20 49 6e 63 2e 00 49 4d 39 31 2e 30 30 38 44 2e 42 30 38 2e 30 39 30 39 30 33 31 39 32 36 00 30 34 2f 30 31 2f 32 30 30 38 00 00 01 1b 01 00 07 08 09 0a 00 00 00 00 00 00 00 00 08 07 06 05 04 03 02 01 06 05 0b 4e 56 49 44 49 41 00 4d 43 50 37 41 00 32 00 31 00 20 00 20 00 41 70 70 6c 65 20 49 6e 63 2e 20 4d 61 63 2d 46 32 32 36 38 43 43 38 00 69 4d 61 63 39 2c 31 00 31 2e 30 00 59 4d 39 30 32 39 35 35 39 39 58 00 69 4d 61 63 39 2c 31 00 00 02 08 02 00 05 06 03 04 4e 56 49 44 49 41 00 4d 43 50 37 41 00 32 00 31 00 41 70 70 6c 65 20 43 6f 6d 70 75 74 65 72 2c 20 49 6e 63 2e 00 4d 61 63 2d 46 34 32 30 38 44 43 38 00 00 03 11 03 00 01 03 02 03 04 02 02 02 02 00 00 00 00 4e 56 49 44 49 41 00 4d 43 50 37 41 00 20 00 20 00 00 04 28 04 00 01 03 bf 02 77 06 01 00 ff fb eb bf 03 8c 4d 01 c3 09 c4 09 41 04 0a 00 0b 00 ff ff 04 05 06 04 04 04 04 00 53 6f 63 6b 65 74 20 37 37 35 00 49 6e 74 65 6c 00 49 6e 74 65 6c 28 52 29 20 43 6f 72 65 28 54 4d 29 32 20 51 75 61 64 20 00 20 00 20 00 20 00 00 05 18 05 00 04 04 03 03 05 0c 00 14 00 01 04 06 00 07 00 08 00 09 00 00 00 00 06 0c 06 00 01 01 0a 01 00 8b 8b 00 41 30 00 00 06 0c 07 00 01 23 0a 01 00 8b 8b 00 41 31 00 00 06 0c 08 00 01 ff 0a 01 00 7f 7f 00 41 32 00 00 06 0c 09 00 01 ff 0a 01 00 7f 7f 00 41 33 00 00 07 13 0a 00 01 80 01 20 00 20 00 20 00 20 00 00 04 04 03 49 6e 74 65 72 6e 61 6c 20 43 61 63 68 65 00 00 07 13 0b 00 01 21 01 00 18 00 18 20 00 20 00 00 04 04 03 45 78 74 65 72 6e 61 6c 20 43 61 63 68 65 00 00 08 09 0c 00 01 16 00 00 ff 50 52 49 4d 41 52 59 20 49 44 45 00 00 08 09 0d 00 01 16 00 00 ff 53 45 43 4f 4e 44 41 52 59 20 49 44 45 00 00 08 09 0e 00 01 17 00 00 a1 46 44 44 00 00 08 09 0f 00 01 18 02 08 07 43 4f 4d 31 00 20 00 00 08 09 10 00 01 18 02 08 07 43 4f 4d 32 00 20 00 00 08 09 11 00 01 05 02 05 05 4c 50 54 31 00 20 00 00 08 09 12 00 01 0f 02 0f 0d 4b 65 79 62 6f 61 72 64 00 20 00 00 08 09 13 00 01 0f 02 0f 0e 50 53 2f 32 20 4d 6f 75 73 65 00 20 00 00 08 09 14 00 00 00 01 ff 10 55 53 42 30 00 00 09 0d 15 00 01 06 05 03 04 01 00 02 01 50 43 49 30 00 00 09 0d 16 00 01 06 05 03 04 02 00 02 01 50 43 49 31 00 00 09 0d 17 00 01 06 05 03 04 03 00 02 01 50 43 49 32 00 00 09 0d 18 00 01 a5 05 03 04 04 00 02 01 50 43 49 33 00 00 09 0d 19 00 01 06 05 03 04 05 00 02 01 50 43 49 34 00 00 0d 16 1a 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 65 6e 7c 55 53 7c 69 73 6f 38 38 35 39 2d 31 00 65 6e 7c 55 53 7c 69 73 6f 38 38 35 39 2d 31 00 66 72 7c 43 41 7c 69 73 6f 38 38 35 39 2d 31 00 6a 61 7c 4a 50 7c 75 6e 69 63 6f 64 65 00 00 10 0f 1b 00 03 03 03 00 00 00 02 fe ff 04 00 00 00 11 1b 1c 00 1b 00 fe ff 00 0e ff ff 00 08 09 00 01 02 13 00 00 20 03 07 08 05 09 41 30 00 42 61 6e 6b 30 2f 31 00 37 46 37 46 37 46 37 46 45 46 30 30 30 30 30 30 00 30 30 30 30 30 30 30 30 00 4e 6f 6e 65 00 54 65 61 6d 2d 45 6c 69 74 65 2d 38 30 30 00 54 65 61 6d 20 45 6c 69 74 65 00 35 30 4d 33 35 33 52 31 34 4c 00 35 30 4d 33 50 34 52 37 00 00 11 1b 1d 00 1b 00 fe ff 13 03 ff ff 00 08 09 00 01 02 13 00 00 20 03 07 08 05 09 41 31 00 42 61 6e 6b 32 2f 33 00 37 46 37 46 37 46 37 46 45 46 30 30 30 30 30 30 00 30 30 30 30 30 30 30 30 00 4e 6f 6e 65 00 54 65 61 6d 2d 45 6c 69 74 65 2d 38 30 30 00 54 65 61 6d 20 45 6c 69 74 65 00 35 30 4d 33 35 33 52 31 34 4c 00 35 30 4d 33 50 34 52 37 00 00 11 1b 1e 00 1b 00 fe ff 13 03 ff ff 00 00 09 00 01 02 13 00 00 20 03 07 08 05 09 41 32 00 42 61 6e 6b 34 2f 35 00 4e 6f 6e 65 00 4e 6f 6e 65 00 4e 6f 6e 65 00 4e 6f 6e 65 00 4e 2f 41 00 4e 2f 41 00 4e 2f 41 00 00 11 1b 1f 00 1b 00 fe ff 13 00 ff ff 00 00 09 00 01 02 13 00 00 20 03 07 08 05 09 41 33 00 42 61 6e 6b 36 2f 37 00 4e 6f 6e 65 00 4e 6f 6e 65 00 4e 6f 6e 65 00 4e 6f 6e 65 00 4e 2f 41 00 4e 2f 41 00 4e 2f 41 00 00 12 17 20 00 01 01 01 00 00 00 00 00 00 00 80 00 00 00 80 00 00 00 80 00 00 13 0f 21 00 00 00 00 00 ff ff 3f 00 1c 00 01 00 00 14 13 22 00 00 00 00 00 ff ff 1f 00 1d 00 21 00 01 00 00 00 00 14 13 23 00 00 00 20 00 ff ff 3f 00 1e 00 21 00 01 00 00 00 00 14 13 24 00 00 00 00 00 00 00 00 00 1f 00 21 00 01 00 00 00 00 14 13 25 00 00 00 00 00 00 00 00 00 20 00 21 00 01 00 00 00 00 20 0b 26 00 00 00 00 00 00 00 00 00 00 7f 04 27 00 00 00 83 06 28 00 01 05 00 00 84 06 29 00 00 00 00 00

 

Ioreg is here:

iMac_di_Scrax.ioreg.zip

 

 

Using smbios2struc you posted long time ago I get this from chameleon:

 

tomaremac:~ scriz$ /Users/scriz/Downloads/Revolution-634OLD/smbios_patch/smbios/smbios2struct; exit;

#define	SM_STRUCTURE_SIZE	127
#define	DMI_STRUCTURE_COUNT	42

/* SMBIOS data (0x0170 / 368 values) converted with smbios2struct into little endian format. */
static uint32_t SMBIOS_Table[] = 
{
/* 0x0000 */	0x00001800, 0xe0000504, 0x9e900f06, 0x00007fcb, 0x05330000, 0xffffffff, 0x656f6850, 0x2078696e, 
/* 0x0008 */	0x68636554, 0x6f6c6f6e, 0x73656967, 0x544c202c, 0x2e360044, 0x50203030, 0x31300047, 0x2f36322f, 
/* 0x0010 */	0x30313032, 0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x4d49002e, 0x302e3139, 
/* 0x0018 */	0x2e443830, 0x2e383042, 0x39303930, 0x39313330, 0x30003632, 0x31302f34, 0x3030322f, 0x01000038, 
/* 0x0020 */	0x0700011b, 0x000a0908, 0x00000000, 0x08000000, 0x04050607, 0x06010203, 0x564e0b05, 0x41494449, 
/* 0x0028 */	0x50434d00, 0x32004137, 0x20003100, 0x41002000, 0x656c7070, 0x636e4920, 0x614d202e, 0x32462d63, 
/* 0x0030 */	0x43383632, 0x69003843, 0x3963614d, 0x3100312c, 0x5900302e, 0x3230394d, 0x39353539, 0x69005839, 
/* 0x0038 */	0x3963614d, 0x0000312c, 0x00020802, 0x04030605, 0x4449564e, 0x4d004149, 0x41375043, 0x31003200, 
/* 0x0040 */	0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x614d002e, 0x34462d63, 0x44383032, 
/* 0x0048 */	0x00003843, 0x00031103, 0x03020301, 0x02020204, 0x00000002, 0x49564e00, 0x00414944, 0x3750434d, 
/* 0x0050 */	0x00200041, 0x04000020, 0x01000428, 0x7702bf03, 0xff000106, 0x03bfebfb, 0xc3014d8c, 0x4109c409, 
/* 0x0058 */	0x0b000a04, 0x04ffff00, 0x04040605, 0x53000404, 0x656b636f, 0x37372074, 0x6e490035, 0x006c6574, 
/* 0x0060 */	0x65746e49, 0x2952286c, 0x726f4320, 0x4d542865, 0x51203229, 0x20646175, 0x20002000, 0x00002000, 
/* 0x0068 */	0x00051805, 0x03030404, 0x14000c05, 0x06040100, 0x08000700, 0x00000900, 0x0c060000, 0x01010006, 
/* 0x0070 */	0x8b00010a, 0x3041008b, 0x0c060000, 0x23010007, 0x8b00010a, 0x3141008b, 0x0c060000, 0xff010008, 
/* 0x0078 */	0x7f00010a, 0x3241007f, 0x0c060000, 0xff010009, 0x7f00010a, 0x3341007f, 0x13070000, 0x8001000a, 
/* 0x0080 */	0x20002001, 0x20002000, 0x04040000, 0x746e4903, 0x616e7265, 0x6143206c, 0x00656863, 0x0b130700, 
/* 0x0088 */	0x01210100, 0x18001800, 0x00200020, 0x03040400, 0x65747845, 0x6c616e72, 0x63614320, 0x00006568, 
/* 0x0090 */	0x000c0908, 0x00001601, 0x495250ff, 0x5952414d, 0x45444920, 0x09080000, 0x1601000d, 0x53ff0000, 
/* 0x0098 */	0x4e4f4345, 0x59524144, 0x45444920, 0x09080000, 0x1701000e, 0x46a10000, 0x00004444, 0x000f0908, 
/* 0x00a0 */	0x08021801, 0x4d4f4307, 0x00200031, 0x10090800, 0x02180100, 0x4f430708, 0x2000324d, 0x09080000, 
/* 0x00a8 */	0x05010011, 0x4c050502, 0x00315450, 0x08000020, 0x01001209, 0x0d0f020f, 0x6279654b, 0x6472616f, 
/* 0x00b0 */	0x00002000, 0x00130908, 0x0f020f01, 0x2f53500e, 0x6f4d2032, 0x00657375, 0x08000020, 0x00001409, 
/* 0x00b8 */	0x10ff0100, 0x30425355, 0x0d090000, 0x06010015, 0x01040305, 0x50010200, 0x00304943, 0x160d0900, 
/* 0x00c0 */	0x05060100, 0x00020403, 0x43500102, 0x00003149, 0x00170d09, 0x03050601, 0x02000304, 0x49435001, 
/* 0x00c8 */	0x09000032, 0x0100180d, 0x040305a5, 0x01020004, 0x33494350, 0x0d090000, 0x06010019, 0x05040305, 
/* 0x00d0 */	0x50010200, 0x00344943, 0x1a160d00, 0x00000300, 0x00000000, 0x00000000, 0x00000000, 0x65010000, 
/* 0x00d8 */	0x53557c6e, 0x6f73697c, 0x39353838, 0x6500312d, 0x53557c6e, 0x6f73697c, 0x39353838, 0x6600312d, 
/* 0x00e0 */	0x41437c72, 0x6f73697c, 0x39353838, 0x6a00312d, 0x504a7c61, 0x696e757c, 0x65646f63, 0x0f100000, 
/* 0x00e8 */	0x0303001b, 0x00000003, 0x04fffe02, 0x11000000, 0x1b001c1b, 0x00fffe00, 0x00ffff0e, 0x01000908, 
/* 0x00f0 */	0x00001302, 0x08070320, 0x30410905, 0x6e614200, 0x312f306b, 0x37463700, 0x37463746, 0x30464546, 
/* 0x00f8 */	0x30303030, 0x30300030, 0x30303030, 0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, 
/* 0x0100 */	0x54003030, 0x206d6165, 0x74696c45, 0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, 
/* 0x0108 */	0x11000037, 0x1b001d1b, 0x13fffe00, 0x00ffff03, 0x01000908, 0x00001302, 0x08070320, 0x31410905, 
/* 0x0110 */	0x6e614200, 0x332f326b, 0x37463700, 0x37463746, 0x30464546, 0x30303030, 0x30300030, 0x30303030, 
/* 0x0118 */	0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, 0x54003030, 0x206d6165, 0x74696c45, 
/* 0x0120 */	0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, 0x11000037, 0x1b001e1b, 0x13fffe00, 
/* 0x0128 */	0x00ffff03, 0x01000900, 0x00001302, 0x08070320, 0x32410905, 0x6e614200, 0x352f346b, 0x6e6f4e00, 
/* 0x0130 */	0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x656e6f4e, 0x412f4e00, 0x412f4e00, 0x412f4e00, 0x1b110000, 
/* 0x0138 */	0x001b001f, 0x0013fffe, 0x0000ffff, 0x02010009, 0x20000013, 0x05080703, 0x00334109, 0x6b6e6142, 
/* 0x0140 */	0x00372f36, 0x656e6f4e, 0x6e6f4e00, 0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x00412f4e, 0x00412f4e, 
/* 0x0148 */	0x00412f4e, 0x20171200, 0x01010100, 0x00000000, 0x80000000, 0x80000000, 0x80000000, 0x0f130000, 
/* 0x0150 */	0x00000021, 0xffff0000, 0x001c003f, 0x14000001, 0x00002213, 0xff000000, 0x1d001fff, 0x01002100, 
/* 0x0158 */	0x00000000, 0x00231314, 0x00200000, 0x003fffff, 0x0021001e, 0x00000001, 0x24131400, 0x00000000, 
/* 0x0160 */	0x00000000, 0x21001f00, 0x00000100, 0x13140000, 0x00000025, 0x00000000, 0x00200000, 0x00010021, 
/* 0x0168 */	0x20000000, 0x0000260b, 0x00000000, 0x00000000, 0x0027047f, 0x06830000, 0x05010028, 0x06840000
/* 0x0170 */	
};
logout

[Processo completato]

 

I think that this last part is missing but don't know how to add it correctly: 29 00 00 00 00 00

maybe like this:

0x00000029, 0x0000 (not working)

or

0x00000029, 0x00000000 (not working)

Link to comment
Share on other sites

....that is the dump I was using before trying blackosx dump (that one with too many zero)
BUT I get same bad output for smbios as scrax. Totally different from (working) manual grab and convert.

Ooops.. That must be a result of my change to smbios2struct to get it compiled differently without warnings. Sorry.

Maybe DHP can fix this problem? There warning I get is:

smbios2struct.c:114: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘UInt32’

I currently have it so it compiles with warnings, but this version runs as it should without all the zeros giving the same values as DHP's originally posted version, just with tweaked output to allow it to slot straight in to private_data.h

 

smbios2struct_blackosx_tweak.zip

 

BTW since smbios and efi is "grabbed" from IOReg, why would we not also do that for DSDT, rather than needing separate .aml file? For 1st Time Users, who have an OK DSDT, it would be way easier.

Good idea humph, that makes sense.

Link to comment
Share on other sites

Almost. Try this: 0x00000029, 0x00000000

Still nothing with this:

#define	PUT_YOUR_SMBIOS_SM_STRUCTURE_SIZE_HERE	127

#define	PUT_YOUR_SMBIOS_DMI_STRUCTURE_COUNT_HERE	42

/* SMBIOS data (0x0170 / 368 values) converted with smbios2struct into little endian format. */
#define PUT_YOUR_SMBIOS_DATA_HERE \
/* 0x0000 */	0x00001800, 0xe0000504, 0x9e900f06, 0x00007fcb, 0x05330000, 0xffffffff, 0x656f6850, 0x2078696e, \
/* 0x0008 */	0x68636554, 0x6f6c6f6e, 0x73656967, 0x544c202c, 0x2e360044, 0x50203030, 0x31300047, 0x2f36322f, \
/* 0x0010 */	0x30313032, 0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x4d49002e, 0x302e3139, \
/* 0x0018 */	0x2e443830, 0x2e383042, 0x39303930, 0x39313330, 0x30003632, 0x31302f34, 0x3030322f, 0x01000038, \
/* 0x0020 */	0x0700011b, 0x000a0908, 0x00000000, 0x08000000, 0x04050607, 0x06010203, 0x564e0b05, 0x41494449, \
/* 0x0028 */	0x50434d00, 0x32004137, 0x20003100, 0x41002000, 0x656c7070, 0x636e4920, 0x614d202e, 0x32462d63, \
/* 0x0030 */	0x43383632, 0x69003843, 0x3963614d, 0x3100312c, 0x5900302e, 0x3230394d, 0x39353539, 0x69005839, \
/* 0x0038 */	0x3963614d, 0x0000312c, 0x00020802, 0x04030605, 0x4449564e, 0x4d004149, 0x41375043, 0x31003200, \
/* 0x0040 */	0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x614d002e, 0x34462d63, 0x44383032, \
/* 0x0048 */	0x00003843, 0x00031103, 0x03020301, 0x02020204, 0x00000002, 0x49564e00, 0x00414944, 0x3750434d, \
/* 0x0050 */	0x00200041, 0x04000020, 0x01000428, 0x7702bf03, 0xff000106, 0x03bfebfb, 0xc3014d8c, 0x4109c409, \
/* 0x0058 */	0x0b000a04, 0x04ffff00, 0x04040605, 0x53000404, 0x656b636f, 0x37372074, 0x6e490035, 0x006c6574, \
/* 0x0060 */	0x65746e49, 0x2952286c, 0x726f4320, 0x4d542865, 0x51203229, 0x20646175, 0x20002000, 0x00002000, \
/* 0x0068 */	0x00051805, 0x03030404, 0x14000c05, 0x06040100, 0x08000700, 0x00000900, 0x0c060000, 0x01010006, \
/* 0x0070 */	0x8b00010a, 0x3041008b, 0x0c060000, 0x23010007, 0x8b00010a, 0x3141008b, 0x0c060000, 0xff010008, \
/* 0x0078 */	0x7f00010a, 0x3241007f, 0x0c060000, 0xff010009, 0x7f00010a, 0x3341007f, 0x13070000, 0x8001000a, \
/* 0x0080 */	0x20002001, 0x20002000, 0x04040000, 0x746e4903, 0x616e7265, 0x6143206c, 0x00656863, 0x0b130700, \
/* 0x0088 */	0x01210100, 0x18001800, 0x00200020, 0x03040400, 0x65747845, 0x6c616e72, 0x63614320, 0x00006568, \
/* 0x0090 */	0x000c0908, 0x00001601, 0x495250ff, 0x5952414d, 0x45444920, 0x09080000, 0x1601000d, 0x53ff0000, \
/* 0x0098 */	0x4e4f4345, 0x59524144, 0x45444920, 0x09080000, 0x1701000e, 0x46a10000, 0x00004444, 0x000f0908, \
/* 0x00a0 */	0x08021801, 0x4d4f4307, 0x00200031, 0x10090800, 0x02180100, 0x4f430708, 0x2000324d, 0x09080000, \
/* 0x00a8 */	0x05010011, 0x4c050502, 0x00315450, 0x08000020, 0x01001209, 0x0d0f020f, 0x6279654b, 0x6472616f, \
/* 0x00b0 */	0x00002000, 0x00130908, 0x0f020f01, 0x2f53500e, 0x6f4d2032, 0x00657375, 0x08000020, 0x00001409, \
/* 0x00b8 */	0x10ff0100, 0x30425355, 0x0d090000, 0x06010015, 0x01040305, 0x50010200, 0x00304943, 0x160d0900, \
/* 0x00c0 */	0x05060100, 0x00020403, 0x43500102, 0x00003149, 0x00170d09, 0x03050601, 0x02000304, 0x49435001, \
/* 0x00c8 */	0x09000032, 0x0100180d, 0x040305a5, 0x01020004, 0x33494350, 0x0d090000, 0x06010019, 0x05040305, \
/* 0x00d0 */	0x50010200, 0x00344943, 0x1a160d00, 0x00000300, 0x00000000, 0x00000000, 0x00000000, 0x65010000, \
/* 0x00d8 */	0x53557c6e, 0x6f73697c, 0x39353838, 0x6500312d, 0x53557c6e, 0x6f73697c, 0x39353838, 0x6600312d, \
/* 0x00e0 */	0x41437c72, 0x6f73697c, 0x39353838, 0x6a00312d, 0x504a7c61, 0x696e757c, 0x65646f63, 0x0f100000, \
/* 0x00e8 */	0x0303001b, 0x00000003, 0x04fffe02, 0x11000000, 0x1b001c1b, 0x00fffe00, 0x00ffff0e, 0x01000908, \
/* 0x00f0 */	0x00001302, 0x08070320, 0x30410905, 0x6e614200, 0x312f306b, 0x37463700, 0x37463746, 0x30464546, \
/* 0x00f8 */	0x30303030, 0x30300030, 0x30303030, 0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, \
/* 0x0100 */	0x54003030, 0x206d6165, 0x74696c45, 0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, \
/* 0x0108 */	0x11000037, 0x1b001d1b, 0x13fffe00, 0x00ffff03, 0x01000908, 0x00001302, 0x08070320, 0x31410905, \
/* 0x0110 */	0x6e614200, 0x332f326b, 0x37463700, 0x37463746, 0x30464546, 0x30303030, 0x30300030, 0x30303030, \
/* 0x0118 */	0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, 0x54003030, 0x206d6165, 0x74696c45, \
/* 0x0120 */	0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, 0x11000037, 0x1b001e1b, 0x13fffe00, \
/* 0x0128 */	0x00ffff03, 0x01000900, 0x00001302, 0x08070320, 0x32410905, 0x6e614200, 0x352f346b, 0x6e6f4e00, \
/* 0x0130 */	0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x656e6f4e, 0x412f4e00, 0x412f4e00, 0x412f4e00, 0x1b110000, \
/* 0x0138 */	0x001b001f, 0x0013fffe, 0x0000ffff, 0x02010009, 0x20000013, 0x05080703, 0x00334109, 0x6b6e6142, \
/* 0x0140 */	0x00372f36, 0x656e6f4e, 0x6e6f4e00, 0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x00412f4e, 0x00412f4e, \
/* 0x0148 */	0x00412f4e, 0x20171200, 0x01010100, 0x00000000, 0x80000000, 0x80000000, 0x80000000, 0x0f130000, \
/* 0x0150 */	0x00000021, 0xffff0000, 0x001c003f, 0x14000001, 0x00002213, 0xff000000, 0x1d001fff, 0x01002100, \
/* 0x0158 */	0x00000000, 0x00231314, 0x00200000, 0x003fffff, 0x0021001e, 0x00000001, 0x24131400, 0x00000000, \
/* 0x0160 */	0x00000000, 0x21001f00, 0x00000100, 0x13140000, 0x00000025, 0x00000000, 0x00200000, 0x00010021, \
/* 0x0168 */	0x20000000, 0x0000260b, 0x00000000, 0x00000000, 0x0027047f, 0x06830000, 0x05010028, 0x06840000,	\
/* 0x0170 */	0x00000029, 0x00000000

 

last from blackosx:

	/* 0x0000 */	0x00001800, 0xe0000504, 0x9e900f06, 0x00007fcb, 0x05330000, 0xffffffff, 0x656f6850, 0x2078696e, \
/* 0x0008 */	0x68636554, 0x6f6c6f6e, 0x73656967, 0x544c202c, 0x2e360044, 0x50203030, 0x31300047, 0x2f36322f, \
/* 0x0010 */	0x30313032, 0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x4d49002e, 0x302e3139, \
/* 0x0018 */	0x2e443830, 0x2e383042, 0x39303930, 0x39313330, 0x30003632, 0x31302f34, 0x3030322f, 0x01000038, \
/* 0x0020 */	0x0700011b, 0x000a0908, 0x00000000, 0x08000000, 0x04050607, 0x06010203, 0x564e0b05, 0x41494449, \
/* 0x0028 */	0x50434d00, 0x32004137, 0x20003100, 0x41002000, 0x656c7070, 0x636e4920, 0x614d202e, 0x32462d63, \
/* 0x0030 */	0x43383632, 0x69003843, 0x3963614d, 0x3100312c, 0x5900302e, 0x3230394d, 0x39353539, 0x69005839, \
/* 0x0038 */	0x3963614d, 0x0000312c, 0x00020802, 0x04030605, 0x4449564e, 0x4d004149, 0x41375043, 0x31003200, \
/* 0x0040 */	0x70704100, 0x4320656c, 0x75706d6f, 0x2c726574, 0x636e4920, 0x614d002e, 0x34462d63, 0x44383032, \
/* 0x0048 */	0x00003843, 0x00031103, 0x03020301, 0x02020204, 0x00000002, 0x49564e00, 0x00414944, 0x3750434d, \
/* 0x0050 */	0x00200041, 0x04000020, 0x01000428, 0x7702bf03, 0xff000106, 0x03bfebfb, 0xc3014d8c, 0x4109c409, \
/* 0x0058 */	0x0b000a04, 0x04ffff00, 0x04040605, 0x53000404, 0x656b636f, 0x37372074, 0x6e490035, 0x006c6574, \
/* 0x0060 */	0x65746e49, 0x2952286c, 0x726f4320, 0x4d542865, 0x51203229, 0x20646175, 0x20002000, 0x00002000, \
/* 0x0068 */	0x00051805, 0x03030404, 0x14000c05, 0x06040100, 0x08000700, 0x00000900, 0x0c060000, 0x01010006, \
/* 0x0070 */	0x8b00010a, 0x3041008b, 0x0c060000, 0x23010007, 0x8b00010a, 0x3141008b, 0x0c060000, 0xff010008, \
/* 0x0078 */	0x7f00010a, 0x3241007f, 0x0c060000, 0xff010009, 0x7f00010a, 0x3341007f, 0x13070000, 0x8001000a, \
/* 0x0080 */	0x20002001, 0x20002000, 0x04040000, 0x746e4903, 0x616e7265, 0x6143206c, 0x00656863, 0x0b130700, \
/* 0x0088 */	0x01210100, 0x18001800, 0x00200020, 0x03040400, 0x65747845, 0x6c616e72, 0x63614320, 0x00006568, \
/* 0x0090 */	0x000c0908, 0x00001601, 0x495250ff, 0x5952414d, 0x45444920, 0x09080000, 0x1601000d, 0x53ff0000, \
/* 0x0098 */	0x4e4f4345, 0x59524144, 0x45444920, 0x09080000, 0x1701000e, 0x46a10000, 0x00004444, 0x000f0908, \
/* 0x00a0 */	0x08021801, 0x4d4f4307, 0x00200031, 0x10090800, 0x02180100, 0x4f430708, 0x2000324d, 0x09080000, \
/* 0x00a8 */	0x05010011, 0x4c050502, 0x00315450, 0x08000020, 0x01001209, 0x0d0f020f, 0x6279654b, 0x6472616f, \
/* 0x00b0 */	0x00002000, 0x00130908, 0x0f020f01, 0x2f53500e, 0x6f4d2032, 0x00657375, 0x08000020, 0x00001409, \
/* 0x00b8 */	0x10ff0100, 0x30425355, 0x0d090000, 0x06010015, 0x01040305, 0x50010200, 0x00304943, 0x160d0900, \
/* 0x00c0 */	0x05060100, 0x00020403, 0x43500102, 0x00003149, 0x00170d09, 0x03050601, 0x02000304, 0x49435001, \
/* 0x00c8 */	0x09000032, 0x0100180d, 0x040305a5, 0x01020004, 0x33494350, 0x0d090000, 0x06010019, 0x05040305, \
/* 0x00d0 */	0x50010200, 0x00344943, 0x1a160d00, 0x00000300, 0x00000000, 0x00000000, 0x00000000, 0x65010000, \
/* 0x00d8 */	0x53557c6e, 0x6f73697c, 0x39353838, 0x6500312d, 0x53557c6e, 0x6f73697c, 0x39353838, 0x6600312d, \
/* 0x00e0 */	0x41437c72, 0x6f73697c, 0x39353838, 0x6a00312d, 0x504a7c61, 0x696e757c, 0x65646f63, 0x0f100000, \
/* 0x00e8 */	0x0303001b, 0x00000003, 0x04fffe02, 0x11000000, 0x1b001c1b, 0x00fffe00, 0x00ffff0e, 0x01000908, \
/* 0x00f0 */	0x00001302, 0x08070320, 0x30410905, 0x6e614200, 0x312f306b, 0x37463700, 0x37463746, 0x30464546, \
/* 0x00f8 */	0x30303030, 0x30300030, 0x30303030, 0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, \
/* 0x0100 */	0x54003030, 0x206d6165, 0x74696c45, 0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, \
/* 0x0108 */	0x11000037, 0x1b001d1b, 0x13fffe00, 0x00ffff03, 0x01000908, 0x00001302, 0x08070320, 0x31410905, \
/* 0x0110 */	0x6e614200, 0x332f326b, 0x37463700, 0x37463746, 0x30464546, 0x30303030, 0x30300030, 0x30303030, \
/* 0x0118 */	0x4e003030, 0x00656e6f, 0x6d616554, 0x696c452d, 0x382d6574, 0x54003030, 0x206d6165, 0x74696c45, \
/* 0x0120 */	0x30350065, 0x3335334d, 0x4c343152, 0x4d303500, 0x52345033, 0x11000037, 0x1b001e1b, 0x13fffe00, \
/* 0x0128 */	0x00ffff03, 0x01000900, 0x00001302, 0x08070320, 0x32410905, 0x6e614200, 0x352f346b, 0x6e6f4e00, \
/* 0x0130 */	0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x656e6f4e, 0x412f4e00, 0x412f4e00, 0x412f4e00, 0x1b110000, \
/* 0x0138 */	0x001b001f, 0x0013fffe, 0x0000ffff, 0x02010009, 0x20000013, 0x05080703, 0x00334109, 0x6b6e6142, \
/* 0x0140 */	0x00372f36, 0x656e6f4e, 0x6e6f4e00, 0x6f4e0065, 0x4e00656e, 0x00656e6f, 0x00412f4e, 0x00412f4e, \
/* 0x0148 */	0x00412f4e, 0x20171200, 0x01010100, 0x00000000, 0x80000000, 0x80000000, 0x80000000, 0x0f130000, \
/* 0x0150 */	0x00000021, 0xffff0000, 0x001c003f, 0x14000001, 0x00002213, 0xff000000, 0x1d001fff, 0x01002100, \
/* 0x0158 */	0x00000000, 0x00231314, 0x00200000, 0x003fffff, 0x0021001e, 0x00000001, 0x24131400, 0x00000000, \
/* 0x0160 */	0x00000000, 0x21001f00, 0x00000100, 0x13140000, 0x00000025, 0x00000000, 0x00200000, 0x00010021, \
/* 0x0168 */	0x20000000, 0x0000260b, 0x00000000, 0x00000000, 0x0027047f, 0x06830000, 0x05010028, 0x06840000 \

Link to comment
Share on other sites

The person I helped earlier today e-mailed me and said that he couldn't open preview files anymore, and his menu bar is no longer transparent. Everything also seems a bit sloppy.

 

Using the SSDT with the same data in it for his 9800GT, then the problems are gone again. I check NVDAResman after he e-mailed me and it matches on 'NVDA,NVMac' which is why I think that having <4e 56 44 41 2c 4e 56 4d 61 63> instead of <"NVDA,NVMac"> in IORegistryExplorer might be the problem.

So is this happening when you inject the efi device-properties for video?

Link to comment
Share on other sites

Yup. And looking at the data in device-properties I would say that we are missing something.Not a 100% match. Data in Chameleon is fine he said. Just not when you (have to) do things manually.

I'll check the efi properties on my hack this evening booting from both Chameleon and Revolution to see if I can see a difference.

 

last from blackosx:

I see with the smbios2struct I posted you're still missing the last 6 bytes?.. which is the same output you get with the original smbios2struct that DHP posted in post #121.. Am I right in saying that?

Link to comment
Share on other sites

No zero madness. Works here. And about the (64-bit) compiler warning. Use a cast like so:

printf("0x%08x", (unsigned int)smbiosData[index++]);

No zero's in that one as I changed it before posting :)

Thanks for the cast tip.. I'll try it a bit later as I have to leave shortly.

 

EDIT:

Added the cast and it complies without errors. Thanks DHP :)

Link to comment
Share on other sites

 Share

×
×
  • Create New...