Jump to content

How to boost the OS X boot process...


  • Please log in to reply
1109 replies to this topic

#1081
humph

humph

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
Hi DHP & co,

Been a bit busy past weeks, but finally got around to building the latest from github (47ac4c2). All working OK here on Atom netbook. Unfortunately never got the i5/P55 machine sorted and now it's back in storage, but following the trials and tribulations of FKA etc here, as sounds like same problem I was seeing.

Keep up the great work!

#1082
iLeopod

iLeopod

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 435 posts
  • Gender:Male
  • Location:Germany
  • Interests:ileopod.wordpress.com
I use this bootloader atm on my desktop machine. Like u see in my signature i have no intel chipset. I hardcoded DSDT (not stripped down yet) and SMBIOS. The pre boot process is very fast now.
Now my question:

Will it boost the boot process if i strip down the dsdt an exclude the patches ins ssdt's and efi-strings on my hardware?

#1083
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu

Hi DHP & co,

Been a bit busy past weeks, but finally got around to building the latest from github (47ac4c2). All working OK here on Atom netbook. Unfortunately never got the i5/P55 machine sorted and now it's back in storage, but following the trials and tribulations of FKA etc here, as sounds like same problem I was seeing.

Keep up the great work!

Hi Hump!

I have been busy trying to setup my new system and ran into the same boot problem scrax and FKA reported. I had no clue as to what it could be, but my system boots fine again with this little change in ACPI/patcher.h
-patchedXSDT->Length -= ADDRESS_WIDTH * (dropOffset - newTableEntries);
+patchedXSDT->Length -= (ADDRESS_WIDTH * dropOffset);
Sorry gentlemen that it took me so long, but I got side tracked by so many new things... but luckily you all know how hard it is to focus with all this new stuff that is going on lately. Anyway. Have fun :)

I use this bootloader atm on my desktop machine. Like u see in my signature i have no intel chipset. I hardcoded DSDT (not stripped down yet) and SMBIOS. The pre boot process is very fast now.
Now my question:

Will it boost the boot process if i strip down the dsdt an exclude the patches ins ssdt's and efi-strings on my hardware?

Hi,

Most certainly. Setting device properties from your DSDT is dog slow. Might be simpler, but a heck lot slower. And yes, the less you have to load (smaller booter) the faster it is.

#1084
iLeopod

iLeopod

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 435 posts
  • Gender:Male
  • Location:Germany
  • Interests:ileopod.wordpress.com
Hi DHP,
I've now created an efi-string with all what was before a DSM method(now removed from DSDT). Is there also a tool to covert it (xml/hex) directly to little-endian format?

My netbook would be perfect for RevoBoot, but i get memory allocation error. What could be the problem?

#1085
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu

Hi DHO,
I've now created an efi-string with all what was before a DSM method(now removed from DSDT). Is there also a tool to covert it (xml/hex) directly to little-endian format?

Yup. It's called gfxutil

My netbook would be perfect for RevoBoot, but i get memory allocation error. What could be the problem?

Set #define SAFE_MALLOC to 1 in config/settings.h hence the text: "Change this to 1 when booting halts with a memory allocation error.".

#1086
iLeopod

iLeopod

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 435 posts
  • Gender:Male
  • Location:Germany
  • Interests:ileopod.wordpress.com
Hi DHP,

Yup. It's called gfxutil

