Jump to content

fabiosun

Recommended Posts

  • Supervisor
15 minutes ago, shrisha said:

@Arrakis Hi, thanks so much for sharing your EFI folder. I decided to try to install Monterey on my computer and I can't figured out why it is failing to do so. I'm not really good at hackintoshing, sorry. I just use your EFI and generated new SMBIOS and add npci=0x2000 boot arg. Before I tried EFI from this github repo https://github.com/luchina-gabriel/BASE-EFI-AMD-RYZEN-THREADRIPPER and installation stuck and rebooted on a same place when 12 minutes remaining. I followed exactly all instructions on that repo but no success. Then I found your EFI and decide to try it Since I have almost same hardware. My motherboard is Gigabyte TRx40 Master and I thought it will be fine to use your ASPI and oc config.plist. Could you please help me to find what could be cause of my problem?

Thank you.

@shrishaEFI from link you posted is not good for your Threadripper and it includes some patches not usefull at all on TRX40 systems

You should post your EFi with a debug log of also a not working boot

This would help to produce a working MMIO whitelist to add in your config plist

A good start could be @Arrakisor @PloddlesEFI who have the same manufactured you have (so for bios option you can follow them)

Also many quirks and option should be the same

 MMIO must be exactly for your configuration

 

Link to comment
Share on other sites

Yes I used Arrakis EFI and only changes I did is adding npci=0x2000 boot argument, generate SMBIOS and change core count in patches to 32. How do I create debug log? I'm sorry I'm quite new to this. I created bootable USB with Monterey installation and with both EFI, Arrakis and from that REPO, both boots was successful the only problem is during system installation. It stuck on 35% approximately.

I'm good with following instruction so please just guide me.

Really appreciate your help guys.

Thank you.

I have generated DSDT.aml file in windows if it is will be any help.

DSDT.zip

Edited by shrisha
Link to comment
Share on other sites

  • Supervisor

@shrishapost only your config.plist you are using and if I have understood you are using 077 Arrakis opencore version?

if so you have to change a couple of file on it to use opencore Debug version and also with an hanging tries you will have in debug txt your exact MMIO list to add properly in your config

a list as this I mean:

 

08:931 00:001 OCABC: MMIO devirt start
08:933 00:001 OCABC: MMIO devirt 0xE2100000 (0x81 pages, 0x8000000000000001) skip 1
08:934 00:001 OCABC: MMIO devirt 0xE3180000 (0x81 pages, 0x8000000000000001) skip 1
08:935 00:001 OCABC: MMIO devirt 0xEF100000 (0x181 pages, 0x8000000000000001) skip 1
08:936 00:001 OCABC: MMIO devirt 0xFA180000 (0x81 pages, 0x8000000000000001) skip 1
08:938 00:001 OCABC: MMIO devirt 0xFA300000 (0x100 pages, 0x8000000000000001) skip 1
08:939 00:001 OCABC: MMIO devirt 0xFEA00000 (0x100 pages, 0x8000000000000001) skip 1
08:940 00:001 OCABC: MMIO devirt 0xFEC00000 (0x1 pages, 0x8000000000000001) skip 1
08:945 00:005 OCABC: MMIO devirt 0xFEC10000 (0x1 pages, 0x8000000000000001) skip 1
08:947 00:001 OCABC: MMIO devirt 0xFED00000 (0x1 pages, 0x8000000000000001) skip 1
08:948 00:001 OCABC: MMIO devirt 0xFED40000 (0x5 pages, 0x8000000000000001) skip 1
08:949 00:001 OCABC: MMIO devirt 0xFED80000 (0x10 pages, 0x8000000000000001) skip 1
08:950 00:001 OCABC: MMIO devirt 0xFEDC2000 (0xE pages, 0x8000000000000001) skip 1
08:951 00:001 OCABC: MMIO devirt 0xFEDD4000 (0x2 pages, 0x8000000000000001) skip 1
08:953 00:001 OCABC: MMIO devirt 0xFEE00000 (0x100 pages, 0x8000000000000001) skip 1
08:954 00:001 OCABC: MMIO devirt 0xFF000000 (0x1000 pages, 0x8000000000000001) skip 1
08:955 00:001 OCABC: MMIO devirt 0x4040000000 (0x10400 pages, 0x8000000000000001) skip 1
08:956 00:001 OCABC: MMIO devirt 0x8BB0000000 (0x10400 pages, 0x8000000000000001) skip 0
08:958 00:001 OCABC: MMIO devirt 0x8BE0000000 (0x10400 pages, 0x8000000000000001) skip 0
08:959 00:001 OCABC: MMIO devirt 0xD750000000 (0x10400 pages, 0x8000000000000001) skip 0

