Andrey1970 Posted December 30, 2019 Share Posted December 30, 2019 1 hour ago, tmbt said: I will post on this thread because you all seem much informed than the average .. What does it take to implement power management for non native NVME disks ? Do you think is "just" a patch to some kexts or something more complex ? I'm asking around for this feature since when i noticed NVME disk is really more "expensive" for my battery than a normal sata ssd in MacOS but not on Linux or Windows .. Thanks Mattia ThirdPartyDrives quirk only for sata. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702222 Share on other sites More sharing options...
Mike Ranger Posted December 30, 2019 Share Posted December 30, 2019 It seems that these Memory Allocation problems are quite tricky. What really surprises me here is the fact that DevirtualiseMmio = true causes early reboot. What information would help the experts here to give some further advise? It seems related to OpenCore, since I never ran into similar obstacles in Clover. Thanks, Mike Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702275 Share on other sites More sharing options...
mhaeuser Posted December 30, 2019 Share Posted December 30, 2019 @Mike Ranger You may need to dump a log (with DevirtualiseMmio on) and try around with the devirtualised ranges (search of the "OCABC" prefix) added to MmioWhitelist (not devirtualised). There is no real other way, except if you can dump the Kernel Panic with a serial connection. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702277 Share on other sites More sharing options...
Ritte Posted December 31, 2019 Share Posted December 31, 2019 Hello, I have a z87 board with and have add NVMe with pci-e adapter. The nvme-drive did show up initially, but later I added NvmExpressDxe.efi and it showed up. Is NvmExpressDxe.efi the preferred way to enable NVMe in oc? (For unsupported boards..) Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702319 Share on other sites More sharing options...
n.d.k Posted December 31, 2019 Share Posted December 31, 2019 2 hours ago, Ritte said: Hello, I have a z87 board with and have add NVMe with pci-e adapter. The nvme-drive did show up initially, but later I added NvmExpressDxe.efi and it showed up. Is NvmExpressDxe.efi the preferred way to enable NVMe in oc? (For unsupported boards..) It is the only way, there's no prefer/not prefer. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702322 Share on other sites More sharing options...
jinbingmao Posted December 31, 2019 Share Posted December 31, 2019 2 hours ago, Ritte said: Hello, I have a z87 board with and have add NVMe with pci-e adapter. The nvme-drive did show up initially, but later I added NvmExpressDxe.efi and it showed up. Is NvmExpressDxe.efi the preferred way to enable NVMe in oc? (For unsupported boards..) https://www.win-raid.com/t871f50-Guide-How-to-get-full-NVMe-support-for-all-Systems-with-an-AMI-UEFI-BIOS.html Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702324 Share on other sites More sharing options...
Mike Ranger Posted December 31, 2019 Share Posted December 31, 2019 I will try to do some more debugging, hoping for a Solution. thanks, Mike Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702352 Share on other sites More sharing options...
Ritte Posted December 31, 2019 Share Posted December 31, 2019 6 hours ago, n.d.k said: It is the only way, there's no prefer/not prefer. Thanks! Do you know where I can find the source of the driver? So I don't need to get it from clover. 5 hours ago, jinbingmao said: https://www.win-raid.com/t871f50-Guide-How-to-get-full-NVMe-support-for-all-Systems-with-an-AMI-UEFI-BIOS.html I did know about this, but I'm avoding it since this board will be swapped out sooner or later and will be reused as PLEX-server. Don't want to brick my BIOS otherwise I need a board for the PLEX-server too Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702353 Share on other sites More sharing options...
LAbyOne Posted December 31, 2019 Share Posted December 31, 2019 34 minutes ago, Ritte said: Thanks! Do you know where I can find the source of the driver? So I don't need to get it from clover. git clone https://github.com/acidanthera/audk UDK cd UDK source edksetup.sh make -C BaseTools build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1 # or Debug build -a X64 -b DEBUG -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1 2 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702354 Share on other sites More sharing options...
NorthAmTrans Posted January 1, 2020 Share Posted January 1, 2020 7 hours ago, meaganmargaret said: Care to share what AHCIPortInjector kext you used (I have the same motherboard)? Was it the one you posted earlier? Sure! For starters here's what I looked for. In IOReg under SATA (or SAT0 if no name change) you see "name" and mine was "pci8086,a282" so I dug through whatever SATA Unsupported I could find until I found one with IOname matches. SATA-unsupported.kext.zip Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702417 Share on other sites More sharing options...
Ritte Posted January 1, 2020 Share Posted January 1, 2020 22 hours ago, LAbyOne said: git clone https://github.com/acidanthera/audk UDK cd UDK source edksetup.sh make -C BaseTools build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1 # or Debug build -a X64 -b DEBUG -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1 Perfect, thanks! 22 hours ago, LAbyOne said: git clone https://github.com/acidanthera/audk UDK cd UDK source edksetup.sh make -C BaseTools build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1 # or Debug build -a X64 -b DEBUG -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1 Perfect, thanks! Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702431 Share on other sites More sharing options...
couttsdev Posted January 4, 2020 Share Posted January 4, 2020 Hi - I've been trying to boot macOS Catalina on a new Lenovo X1 Carbon 7 which has a new Comet Lake i7-10710u. I see in ProcessorInfo.h that we don't have this processor defined yet. I wonder if this could contribute to the boot issue. Hoping this can help the devs add Comet Lake support. After I select to boot the macOS installer, it performs kext injection but hangs here and does not proceed: 78:816 00:112 Prelinked status - Success Attached is my debug log file (with full verbose logging) and here is the CPU info: Signature A0660 Stepping 0 Model A6 Family 6 Type 0 ExtModel A ExtFamily 0 So i7-10710u Comet Lake is model 0xA6. opencore-2020-01-04-014053.txt 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702785 Share on other sites More sharing options...
Andrey1970 Posted January 4, 2020 Share Posted January 4, 2020 On 12/30/2019 at 2:26 PM, tmbt said: What does it take to implement power management for non native NVME disks ? Try Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702902 Share on other sites More sharing options...
Nihhaar Posted January 4, 2020 Share Posted January 4, 2020 (edited) Can anyone help me? New to OpenCore. Specs: Dell 7567 i7 7700HQ 16GB RAM Intel HD 630 + GTX 1050Ti Followed the OpenCore vanilla guide and tried to boot with minimal setup. I can't see any options to select in OpenCore menu. EFI.zip Edited January 4, 2020 by Nihhaar Added specs Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702907 Share on other sites More sharing options...
Guest Posted January 5, 2020 Share Posted January 5, 2020 (edited) 13 hours ago, Nihhaar said: Can anyone help me? New to OpenCore. Specs: Dell 7567 i7 7700HQ 16GB RAM Intel HD 630 + GTX 1050Ti Followed the OpenCore vanilla guide and tried to boot with minimal setup. I can't see any options to select in OpenCore menu. EFI.zip try to put on your config scanpolicy=0 Edited January 5, 2020 by Guest Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702969 Share on other sites More sharing options...
Mike Ranger Posted January 5, 2020 Share Posted January 5, 2020 (edited) Hi So i also can now boot into recovery, after a lot of trial and error. The following problem I have still with booting into recovery. When I remove the -v boot flag, I get a black screen once boot is completed. When I boot with -v into recovery, display is fine once boot is completed. The only thing that seems to help is adding "agpmod=pikera" But then booting into to OSX produces a funny login-screen resolution. What could be the reason for black screen in recovery? It happens as soon as a remove verbose mode flag from boot arguments. Edit: I am not sure if this is OC related or Whatevergreen related, or a combination of the settings I use in OC and using WG. Thanks, Mike Edited January 5, 2020 by Mike Ranger Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702970 Share on other sites More sharing options...
Nihhaar Posted January 5, 2020 Share Posted January 5, 2020 (edited) 24 minutes ago, fabiosun said: try to put on your config scanpolicy=0 Thank you, it worked! It seems like opencore team deliberately put wrong defaults so that users will read the configuration? Edited January 5, 2020 by Nihhaar Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702971 Share on other sites More sharing options...
Guest Posted January 5, 2020 Share Posted January 5, 2020 (edited) 24 minutes ago, Nihhaar said: Thank you, it worked! It seems like opencore team deliberately put wrong defaults so that users will read the configuration? Default config are not wrong as are not working for all Their goal I think is help people to learn and thinking Edited January 5, 2020 by Guest typo Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702974 Share on other sites More sharing options...
mhaeuser Posted January 5, 2020 Share Posted January 5, 2020 32 minutes ago, Nihhaar said: It seems like opencore team deliberately put wrong defaults so that users will read the configuration? If you would *actually* read the PDF instead of just talking about being made, you would know why this is the default. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2702977 Share on other sites More sharing options...
Guest Posted January 5, 2020 Share Posted January 5, 2020 (edited) I am trying to do a serial kernel debug with an USB serial port adapter connected via cable to a Windows 64 bit pc and using on it terminal app (https://sites.google.com/site/terminalbpp/) and CoolTerm (https://freeware.the-meiers.org/) My goal is to have some useful data to share to devs/coder with some interst on AMD trx40 new platform using opencore debug 0.53 and boot arg flag debug=0x11448 I can't see any printed value or useful info in log Any advice about it? Edited January 5, 2020 by Guest Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2703009 Share on other sites More sharing options...
Andrey1970 Posted January 6, 2020 Share Posted January 6, 2020 10 hours ago, fabiosun said: I am trying to do a serial kernel debug with an USB serial port adapter connected via cable to a Windows 64 bit pc and using on it terminal app (https://sites.google.com/site/terminalbpp/) and CoolTerm (https://freeware.the-meiers.org/) My goal is to have some useful data to share to devs/coder with some interst on AMD trx40 new platform using opencore debug 0.53 and boot arg flag debug=0x11448 I can't see any printed value or useful info in log Any advice about it? But for USB serial port adapter need driver. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2703091 Share on other sites More sharing options...
Guest Posted January 6, 2020 Share Posted January 6, 2020 3 hours ago, Andrey1970 said: But for USB serial port adapter need driver. You mean a driver for opencore bootloader? in windows i have it for opencore no Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2703105 Share on other sites More sharing options...
bondpham Posted January 6, 2020 Share Posted January 6, 2020 (edited) I followed this tutorial https://github.com/khronokernel/Opencore-Vanilla-Desktop-Guide/blob/master/AMD/NullCPU-patch.md, after I deleted nullcpupowermanagement.kext, my Ryzen got panic: "Setting P-Limit is unsupported on this system" EFI.zip Edited January 6, 2020 by bondpham Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2703112 Share on other sites More sharing options...
Mike Ranger Posted January 6, 2020 Share Posted January 6, 2020 I have another question regarding Quirks that are built into OpenCore Currently for my system to boot, I need at least: Comment String <-> 5960XPatch 10.14 by PMHeart Disabled Boolean <-> No Find Data<-> 483D0000 0040 InfoPlistPatch Boolean <-> No MatchOS String <-> 10.14.x,10.15.x Name String<-> IOPCIFamily Replace Data<-> 483D0000 0080 and Comment String <-> _xcpm_pkg_scope_msrs by JamesK Disabled Boolean <-> No Find Data<-> 31D2E879 FDFFFF MatchOS String <-> 10.15.x Replace Data<-> 31D29090 909090 In Clover, both are not needed if the XCPMKernel Flag is selected. Without, the system will not boot. Is this functionality covered in OpenCore as well through a quirk? Thanks, Mike Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2703138 Share on other sites More sharing options...
Paksman Posted January 6, 2020 Share Posted January 6, 2020 Is it possible to disable XCPM in opencore for Skylake cpu ? I’m asking this because in clover i had FakeCpuId 0x0306a0 and NullCpuPowerManagement.kext so that HWP could work without XCPM. In opencore, I tried to set emulate CpuIdData A0060300 and CpuIdMask FFFFFFFF but boot fails with that settings. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/112/#findComment-2703158 Share on other sites More sharing options...
Recommended Posts