I now that tool already. Can i just coping the following to ./EFi/data.h :
760900000100000008000000720100000900000002010c00d041030a0100000001010600000f01010600000a7fff0400100000006d006f00640065006c000000110000004e657467656172205733313154180000006400650076006900630065002d00690064000000080000001c0000001c00000063006c006100730073002d0063006f006400650063000000080000000080020018000000760065006e0064006f0072002d00690064000000080000008c1600002c000000730075006200730079007300740065006d002d00760065006e0064006f0072002d00690064000000080000006b1000001e000000730075006200730079007300740065006d002d006900640000000800000087000000220000004100410050004c002c0073006c006f0074002d006e0061006d00650000000b000000416972506f7274160000006200750069006c0074002d0069006e00000005000000001c0000006400650076006900630065002d00740079007000650000000b000000416972506f72743c0000000100000002010c00d041030a0100000001010600000f0101060000077fff04001000000066007700680075006200000008000000000000001c0100000600000002010c00d041030a0100000001010600010b7fff0400160000006200750069006c0074002d0069006e0000000500000000180000006400650076006900630065002d0069006400000008000000a60a0000300000004100410050004c002c00630075007200720065006e0074002d0069006e002d0073006c00650065007000000006000000a00f2a0000004100410050004c002c00630075007200720065006e0074002d00650078007400720061000000060000004c04200000004100410050004c002c0063006c006f0063006b002d006900640000000500000001320000004100410050004c002c00630075007200720065006e0074002d0061007600610069006c00610062006c006500000006000000a00f230100000700000002010c00d041030a0100000001010600010f7fff040028000000500069006e0043006f006e00660069006700750072006100740069006f006e0073000000040000001c0000007200650076006900730069006f006e002d00690064000000080000000100000018000000760065006e0064006f0072002d006900640000000800000086800000180000006c00610079006f00750074002d0069006400000008000000750300002c000000730075006200730079007300740065006d002d00760065006e0064006f0072002d0069006400000008000000581400001e000000730075006200730079007300740065006d002d006900640000000800000002a00000160000006200750069006c0074002d0069006e0000000500000000dc0000000400000002010c00d041030a0100000001010600000b7fff04002a0000004100410050004c002c00630075007200720065006e0074002d00650078007400720061000000060000004c04180000006400650076006900630065002d0069006400000008000000a50a0000300000004100410050004c002c00630075007200720065006e0074002d0069006e002d0073006c00650065007000000006000000a00f320000004100410050004c002c00630075007200720065006e0074002d0061007600610069006c00610062006c006500000006000000a00f5a0000000200000002010c00d041030a0100000001010600010a7fff0400180000006400650076006900630065002d0069006400000008000000a20a00000e0000006e0061006d00650000000e000000706369313064656161325a0000000200000002010c00d041030a0100000001010600000a7fff0400180000006400650076006900630065002d0069006400000008000000600300000e0000006e0061006d00650000000e00000070636931306465333630ed0300001600000002010c00d041030a010000000101060000030101060000007fff0400220000004100410050004c002c0073006c006f0074002d006e0061006d00650000000a000000536c6f742d3122000000400032002c006400650076006900630065005f0074007900700065000000120000004e5644412c6770752d64696f64650e0000004e00560050004d00000020000000010000000000000000000000000000000000000000000000000000001e00000072006f006d002d007200650076006900730069006f006e000000090000003331373261100000004e00560043004100500000001800000004000000000003000c000000000000070000000022000000400032002c002300730069007a0065002d00630065006c006c0073000000080000000000000022000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c0000001a0000004e5649444941204765466f726365203938303020475414000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4120000000400032002c0063006f006d00700061007400690062006c0065000000160000004e5644412c73656e736f722d706172656e741c0000006400650076006900630065005f0074007900700065000000100000004e5644412c4765466f72636514000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4212000000400032002c007200650067000000080000000000000220000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616326000000400032002c0023006100640072006500730073002d00630065006c006c007300000008000000000000010e0000006e0061006d00650000000f0000004e5644412c506172656e7422000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617920000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163220000005600520041004d002c0074006f00740061006c00730069007a0065000000080000000000002036000000400032002c00680077006300740072006c002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000214000000400032002c006e0061006d00650000001100000073656e736f722d706172656e743a000000400032002c0068007700730065006e0073006f0072002d0070006100720061006d0073002d00760065007200730069006f006e0000000800000000000002

Set #define SAFE_MALLOC to 1 in config/settings.h hence the text: "Change this to 1 when booting halts with a memory allocation error.".

Dosen't solve issue but get now following debug code:
Memory Allocation Error! Addr=0x0, Size=0x8000, File=cache.c, Line=94

Thank you and happy Eastern

#1087
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets
I'm trying to do the same thing, injecting the gfx string for my gpu.

How do we convert gfxutil's ouput to a struct Revo can use?


Edit: I did a bash one-liner to convert hex into struct and a format to paste it into data.h.

The problem is that it doesn't work. Either converting the hex-string gfxutil is giving me or directly converting the xml plist.

Do I need to craft a plist with device-properties key and paste the hex-string, then have that converted into a struct?

[codebox]xxd -i -c 8 $1 |tail -n +2 |sed 'N;$!P;$!D;$d' | sed 's/$/ \\/' | sed '$s/.$//'[/codebox]