And this is not the same for all!

 

Link to comment
Share on other sites

@shrisha Hello,

The debug log is generated on the key where there is the EFI.

 

I advise you to disable the following things.

 

1)The two SSDTs SSDT-DTGP.aml and SSDT-TBOLT3-NVM23.aml (they are used for a Thunderbold card)

2)Deactivate the following kexts: AirportItlwm, AMDRyzenCPUPowerManagement, AppleALC, BlueToolFixup, IntelBluetoothFirmware, RestrictEvents, SMCAMDProcessor, and add the kext for the ethernet ports of your motherboard.

 

3)There are all the properties removed from my graphics cards, Thunderbolt, Allegro card, ethernet ports. (in DeviceProperties)

 

4)You must also modify the memory with your values.

 

5)Follow Fabiosun's advice, he is the maestro in the matter.

  • Like 1
Link to comment
Share on other sites

  • Supervisor

thanks Arrakis no maestro here 🙂

We are a group of nice people who have had the patience to build an almost pretty perfect Trx40 for all in these two years!

 

you, @iGPU, @Ploddles, @Driftwood, @Pavo , @tomnic, @meina222, @carlo_67 and many others contributed to this fact

Today a TRX40 system is the best option available on Hackintosh system..and maybe also better of real Apple system in many tasks! 🙂

 

PS

and let's not forget our admin @gengik84 who, during the development of the virtual machine, but also after, provided us with various tools to overcome small and large difficulties, in short, a nice working group!

  • Like 1
  • +1 1
Link to comment
Share on other sites

  • Supervisor

NO MMIO list exposed in the debug, maybe Opencore is not a debug version

use these file overwrite only them and leave the rest the same

Backup your EFI and also unglue thing as suggeste by Arrakis (Device properties and many kext)

with these steps you should have MMIO listed on debug.txt text

 

 

Then how do you built your OSX Installer?

Is it a full installer or a recovery installer?

 

BOOT.zip OpenCore.efi.zip Tools.zip Drivers.zip

Link to comment
Share on other sites

  • Supervisor

or use this EFI based on Arrakis one..it is an OpenCore Debug version (cleaned of his device properties and many kexts as he said)

From this you can achieve your MMIO whitelist and if you are lucky also pass (without adding it in your config.plist) also passo 35% booting stage

EFI.zip

 

I think we have also have in this forum a thread with the same your motherboard in it

After lunch I will try to find it

 

9 hours ago, shrisha said:

Ok, I replaced all files and did all changes, and it reboots on a same place.

Archive 2.zip 32.74 MB · 0 downloads

Now in this report you have a correct debug

 

13:618 00:005 OCABC: MMIO devirt 0xD2100000 (0x81 pages, 0x8000000000000001) skip 0
13:624 00:006 OCABC: MMIO devirt 0xD3180000 (0x81 pages, 0x8000000000000001) skip 0
13:631 00:007 OCABC: MMIO devirt 0xD9180000 (0x81 pages, 0x8000000000000001) skip 0
13:638 00:006 OCABC: MMIO devirt 0xD9300000 (0x100 pages, 0x8000000000000001) skip 0
13:644 00:006 OCABC: MMIO devirt 0xDA100000 (0x181 pages, 0x8000000000000001) skip 0
13:651 00:007 OCABC: MMIO devirt 0xFEA00000 (0x100 pages, 0x8000000000000001) skip 0
13:658 00:006 OCABC: MMIO devirt 0xFEC00000 (0x1 pages, 0x8000000000000001) skip 0
13:664 00:006 OCABC: MMIO devirt 0xFEC10000 (0x1 pages, 0x8000000000000001) skip 0
13:672 00:008 OCABC: MMIO devirt 0xFED00000 (0x1 pages, 0x8000000000000001) skip 0
13:678 00:006 OCABC: MMIO devirt 0xFED40000 (0x5 pages, 0x8000000000000001) skip 0
13:685 00:006 OCABC: MMIO devirt 0xFED80000 (0x10 pages, 0x8000000000000001) skip 0
13:692 00:007 OCABC: MMIO devirt 0xFEDC2000 (0xE pages, 0x8000000000000001) skip 0
13:699 00:006 OCABC: MMIO devirt 0xFEDD4000 (0x2 pages, 0x8000000000000001) skip 0
13:705 00:006 OCABC: MMIO devirt 0xFEE00000 (0x100 pages, 0x8000000000000001) skip 0
13:713 00:008 OCABC: MMIO devirt 0xFF000000 (0x1000 pages, 0x8000000000000001) skip 0
13:719 00:006 OCABC: MMIO devirt 0x10000000000 (0x10400 pages, 0x8000000000000001) skip 0
13:727 00:007 OCABC: MMIO devirt 0x3CB80000000 (0x10400 pages, 0x8000000000000001) skip 0
13:733 00:006 OCABC: MMIO devirt 0x3CBB0000000 (0x10400 pages, 0x8000000000000001) skip 0
13:739 00:006 OCABC: MMIO devirt 0x69730000000 (0x10400 pages, 0x8000000000000001) skip 0

