Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Master Chief

How to boost the OS X boot process...

1,110 posts in this topic

Recommended Posts

Update:

found the problem :

forgot the ,

so its correct:

<string>pci10de,aa2</string>

now going to bulit revoboot.

 

@Blackosx:

Why does your script create for any change on source code a new folder instead of downloading only the last files?

Share this post


Link to post
Share on other sites

Wanted a fresh RevoBoot and get rid of the Chameleon efi-data, but still no luck with my GFX.

 

This is what I did, here is my in.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>
<dict>
	<key>@0,compatible</key>
	<string>NVDA,NVMac</string>
	<key>@0,device_type</key>
	<string>display</string>
	<key>@0,name</key>
	<string>NVDA,Display-A</string>
	<key>@1,compatible</key>
	<string>NVDA,NVMac</string>
	<key>@1,device_type</key>
	<string>display</string>
	<key>@1,name</key>
	<string>NVDA,Display-B</string>
	<key>@2,#adress-cells</key>
	<string>0x01000000</string>
	<key>@2,#size-cells</key>
	<string>0x00000000</string>
	<key>@2,compatible</key>
	<string>NVDA,sensor-parent</string>
	<key>@2,device_type</key>
	<string>NVDA,gpu-diode</string>
	<key>@2,hwctrl-params-version</key>
	<string>0x02000000</string>
	<key>@2,hwsensor-params-version</key>
	<string>0x02000000</string>
	<key>@2,name</key>
	<string>sensor-parent</string>
	<key>@2,reg</key>
	<string>0x02000000</string>
	<key>NVCAP</key>
	<data>BAAAAAAAAwAMAAAAAAAABwAAAAA=</data>
	<key>NVPM</key>
	<data>AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</data>
	<key>VRAM,totalsize</key>
	<data>AAAAIA==</data>
	<key>device_type</key>
	<string>NVDA,GeForce</string>
	<key>model</key>
	<string>NVIDIA GeForce GTS 250</string>
	<key>name</key>
	<string>NVDA,Parent</string>
	<key>rom-revision</key>
	<string>3172a</string>
</dict>
</dict>
</plist>

I then issued gfxutil like so:

./gfxutil -i xml -o bin in.plist out.bin

 

And xxd:

xxd -i -c 8 out.bin |tail -n +2 |sed 'N;$!P;$!D;$d' | sed 's/$/ \\/' | sed '$s/.$//' > new_efi.data

 

I then copied the new efi data into efi/data.h but no luck. Where could be the culprit?

Share this post


Link to post
Share on other sites

Coud be pci address or bash script. Injecting with chameleon and dumping works for me.

I haven't tried your bash scripted yet. Maybe tomorrow i will look if they result of the files is the same.

 

Coud be pci address or bash script. Injecting with chameleon and dumping works for me.

I haven't tried your bash scripted yet. Maybe tomorrow i will look if they result of the files is the same.

Share this post


Link to post
Share on other sites

I found out that Chameleons GraphicsEnabler creates quite a different definition for my card which works with the method described here (using gfxutil to convert the plist).

 

I took the opportunity and added the built-in attribute for ethernet, but it doesn't show in IOReg, can someone confirm please? mrmojo?

 

It seems that even on the MBP8 built-in shows 0 for the ethernet device, but IOBuiltin = Yes for the actual IOEthernetInterface.

Share this post


Link to post
Share on other sites
I took the opportunity and added the built-in attribute for ethernet, but it doesn't show in IOReg, can someone confirm please? mrmojo?

Confirm.

I also tried with one of the lastest Chameleon rev and this on my c.a.b.p.:

<key>EthernetBuiltIn</key>

<string>Yes</string>

Doesn't work.

Share this post


Link to post
Share on other sites
Confirm.

I also tried with one of the lastest Chameleon rev and this on my c.a.b.p.:

<key>EthernetBuiltIn</key>

<string>Yes</string>

Doesn't work.

 

I've had some problems with ethernet not showing as built-in also:

 

With my network card sitting under - Device (P0P9) I originally had this in my dsdt:

 

            
Device (P0P9)
           {
               Name (_ADR, 0x001C0005)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (GPRW (0x09, 0x04))
               }

               Method (_PRT, 0, NotSerialized)
               {
                   If (PICM)
                   {
                       Return (AR09)
                   }

                   Return (PR09)
               }
           }

           Device (LAN0)
           {
               Name (_ADR, Zero)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x08)
                       {
                           "location", 
                           Buffer (0x02)
                           {
                               "1"
                           }, 

                           "built-in", 
                           Buffer (0x02)
                           {
                               0x01
                           }, 

                           "device_type", 
                           Buffer (0x09)
                           {
                               "ethernet"
                           }, 

                           "name", 
                           Buffer (0x24)
                           {
                               "Realtek RTL8111/8168B PCI-E Gigabit"
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           } 
      }

 

In IORegExplorer his simply showed LAN0 as a device under PCI0 (not P0P9) and had no kext associated with it.

My actual ethernet device sat under P0P9 but with none of the edits I'd made to DSDT.

 

I'm now using the code bellow and en0 is shown now in ioreg under LAN0 and is shown as 'built-in'

 

 
          Device (P0P9)
           {
             Name (_ADR, 0x001C0005)
             Device (LAN0)
             {
               Name (_ADR, Zero)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (GPRW (0x09, 0x04))
               }

               Method (_PRT, 0, NotSerialized)
               {
                   If (PICM)
                   {
                       Return (AR09)
                   }

                   Return (PR09)
                 }
        }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x08)
                       {
                           "location", 
                           Buffer (0x02)
                           {
                               "1"
                           }, 

                           "built-in", 
                           Buffer (0x02)
                           {
                               0x01
                           }, 

                           "device_type", 
                           Buffer (0x09)
                           {
                               "ethernet"
                           }, 

                           "name", 
                           Buffer (0x24)
                           {
                               "Realtek RTL8111/8168B PCI-E Gigabit"
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           } 
      }

 

post-275122-1308233200_thumb.png

 

Hope this helps

 

D

Share this post


Link to post
Share on other sites
;)

Hi FKA , please help me for software raid 0 , but to you working revoboot ?

 

Hi magnifico10

 

No I never got revoboot to fully work with either a single HDD or SW RAID0.

In fact I never got round to trying Dutch's suggestion from this post here. I was going to try again today but got caught up messing around with my NIC as I'm in the middle of setting up a VPN server using openvpn and VMware.

 

If you have a running revoboot then you can setup your SW RAID by following/ adapting Nathan7's guide here.

 

Cheers

D

Share this post


Link to post
Share on other sites
Hope this helps

I made the test just to confirm the one made by flAked.

Indeed I don't use LAN because my router is far from my PC.

With my old hack (P5QD Turbo) I also tried to use a method like yours in DSDT but my LAN was seen like en1 and my WLAN (the same that I'm currently using with my new hack) like en0.

Share this post


Link to post
Share on other sites
Hi magnifico10

 

No I never got revoboot to fully work with either a single HDD or SW RAID0.

In fact I never got round to trying Dutch's suggestion from this post here. I was going to try again today but got caught up messing around with my NIC as I'm in the middle of setting up a VPN server using openvpn and VMware.

 

If you have a running revoboot then you can setup your SW RAID by following/ adapting Nathan7's guide here.

 

Cheers

D

 

;) Thank's

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×