#1088
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu
Yah. Your script works fine for me. Right after using:
sudo ./gfxutil [-s -n] -i xml -o bin efi.xml efi.bin
Note: The two options between the brackets are optional.

#1089
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male
Hi all ;)
I'm trying to inject my efi device-properties in EFI/data.h without success.
I first create an .plist with info regarding vga (8800GT), audio (ALC892) and firewire.
Did not inject nothing regarding ethernet (RTL8111E) because I don't use it.
This in my .plist:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict>    <key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key> // 8800GT    <dict>        <key>@0,AAPL,boot-display</key>        <string>0x00000001</string>        <key>@0,compatible</key>        <data>        TlZEQSxOVk1hYwA=        </data>        <key>@0,device_type</key>        <data>        ZGlzcGxheQA=        </data>        <key>@0,display-cfg</key>        <string>0xffffffff</string>        <key>@0,name</key>        <data>        TlZEQSxEaXNwbGF5LUEA        </data>        <key>@1,compatible</key>        <data>        TlZEQSxOVk1hYwA=        </data>        <key>@1,connector-type</key>        <string>0x00000800</string>        <key>@1,device_type</key>        <data>        ZGlzcGxheQA=        </data>        <key>@1,display-cfg</key>        <string>0xffffffff</string>        <key>@1,name</key>        <data>        TlZEQSxEaXNwbGF5LUIA        </data>        <key>AAPL,slot-name</key>        <string>Slot-1</string>        <key>NVCAP</key>        <data>        BAAAAAAAAwAcAAAAAAAACgAAAAA=        </data>        <key>NVPM</key>        <data>        AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==        </data>        <key>VRAM,totalsize</key>        <string>0x20000000</string>        <key>device_type</key>        <data>        TlZEQSxQYXJlbnQA        </data>        <key>model</key>        <data>        R2VGb3JjZSA4ODAwIEdUAA==        </data>        <key>rom-revision</key>        <data>        NjIuOTIuMjQuMDAuMDAA        </data>    </dict>    <key>PciRoot(0x0)/Pci(0x1B,0x0)</key> // ALC892    <dict>        <key>PinConfigurations</key>        <data>        AA==        </data>        <key>layout-id</key>        <data>        fAMAAA==        </data>        <key>subsystem-id</key>        <data>        oAAAAA==        </data>        <key>subsystem-vendor-id</key>        <data>        axAAAA==        </data>    </dict>    <key>PciRoot(0x0)/Pci(0x1E,0x0)/Pci(0x3,0x0)</key> // firewire    <dict>        <key>fw-hub</key>        <data>        AAAAAA==        </data>    </dict></dict></plist>
Then with GFXUtil I converted the plist in an hex.
I the used flAked's command line (see Post #1087) to convert the out.hex generated from GFXUtil to a properly RevoBoot format:
iHack-di-Mr-Mojo-Risin:~ mrmojorisin17$ xxd -i -c 8 /Users/mrmojorisin17/Desktop/out.hex |tail -n +2 |sed 'N;$!P;$!D;$d' | sed 's/$/ \\/' | sed '$s/.$//'  0x32, 0x32, 0x30, 0x34, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x31, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x33, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x33, 0x30, 0x33, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x31, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x32, 0x30, 0x31, 0x30, 0x63, 0x30, 0x30, \  0x64, 0x30, 0x34, 0x31, 0x30, 0x33, 0x30, 0x61, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x31, 0x30, 0x31, 0x30, 0x36, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x31, 0x30, 0x31, 0x30, 0x31, \  0x30, 0x36, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x37, 0x66, 0x66, 0x66, 0x30, 0x34, 0x30, 0x30, \  0x32, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x30, 0x30, 0x30, 0x33, 0x31, 0x30, 0x30, \  0x32, 0x63, 0x30, 0x30, 0x36, 0x33, 0x30, 0x30, \  0x36, 0x66, 0x30, 0x30, 0x36, 0x65, 0x30, 0x30, \  0x36, 0x65, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x36, 0x33, 0x30, 0x30, 0x37, 0x34, 0x30, 0x30, \  0x36, 0x66, 0x30, 0x30, 0x37, 0x32, 0x30, 0x30, \  0x32, 0x64, 0x30, 0x30, 0x37, 0x34, 0x30, 0x30, \  0x37, 0x39, 0x30, 0x30, 0x37, 0x30, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x38, 0x30, 0x30, 0x30, 0x30, \  0x32, 0x32, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x30, 0x30, 0x30, 0x33, 0x30, 0x30, 0x30, \  0x32, 0x63, 0x30, 0x30, 0x36, 0x34, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x37, 0x36, 0x30, 0x30, \  0x36, 0x39, 0x30, 0x30, 0x36, 0x33, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x35, 0x66, 0x30, 0x30, \  0x37, 0x34, 0x30, 0x30, 0x37, 0x39, 0x30, 0x30, \  0x37, 0x30, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x63, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x36, 0x34, 0x36, 0x39, \  0x37, 0x33, 0x37, 0x30, 0x36, 0x63, 0x36, 0x31, \  0x37, 0x39, 0x30, 0x30, 0x31, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x34, 0x65, 0x30, 0x30, \  0x35, 0x36, 0x30, 0x30, 0x34, 0x33, 0x30, 0x30, \  0x34, 0x31, 0x30, 0x30, 0x35, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x31, 0x38, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x33, 0x30, 0x30, 0x31, 0x63, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x61, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x32, 0x32, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x34, 0x30, 0x30, 0x30, \  0x33, 0x30, 0x30, 0x30, 0x32, 0x63, 0x30, 0x30, \  0x36, 0x34, 0x30, 0x30, 0x36, 0x39, 0x30, 0x30, \  0x37, 0x33, 0x30, 0x30, 0x37, 0x30, 0x30, 0x30, \  0x36, 0x63, 0x30, 0x30, 0x36, 0x31, 0x30, 0x30, \  0x37, 0x39, 0x30, 0x30, 0x32, 0x64, 0x30, 0x30, \  0x36, 0x33, 0x30, 0x30, 0x36, 0x36, 0x30, 0x30, \  0x36, 0x37, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, \  0x31, 0x34, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x30, 0x30, 0x30, 0x33, 0x30, 0x30, 0x30, \  0x32, 0x63, 0x30, 0x30, 0x36, 0x65, 0x30, 0x30, \  0x36, 0x31, 0x30, 0x30, 0x36, 0x64, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x33, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x65, 0x35, 0x36, 0x34, 0x34, 0x34, 0x31, \  0x32, 0x63, 0x34, 0x34, 0x36, 0x39, 0x37, 0x33, \  0x37, 0x30, 0x36, 0x63, 0x36, 0x31, 0x37, 0x39, \  0x32, 0x64, 0x34, 0x31, 0x30, 0x30, 0x31, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x36, 0x64, \  0x30, 0x30, 0x36, 0x66, 0x30, 0x30, 0x36, 0x34, \  0x30, 0x30, 0x36, 0x35, 0x30, 0x30, 0x36, 0x63, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x34, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x37, \  0x36, 0x35, 0x34, 0x36, 0x36, 0x66, 0x37, 0x32, \  0x36, 0x33, 0x36, 0x35, 0x32, 0x30, 0x33, 0x38, \  0x33, 0x38, 0x33, 0x30, 0x33, 0x30, 0x32, 0x30, \  0x34, 0x37, 0x35, 0x34, 0x30, 0x30, 0x32, 0x65, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x30, \  0x30, 0x30, 0x33, 0x30, 0x30, 0x30, 0x32, 0x63, \  0x30, 0x30, 0x34, 0x31, 0x30, 0x30, 0x34, 0x31, \  0x30, 0x30, 0x35, 0x30, 0x30, 0x30, 0x34, 0x63, \  0x30, 0x30, 0x32, 0x63, 0x30, 0x30, 0x36, 0x32, \  0x30, 0x30, 0x36, 0x66, 0x30, 0x30, 0x36, 0x66, \  0x30, 0x30, 0x37, 0x34, 0x30, 0x30, 0x32, 0x64, \  0x30, 0x30, 0x36, 0x34, 0x30, 0x30, 0x36, 0x39, \  0x30, 0x30, 0x37, 0x33, 0x30, 0x30, 0x37, 0x30, \  0x30, 0x30, 0x36, 0x63, 0x30, 0x30, 0x36, 0x31, \  0x30, 0x30, 0x37, 0x39, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x38, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x31, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x65, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x34, 0x65, 0x30, 0x30, 0x35, 0x36, \  0x30, 0x30, 0x35, 0x30, 0x30, 0x30, 0x34, 0x64, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x34, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x30, \  0x30, 0x30, 0x33, 0x31, 0x30, 0x30, 0x32, 0x63, \  0x30, 0x30, 0x36, 0x65, 0x30, 0x30, 0x36, 0x31, \  0x30, 0x30, 0x36, 0x64, 0x30, 0x30, 0x36, 0x35, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x33, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x65, \  0x35, 0x36, 0x34, 0x34, 0x34, 0x31, 0x32, 0x63, \  0x34, 0x34, 0x36, 0x39, 0x37, 0x33, 0x37, 0x30, \  0x36, 0x63, 0x36, 0x31, 0x37, 0x39, 0x32, 0x64, \  0x34, 0x32, 0x30, 0x30, 0x32, 0x32, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x35, 0x36, 0x30, 0x30, \  0x35, 0x32, 0x30, 0x30, 0x34, 0x31, 0x30, 0x30, \  0x34, 0x64, 0x30, 0x30, 0x32, 0x63, 0x30, 0x30, \  0x37, 0x34, 0x30, 0x30, 0x36, 0x66, 0x30, 0x30, \  0x37, 0x34, 0x30, 0x30, 0x36, 0x31, 0x30, 0x30, \  0x36, 0x63, 0x30, 0x30, 0x37, 0x33, 0x30, 0x30, \  0x36, 0x39, 0x30, 0x30, 0x37, 0x61, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, 0x30, \  0x32, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x30, 0x30, 0x30, 0x33, 0x31, 0x30, 0x30, \  0x32, 0x63, 0x30, 0x30, 0x36, 0x33, 0x30, 0x30, \  0x36, 0x66, 0x30, 0x30, 0x36, 0x64, 0x30, 0x30, \  0x37, 0x30, 0x30, 0x30, 0x36, 0x31, 0x30, 0x30, \  0x37, 0x34, 0x30, 0x30, 0x36, 0x39, 0x30, 0x30, \  0x36, 0x32, 0x30, 0x30, 0x36, 0x63, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x66, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x65, 0x35, 0x36, 0x34, 0x34, 0x34, 0x31, \  0x32, 0x63, 0x34, 0x65, 0x35, 0x36, 0x34, 0x64, \  0x36, 0x31, 0x36, 0x33, 0x30, 0x30, 0x32, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x30, \  0x30, 0x30, 0x33, 0x30, 0x30, 0x30, 0x32, 0x63, \  0x30, 0x30, 0x36, 0x33, 0x30, 0x30, 0x36, 0x66, \  0x30, 0x30, 0x36, 0x64, 0x30, 0x30, 0x37, 0x30, \  0x30, 0x30, 0x36, 0x31, 0x30, 0x30, 0x37, 0x34, \  0x30, 0x30, 0x36, 0x39, 0x30, 0x30, 0x36, 0x32, \  0x30, 0x30, 0x36, 0x63, 0x30, 0x30, 0x36, 0x35, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x66, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x65, \  0x35, 0x36, 0x34, 0x34, 0x34, 0x31, 0x32, 0x63, \  0x34, 0x65, 0x35, 0x36, 0x34, 0x64, 0x36, 0x31, \  0x36, 0x33, 0x30, 0x30, 0x32, 0x32, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x34, 0x30, 0x30, 0x30, \  0x33, 0x31, 0x30, 0x30, 0x32, 0x63, 0x30, 0x30, \  0x36, 0x34, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x37, 0x36, 0x30, 0x30, 0x36, 0x39, 0x30, 0x30, \  0x36, 0x33, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x35, 0x66, 0x30, 0x30, 0x37, 0x34, 0x30, 0x30, \  0x37, 0x39, 0x30, 0x30, 0x37, 0x30, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x63, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x36, 0x34, 0x36, 0x39, 0x37, 0x33, 0x37, 0x30, \  0x36, 0x63, 0x36, 0x31, 0x37, 0x39, 0x30, 0x30, \  0x31, 0x63, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x36, 0x34, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x37, 0x36, 0x30, 0x30, 0x36, 0x39, 0x30, 0x30, \  0x36, 0x33, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x35, 0x66, 0x30, 0x30, 0x37, 0x34, 0x30, 0x30, \  0x37, 0x39, 0x30, 0x30, 0x37, 0x30, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x65, 0x35, 0x36, 0x34, 0x34, 0x34, 0x31, \  0x32, 0x63, 0x35, 0x30, 0x36, 0x31, 0x37, 0x32, \  0x36, 0x35, 0x36, 0x65, 0x37, 0x34, 0x30, 0x30, \  0x32, 0x32, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x34, 0x30, 0x30, 0x30, 0x33, 0x31, 0x30, 0x30, \  0x32, 0x63, 0x30, 0x30, 0x36, 0x34, 0x30, 0x30, \  0x36, 0x39, 0x30, 0x30, 0x37, 0x33, 0x30, 0x30, \  0x37, 0x30, 0x30, 0x30, 0x36, 0x63, 0x30, 0x30, \  0x36, 0x31, 0x30, 0x30, 0x37, 0x39, 0x30, 0x30, \  0x32, 0x64, 0x30, 0x30, 0x36, 0x33, 0x30, 0x30, \  0x36, 0x36, 0x30, 0x30, 0x36, 0x37, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x38, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x66, 0x66, 0x66, 0x66, \  0x66, 0x66, 0x66, 0x66, 0x32, 0x32, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x30, 0x30, \  0x34, 0x31, 0x30, 0x30, 0x35, 0x30, 0x30, 0x30, \  0x34, 0x63, 0x30, 0x30, 0x32, 0x63, 0x30, 0x30, \  0x37, 0x33, 0x30, 0x30, 0x36, 0x63, 0x30, 0x30, \  0x36, 0x66, 0x30, 0x30, 0x37, 0x34, 0x30, 0x30, \  0x32, 0x64, 0x30, 0x30, 0x36, 0x65, 0x30, 0x30, \  0x36, 0x31, 0x30, 0x30, 0x36, 0x64, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x61, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x35, 0x33, 0x36, 0x63, 0x36, 0x66, 0x37, 0x34, \  0x32, 0x64, 0x33, 0x31, 0x31, 0x65, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x37, 0x32, 0x30, 0x30, \  0x36, 0x66, 0x30, 0x30, 0x36, 0x64, 0x30, 0x30, \  0x32, 0x64, 0x30, 0x30, 0x37, 0x32, 0x30, 0x30, \  0x36, 0x35, 0x30, 0x30, 0x37, 0x36, 0x30, 0x30, \  0x36, 0x39, 0x30, 0x30, 0x37, 0x33, 0x30, 0x30, \  0x36, 0x39, 0x30, 0x30, 0x36, 0x66, 0x30, 0x30, \  0x36, 0x65, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x33, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x33, 0x36, 0x33, 0x32, 0x32, 0x65, 0x33, 0x39, \  0x33, 0x32, 0x32, 0x65, 0x33, 0x32, 0x33, 0x34, \  0x32, 0x65, 0x33, 0x30, 0x33, 0x30, 0x32, 0x65, \  0x33, 0x30, 0x33, 0x30, 0x30, 0x30, 0x33, 0x65, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, \  0x30, 0x31, 0x30, 0x63, 0x30, 0x30, 0x64, 0x30, \  0x34, 0x31, 0x30, 0x33, 0x30, 0x61, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, \  0x30, 0x31, 0x30, 0x36, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x65, 0x30, 0x31, 0x30, 0x31, 0x30, 0x36, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x37, 0x66, \  0x66, 0x66, 0x30, 0x34, 0x30, 0x30, 0x31, 0x32, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x36, 0x36, \  0x30, 0x30, 0x37, 0x37, 0x30, 0x30, 0x32, 0x64, \  0x30, 0x30, 0x36, 0x38, 0x30, 0x30, 0x37, 0x35, \  0x30, 0x30, 0x36, 0x32, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x38, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x63, 0x35, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x34, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x32, 0x30, 0x31, 0x30, 0x63, \  0x30, 0x30, 0x64, 0x30, 0x34, 0x31, 0x30, 0x33, \  0x30, 0x61, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x31, 0x30, 0x31, 0x30, 0x36, \  0x30, 0x30, 0x30, 0x30, 0x31, 0x62, 0x37, 0x66, \  0x66, 0x66, 0x30, 0x34, 0x30, 0x30, 0x32, 0x38, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x35, 0x30, \  0x30, 0x30, 0x36, 0x39, 0x30, 0x30, 0x36, 0x65, \  0x30, 0x30, 0x34, 0x33, 0x30, 0x30, 0x36, 0x66, \  0x30, 0x30, 0x36, 0x65, 0x30, 0x30, 0x36, 0x36, \  0x30, 0x30, 0x36, 0x39, 0x30, 0x30, 0x36, 0x37, \  0x30, 0x30, 0x37, 0x35, 0x30, 0x30, 0x37, 0x32, \  0x30, 0x30, 0x36, 0x31, 0x30, 0x30, 0x37, 0x34, \  0x30, 0x30, 0x36, 0x39, 0x30, 0x30, 0x36, 0x66, \  0x30, 0x30, 0x36, 0x65, 0x30, 0x30, 0x37, 0x33, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x35, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x36, 0x63, 0x30, 0x30, 0x36, 0x31, 0x30, 0x30, \  0x37, 0x39, 0x30, 0x30, 0x36, 0x66, 0x30, 0x30, \  0x37, 0x35, 0x30, 0x30, 0x37, 0x34, 0x30, 0x30, \  0x32, 0x64, 0x30, 0x30, 0x36, 0x39, 0x30, 0x30, \  0x36, 0x34, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x37, 0x63, 0x30, 0x33, 0x30, 0x30, 0x30, 0x30, \  0x32, 0x63, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x37, 0x33, 0x30, 0x30, 0x37, 0x35, 0x30, 0x30, \  0x36, 0x32, 0x30, 0x30, 0x37, 0x33, 0x30, 0x30, \  0x37, 0x39, 0x30, 0x30, 0x37, 0x33, 0x30, 0x30, \  0x37, 0x34, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x36, 0x64, 0x30, 0x30, 0x32, 0x64, 0x30, 0x30, \  0x37, 0x36, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x36, 0x65, 0x30, 0x30, 0x36, 0x34, 0x30, 0x30, \  0x36, 0x66, 0x30, 0x30, 0x37, 0x32, 0x30, 0x30, \  0x32, 0x64, 0x30, 0x30, 0x36, 0x39, 0x30, 0x30, \  0x36, 0x34, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x30, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x36, 0x62, 0x31, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x31, 0x65, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, \  0x37, 0x33, 0x30, 0x30, 0x37, 0x35, 0x30, 0x30, \  0x36, 0x32, 0x30, 0x30, 0x37, 0x33, 0x30, 0x30, \  0x37, 0x39, 0x30, 0x30, 0x37, 0x33, 0x30, 0x30, \  0x37, 0x34, 0x30, 0x30, 0x36, 0x35, 0x30, 0x30, \  0x36, 0x64, 0x30, 0x30, 0x32, 0x64, 0x30, 0x30, \  0x36, 0x39, 0x30, 0x30, 0x36, 0x34, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x30, 0x38, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30, 0x61, 0x30, 0x30, 0x30, \  0x30, 0x30, 0x30, 0x30
I copied the terminal's output just under
#define STATIC_EFI_DEVICE_PROPERTIES \
in EFI/data.h and then (re)compiled RevoBoot.
But it doesn't work.
Strange thing is that when I use the "original" EFI/data.h all working good (vga, audio, firewire, ethernet).
From where data.h takes the info? Before this attempt I didn't modify "original" data.h.
And especially the efi device-properties, that work like a charm in c.a.b.p. with Chameleon, doesn't work in data.h with RevoBoot?
Maybe the output's terminal that I get using flAked's command line is not "ready" for RevoBoot?

