Contribute
Register

How to build your own iMac Pro [Successful Build/Extended Guide]

Status
Not open for further replies.
PCI implementation of my WiFi card still not working, not showing up under "PCI" in System Profiler. :(
Last part of PCI puzzle, I am really stuck here, aaargh, but I know it is just a tiny detail, probably.
Who can help?

Wifi card in Slot 5 (Asus X299 Prime Deluxe, Flughafen WiFi/BT card - Broadcom BCM943602CS)
Original address is PCIO.RP19.PXSX
I used new clover acpi renaming feature to rename to PCIO.RP19.ARPT
Rest of SSDT was working. Just because of addition of WiFi card implementation the SSDT fails now (full SSDT file attached).

Who can provide a solution/ idea here?

Maybe there have to more infos provided in SSDT than just device-id and compatible? As it is not the OS X-Wifi card?
:rolleyes:

Thankx in advance, much appreciated!
Thank you so much to all contributers for all these precious info and your time. I learned incredibly the past weeks.

Code:
    External (_SB_.PCIO.RP19.ARPT, DeviceObj)    // (from opcode)
...
...
    Scope (_SB.PCIO.RP19.ARPT)
    {
        OperationRegion (PCIS, PCI_Config, Zero, 0x0100)
        Field (PCIS, AnyAcc, NoLock, Preserve)
        {
            PVID,   16,
            PDID,   16
        }

        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            Store (Package (0x0E)
                {
                    "built-in",
                    Buffer (One)
                    {
                         0x00                                   
                    },

                    "device-id",
                    Buffer (0x04)
                    {
                         0xBA, 0x43, 0x00, 0x00                 
                    },

                    "AAPL,slot-name",
                    Buffer (0x07)
                    {
                        "Slot-5"
                    },

                    "device_type",
                    Buffer (0x13)
                    {
                        "AirPort Controller"
                    },

                    "model",
                    Buffer (0x50)
                    {
                        "Flughafen WIFI Broadcom BCM94360CD 802.11 a/b/g/n/ac + Bluetooth 4.0 Controller"
                    },

                    "compatible",
                    Buffer (0x0D)
                    {
                        "pci14e4,43ba"
                    },

                    "name",
                    Buffer (0x10)
                    {
                        "AirPort Extreme"
                    }
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }
    }


View attachment 341651

View attachment 341652

Hi @fingers-crossed

hmmm.... I believe you mixed there some thing.
I rather would implement the change similar to this:

Code:
    External (_SB_.PCIO.RP19.PXSX, DeviceObj)    // (from opcode)
...
...
   
    Scope (_SB.PCIO.RP19)
    {
  
        Scope (PXSX)
        {
            Name (_STA, Zero)  // _STA: Status
        }
        Device (ARPT)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                Store (Package (0x0E)
                    {
                        "built-in",
                        Buffer (One)
                        {
                             0x00                                    
                        },

                        "device-id",
                        Buffer (0x04)
                        {
                             0xBA, 0x43, 0x00, 0x00                  
                        },

                        "AAPL,slot-name",
                        Buffer (0x07)
                        {
                            "Slot-5"
                        },

                        "device_type",
                        Buffer (0x13)
                        {
                            "AirPort Controller"
                        },

                        "model",
                        Buffer (0x50)
                        {
                            "Flughafen WIFI Broadcom BCM94360CD 802.11 a/b/g/n/ac + Bluetooth 4.0 Controller"
                        },

                        "compatible",
                        Buffer (0x0D)
                        {
                            "pci14e4,43ba"
                        },

                        "name",
                        Buffer (0x10)
                        {
                            "AirPort Extreme"
                        }
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }        
        }
    }
 
Last edited:
Hi @fingers-crossed

hmmm.... I believe you mixed there some thing.
I rather would implement the change similar to this:

Thanks, Frank!
Now with your suggestion implemented into the SSDT it doesnt fail and all other drivers showing up under "PCI" again, but the WiFi still doesnt appear there...
I tried with as well as without the renaming patch in clover.
More ideas? I am clueless.

In IOReg at PCIO.RP19 instead of PXSX or ARPT is now "pci14e4,43ba@0" ?
 

Attachments

  • Screen Shot 2018-07-18 at 19.37.07.png
    Screen Shot 2018-07-18 at 19.37.07.png
    116.5 KB · Views: 105
  • Screen Shot 2018-07-18 at 19.37.40.png
    Screen Shot 2018-07-18 at 19.37.40.png
    82.2 KB · Views: 108
  • Screen Shot 2018-07-18 at 19.37.56.png
    Screen Shot 2018-07-18 at 19.37.56.png
    95.4 KB · Views: 94
  • Screen Shot 2018-07-18 at 19.42.43.png
    Screen Shot 2018-07-18 at 19.42.43.png
    93.3 KB · Views: 90
Last edited:
Hi,

I have ASUS x299 PRIME-A and i7-7820x and tried to install hackintosh on this machine, but I am stuck at boot. I get kernel panic every time. Check screenshot below.

I have no idea how to fix this..
IMG_6145.JPG
 
Fist of all thanks to @kgp for the extended guide you have created and for @jyavenard for providing his EFI for ASRock X299 Professional Gaming XE motherboard! I managed to install macOS High Sierra 10.13.6 with the help of this guide and the EFI file and instructions provided by @jyavenard.

Now I am having trouble installing Nvidia drivers for my system. First some installation information:
- In BIOS disabled CSM and in BIOS USB settings enabled XHCI Hand-off
- Before installation I changed the TSCAdjustReset kext value setting to 23 (i9-7920x)
- Changed the Serial Number, Board Serial Number and SmUUID (under SMBIOS in Clover Configurator). Under boot section npci=0x2000 was already selected (among other options) so I didn't change anything there.

After macOS was installed I downloaded and installed NVIDIA drivers (version 387.10.10.10.40.105). I started the NVIDIA installer and followed the steps and restarted when prompted. After rebooting the system would't load to login screen. There was a picture on the monitor but the startup procedure never reached login screen. In Clover Boot manager I had activated Nvidia Web Drivers under graphics injector. Initially I reinstalled the system when the macOS didn't load but after several attempts I used these commands provided in other guide:

Code:
rm -R /Volumes/HDD/Library/Extensions/NVDAStartupWeb.kext
touch /Volumes/HDD/Library/Extensions/
reboot

After removing NVDAStartupWeb.kext the computer would boot back to login screen and I could sign in. After several re-installs and fiddling with the setting I really would appreciate some help with the driver installation. The problem is that I really don't know what I am doing :think::p

I have downloaded Version: 5.1.3.1 of Clover Configurator.
- After mounting the EFI partion of my SSD should I change some settings there or install drivers?
- I have tried (not sure if successfully) to install AptioMemoryFix (also EmuVariableUefi-64 and OsxAptioFix2Drv-64) at some point in Clover Configurator.

A basic question, if I for example copy NvidiaGraphicsFixup.kext and Lilu.kext to EFI/CLOVER/kexts/Other in SSD EFI partion do I need to somehow activate them or are they loaded automatically in the next boot?

Computer specifications:
i9-7920x
ASRock X299 Professional Gaming XE
Nvidia GTX 1070
Crucial M4 SSD (256GB) - macOS install location
USB stick - used for the installation (not connected after install)
Logitech keyboard and mouse

I have removed all the other drives from the system (M2, SSD and HDD's) and all USB peripherals (except for the keyboard and mouse).

Edit

It seems that I have at least issue with NVRAM. In a ****** thread there is a way to test it and for me it doesn't work. Before reboot I run sudo nvram TestVar=HelloWorld
I don't see anything after reboot when I run sudo nvram -p | grep 'TestVar'

  • NVRAM Testing: You can test if your NVRAM is working by running the following Terminal command and rebooting: sudo nvram TestVar=HelloWorld; once you reboot, run sudo nvram -p | grep 'TestVar'; if you see a result, your NVRAM is working; if not, your NVRAM is broken and needs to be fixed, or otherwise iMessage won't work; after testing, you can delete the TestVar variable by running sudo nvram -d TestVar

Could this be the issue with NVIDIA driver?

Nvidia drivers seem to be now active and in use. I followed this guide to create SSDT file. I placed the file to EFI partition (in my SSD) in folder /EFI/CLOVER/ACPI/patched/
- In section 3c) of the guide I used the file for Maxwell

I also removed the file for Vega card that was in the same folder just in case.

For decompiling the ACPI files I used command (****** link for more information)

Code:
cd ~/Desktop/ACPI; /path/to/iasl -da -dl *.aml

### /path/to/iasl means the location where iasl application is located ###


Disclaimer: I am not sure if this is the correct way to enable Nvidia drivers :)

EDIT

Reading further there seems to be a whole section dedicated to this matter E.9) ASUS Prime X299 Deluxe PCI Device Implementation. Should have first read the whole guide and not just step by step :shh:

EDIT2: Did a clean system install without any SSDT's and I could install Nvidia drivers without problems as discussed couple of pages forward.
 
Last edited:
@Zedraut: please do read the entire guide. @kgp goes into exacting detail in a number of places, and if you don't follow the guide very closely, nobody will be able to help you.

Also, you may want to consider opening new threads for issues that aren't related to the guide - this is a huge thread, and your more general questions will quite likely be missed or ignored.

I've often wondered if a GitHub repository with it's issues open might be a better way to distribute the guide and the EFI folder contents.
 
Thanks, Frank!
Now with your suggestion implemented into the SSDT it doesnt fail and all other drivers showing up under "PCI" again, but the WiFi still doesnt appear there...
I tried with as well as without the renaming patch in clover.
More ideas? I am clueless.

In IOReg at PCIO.RP19 instead of PXSX or ARPT is now "pci14e4,43ba@0" ?

Hi @fingers-crossed

I have modified my approach in Post #9434 please have a look.
Also please check if the length in all your buffer declarations is correct. If not, that can have the same effect. (happened to me last night)

All the Best
Frank
 
Hi,

I have ASUS x299 PRIME-A and i7-7820x and tried to install hackintosh on this machine, but I am stuck at boot. I get kernel panic every time. Check screenshot below.

I have no idea how to fix this..
I am not an expert, but I passed this kind of failure by changing usb port. This is because some ports become disabled / modified during the installation process. Try USB 2.0 port on the rear. Best of luck.
Mcity
 
Hi,

I have ASUS x299 PRIME-A and i7-7820x and tried to install hackintosh on this machine, but I am stuck at boot. I get kernel panic every time. Check screenshot below.

I have no idea how to fix this..View attachment 341752
We have the same bords, I'm a fresh Hackint0sher.
1.EFI-X299-10.13.6-Release-iMacPro1,1-110718.zip
2.patched bios 1301 (flash it via USB Bios Flashback method)
Ps: unpatched bios will met all kinds matters, unfortunately the X299A bios 1401 can not be patched
 

Attachments

  • X299A.CAP.zip
    8.7 MB · Views: 97
A basic question, if I for example copy NvidiaGraphicsFixup.kext and Lilu.kext to EFI/CLOVER/kexts/Other in SSD EFI partion do I need to somehow activate them or are they loaded automatically in the next boot?

yes, that's all that's needed..
I've had no issue getting a 1080Ti to work with the ASRock professional board.
 
Status
Not open for further replies.
Back
Top