I have to add these in your MMIO

 

Link to comment
Share on other sites

  • Supervisor

post only debug,txt with EFI posted by me  @shrisha

then answer to previous question (about installer OSX creation)

Also If you can post your bios settings

I see a boot file in your root folder that it shouldn't exist there

 

You system should be set as UEFi in bios (CSM off) also other minimal modify in its parameter is requested

 

 

Link to comment
Share on other sites

@shrisha Also maybe you should add the Aquantia ethernet patch to the kernel (your card is equipped with AQUANTIA® 5GbE LAN and Intel® GbE LAN with cFosSpeecar) or activate the kexts BlueToolFixup, IntelBluetoothFirmware, (this concerns your WIFI AX200 which is equipped your card, they are in my EFI) and start in Rescue mode to make sure that the wired ethernet or WIFI connection works. Because I think that sometimes the installer needs to go to the apple server for X reasons depending on how the Monterey installation key was created, especially if it's really a first installation on this computer.

 

Link to comment
Share on other sites

@shrisha 

Here is an EFi of my configuration that I have simplified as much as possible for you with the kexts for the wifi.

 

To do a test installation
just change:
1) the values of MmioList by those communicated by Fabiosun.
2) the core count values of your processor in the first two patches in kernel
3) Put your SMBIOS values

NEUTRAL EFI ARRAKIS 0.7.7. MONTEREY.zip

Link to comment
Share on other sites

I have no idea what happen but I changed something in config and after usual reboot at 35% MacOSinstall partition appeared and I finished installation. So Monterey is installed but no Ethernet or WIFI adapter is working. Also I don't know how to fine tune system etc. Is DSTD decrypting, patching, encrypting required? I have no idea how to do that. @Arrakis could you please tell me how do I make AQUANTIA® 5GbE LAN and Intel® GbE LAN works?

Sound seems working ANd graphics performance is okay I guess.

Thank you @fabiosun @Arrakis for your help.

working.zip

 

EDIT: After adding AirportItlwm.kext WIFI is working 🙂  But with SmallTreeIntel82576.kext or IntelMausi.kext still no Ethernet. Says cable is unplugged.

Edited by shrisha
Link to comment
Share on other sites

@shrisha

For wifi, you must install the IntelBluetoothFirmware and BlueToolFixup kexts that you find in my simplified EFI in the previous post

For Aquantia, you have to add a patch in the kernel but I don't have the patch.

Edited by Arrakis
Link to comment
Share on other sites

  • Supervisor

@shrisha