Thanks in advance to anyone that will help me to understand better this things.

#1090
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male
Update
Conclusively think that the output that we get from terminal using flAked's command give us a format that isn't "ready" for RevoBoot.
Indeed I extract with Lizard my current injection that's the same of "original" EFI/data.h.
I converted the .hex taken from Lizard with flAked's command and I obtained an output that if replaced to "original" EFI/data.h broke everything (video, audio, etc.).
What do you think?

#1091
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets
Normally EFI/data.h is empty. But if you used the RevoScript it gets filled with /efi/device-properties (in IOReg).

So you could try the following. Do the injection with Chameleon and Boot.plist. Reboot and let RevoScript generate new user settings. It will read out /efi/device-properties (your injections) and save it into EFI/data.h. Then recompile RevoBoot and you should be set.


BUT: I wonder what else is set within /efi/device-properties when we boot up Chameleon?

I wasn't able to decode the data, efi2struct is just reading the OSData object directly, but I would need to decode it in order to understand what is going wrong with our injection. And which structure is actually required.

The motivation is of course bug-proofing myself, so I won't have to spend hours finding out that a left-over injection from Chameleon is causing devices showing up and not in fact my DSDT edits to blame.


BTW; The format of my bash-one-liner per se is correct, but the data has the wrong structure.

#1092
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male
It makes no difference.
I (re)compiled RevoBoot with a new EFI/data.h generated from Chameleon.
In c.a.b.p. I injected only info regarding:
- video
- audio
- firewire
Nothing regarding ethernet and sata controller.
But with new EFI/data.h there is also info regarding sata controller :huh:
Chameleon inject something else? Maybe...

#1093
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu

...
BTW; The format of my bash-one-liner per se is correct, but the data has the wrong structure.

The only difference I see is (one example) 0xac vs 0xAC (lower/upper case) but the rest is a 100% match of what I have in EFI/data.h

Here's what works for me:
XML file -> gfxutil XML to BIN file -> bash one liner -> output OK
BIN file -> bash one liner -> output OK

So what exactly is failing for you? What are you doing?
Chameleon data -> BIN file -> bash one liner -> output FAIL?

Please note what I said to be using:
sudo ./gfxutil [-s -n] -i xml -o bin efi.xml efi.bin
And not:
sudo ./gfxutil [-s -n] -i xml -o hex efi.xml efi.hex


#1094
buoo

buoo

    The Prodigal Son

  • Moderators
  • 4,534 posts
  • Gender:Male
  • Location:Italy
Hi ;)

I'm trying to install Lion with Revolution but I have the same problem that I had with Chameleon:

Posted Image

Changing IOPCIFamily.kext and AppleACPIPlatform.kext with the Snow version I have got this:

Posted Image

Some ideas ?

#1095
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male
I'm trying to create a pre-linked kernel with this command:
kextcache -system-caches
  kextcache -system-prelinked-kernel
I had to extract some Info.plits of System.kext's PlugIns from System.kext (10.6.7) because are missing in new one (iMac 10.6.7 update).
I apparently create the pre-linked kernel but I think something goes wrong:

Posted Image

Indeed NullCPUPowerManagement.kext is not properly loaded and I get a kp with dependencies AppleIntelCPUPowerManagement.kext.
I'm forgetting something?

#1096
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu

Hi :wacko:

I'm trying to install Lion with Revolution but I have the same problem that I had with Chameleon:

...


Changing IOPCIFamily.kext and AppleACPIPlatform.kext with the Snow version I have got this:

...

Some ideas ?

And with what type of CPU is this? The one from your signature?


I'm trying to create a pre-linked kernel with this command... Indeed NullCPUPowerManagement.kext is not properly loaded and I get a kp with dependencies AppleIntelCPUPowerManagement.kext.
I'm forgetting something?

No problem here. Where do you have NullCPUPowerManagement.kext? /Extra/ or /System/Library/Extensions?