14:187 00:004 OCABC: MMIO devirt 0xD2100000 (0x81 pages, 0x8000000000000001) skip 1
14:193 00:006 OCABC: MMIO devirt 0xD3180000 (0x81 pages, 0x8000000000000001) skip 1
14:199 00:005 OCABC: MMIO devirt 0xD9180000 (0x81 pages, 0x8000000000000001) skip 0
14:205 00:005 OCABC: MMIO devirt 0xD9300000 (0x100 pages, 0x8000000000000001) skip 1
14:222 00:017 OCABC: MMIO devirt 0xDA100000 (0x181 pages, 0x8000000000000001) skip 1
14:225 00:002 OCABC: MMIO devirt 0xFEA00000 (0x100 pages, 0x8000000000000001) skip 1
14:231 00:005 OCABC: MMIO devirt 0xFEC00000 (0x1 pages, 0x8000000000000001) skip 1
14:237 00:005 OCABC: MMIO devirt 0xFEC10000 (0x1 pages, 0x8000000000000001) skip 1
14:243 00:006 OCABC: MMIO devirt 0xFED00000 (0x1 pages, 0x8000000000000001) skip 1
14:249 00:005 OCABC: MMIO devirt 0xFED40000 (0x5 pages, 0x8000000000000001) skip 1
14:256 00:007 OCABC: MMIO devirt 0xFED80000 (0x10 pages, 0x8000000000000001) skip 1
14:262 00:005 OCABC: MMIO devirt 0xFEDC2000 (0xE pages, 0x8000000000000001) skip 1
14:268 00:005 OCABC: MMIO devirt 0xFEDD4000 (0x2 pages, 0x8000000000000001) skip 1
14:274 00:006 OCABC: MMIO devirt 0xFEE00000 (0x100 pages, 0x8000000000000001) skip 0
14:280 00:005 OCABC: MMIO devirt 0xFF000000 (0x1000 pages, 0x8000000000000001) skip 1
14:286 00:006 OCABC: MMIO devirt 0x10000000000 (0x10400 pages, 0x8000000000000001) skip 0
14:292 00:005 OCABC: MMIO devirt 0x3CB80000000 (0x10400 pages, 0x8000000000000001) skip 0
14:298 00:006 OCABC: MMIO devirt 0x3CBB0000000 (0x10400 pages, 0x8000000000000001) skip 0
14:304 00:005 OCABC: MMIO devirt 0x69730000000 (0x10400 pages, 0x8000000000000001) skip 0
14:309 00:005 OCABC: MMIO devirt end, saved 1066500 KB

the config you posted is very different from the ones we have provided here There are only a few valid parts others to review for the moment I have fixed your MMIOs again Clarify what you are really using and check that all features such as shutdown and reboot are working correctly attached the config plist you posted with the correct mmio

 

config.plist.zip

Link to comment
Share on other sites

On 1/21/2022 at 4:04 PM, fabiosun said:

 

Your config seems to be well done except for the last two kernel patches you use (Algrey and Shaneee fix pat patches... ) (also some quirk like increasePCIsizebar should not be useful(and if this is an updated OpenCore bootstrap folder is obsolete) 

All users with our platform don't need it

do you need of it?

I see you also use a DSDT..

where does it come from?

You are the first TRX40 user I see having a DSDT in ACPI

 

For problems you have post a debug log to see or if you can check that your MMIO list is updated correctly

 

when uploading the EFI you exclude the apple folder which is not needed

Thank you

 

 

 

Hi, thank you

Updated my efi with OCAT, and that cleaned out my mistakes

EFI monterey 1.1.zip

The DSDT was made by Mald0n from olaria, he cleaned up well my previous x399 Asus but, though this will clean things also. Contained cosmetical thing at system info

increasePCIsizebar... I can't remember, maybe I was playing with it when I had trouble with my firewire card

 

Nowadays I cannot get and speedstep working, stalls at 3.7Ghz. Before at monterey if I used iMac 18.2 or lower SMBIOS it was working well.

All kexts are updated.

Now all my drives appear at monterey, some SMBIOS opens my built in usbC port

 

But since I updated to OC7.7 at the picker I cannot see my Catalina drive, only from that own working  efi, what version I cannot check, I don't have any answers from terminal (nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version), maybe I have the OC7.5 there. Should I remove the bootstrap.efi? (realized it has no connection, because that is on the efi partition not on the nvme)

 

Edited by fojerhar
Link to comment
Share on other sites

  • Supervisor

@fojerharI suggest to not use DSDT and also all kext you have in your Kext folder

 

Disable in config.plist all kext and leave on only Lilu, VirtualSMC and WhateverGreen

Use Macpro7.1 (preferred one) or if you need iMacPro1.1

 

About CPU stepping 

On trx40 is controlled from your BIOS

And it is also possible use AMD Power Gadget to do some Step management

 

Check also your kext for ethernet and leave only one you need for your Ethernet Model (Smalltree kext is not working in latest Monterey OS)

 

By the way

Our forum does not support Olrila EFI

 

Link to comment
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

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.