#1097
buoo

buoo

    The Prodigal Son

  • Moderators
  • 4,534 posts
  • Gender:Male
  • Location:Italy
Yes! I'm testing it on my Q9400 :P

#1098
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male

No problem here. Where do you have NullCPUPowerManagement.kext? /Extra/ or /System/Library/Extensions?

I use NullCPUPowerManagement.kext in S/L/E because, if I understand good, kext in E/E are not included in a pre-linked kernel, right?
But from S/L/E it's not loaded and so I get the kp.
At the moment I can only use NullCPUPM in E/E with Extensions.mkext in Extra.

#1099
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,406 posts
  • Gender:Male
:rolleyes:

But Revolution..work also on software raid and whit two monitor?

#1100
iLeopod

iLeopod

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 435 posts
  • Gender:Male
  • Location:Germany
  • Interests:ileopod.wordpress.com
Hi DHP,
finally hat the thime to test efi-data. For the most things like HDEF, display, wifi and fire wire it works, but with SBUS and LPCB i have problems:

The DSM code in dsdt :
Posted Image
resulting Ioreg
Spoiler


now the same with efi and here the problem:
Posted Image
The type is Data not string and SBUS kext's are not loaded.
Here is the xml stuff
<key>PciRoot(0x1)/Pci(0xa,0x1)</key>
	<dict>
		<key>built-in</key>
		<string>0x00</string>
		<key>device-id</key>
		<string>0x00000AA2</string>
		<key>name</key>
		<string>pci10deaa2</string>
	</dict>
Thanks for your help





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy