Jump to content

OpenCore General Discussion


dgsga
8,888 posts in this topic

Recommended Posts

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 by Guest
Link to comment
Share on other sites

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
Share on other sites

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
Share on other sites

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
Share on other sites

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
Share on other sites

1 hour ago, Andrey1970 said:

 

On the side OpenCore you have the real serial port?

no
logilink usb to serial adapter
my trx40 motherboard and many Others do not have real serial port

 

Edited by Guest
Link to comment
Share on other sites

I am asking because i do not know
A pci express serial card could be seen by default?

Otherwise no serial debug is possible for normal user on many TRX40 motherboard

 

Edited by Guest
Link to comment
Share on other sites

thank you

Have you others advices for this task?

i am asking because in opencore pdf configuration there is a section where serial port debugging is discussed

 

Link to comment
Share on other sites

My goal was to understand if it is a problem of kernel Patches available at this moment or a bootloader problem, in a previous message you were talking about a serial debug so i started from there with limited knowdlege

thank you agai for your advice

 

Link to comment
Share on other sites

yeah, you serial debug XNU to retrieve the KP log, but that is not related to OC

EDIT: You could also try to mod the kernel to dump thr KP to NVRAM, but yet again I cannot help you with that and it is offtopic

Edited by Download-Fritz
Link to comment
Share on other sites

i know you are not interested on AMD development :)
have you an idea about this problem? (mem map allocation error in early stage i mean)

 

Link to comment
Share on other sites

i miss latest part (whitelisting) because i have understood you say it was not useful

DevirtualizeMmio produces an early kernel crash as you said (not info from this on screen)

Edit

sorry seen now offtopic message

 

 

 

Edited by Guest
typo
Link to comment
Share on other sites

On 1/4/2020 at 9:29 PM, Andrey1970 said:

 

Try

Thank you !!

I've compiled it and it solved my power management problem.

 

Before i got 1.8PKG on intel power gadget while now i'm back on 0.8PKG (as was before when i was using a normal SSD)!

 

Thanks to all the devs !!

 

Mattia

 

Link to comment
Share on other sites

I'm surprised to see OpenCore almost working 100% on my first try...

 

I have one issue that I'm not sure how to debug... I use a separate encrypted APFS NVME that contains all of my /Users data. This disk normally auto mounts at boot, but I've noticed that it no longer works when I boot with OpenCore (Note it works fine booting though Clover).

When I open the disk utility, I can see the disk, but it's greyed out and I don't seem to have an option to decrypt/mount the disk. It feels like File Vault is simply non-functional. When I read through the OpenCore related data, it mentions how AppleImageLoader is not needed so I never bother loading it into my configuration.

 

Screen Shot 2020-01-07 at 4.24.59 PM.png

Link to comment
Share on other sites

Hello been trying to switch from clover to OpenCore but nothing seems to be working. I get the dreaded black screen and stuck at 

 

19:465 00:031 Prelinked status - Success
 

 

Here's my log and EFI.

 

Thanks for any help you can give. Tried 18,1 and 19,2 SMBIO 

 

| [CPU][Intel Core i7-8700K 3.7 GHz 6-Core Processor] | [CPU Cooler][Corsair H100i v2 70.69 CFM Liquid CPU Cooler] | [Motherboard][MSI Z370M GAMING PRO AC Micro ATX LGA1151 Motherboard] | [Memory][G.Skill Trident Z 16 GB (2 x 8 GB) DDR4-3200 Memory] | [Storage][Samsung 850 EVO-Series 500 GB 2.5" Solid State Drive] | [Video Card][Asus Radeon RX 580 8 GB ROG STRIX Video Card]

EFI.zip

opencore-2020-01-07-022337.txt

Link to comment
Share on other sites

1 hour ago, audiohackintosh said:

Hello been trying to switch from clover to OpenCore but nothing seems to be working. I get the dreaded black screen and stuck at 

 

19:465 00:031 Prelinked status - Success
 

 

Here's my log and EFI.

 

Thanks for any help you can give. Tried 18,1 and 19,2 SMBIO 

 

| [CPU][Intel Core i7-8700K 3.7 GHz 6-Core Processor] | [CPU Cooler][Corsair H100i v2 70.69 CFM Liquid CPU Cooler] | [Motherboard][MSI Z370M GAMING PRO AC Micro ATX LGA1151 Motherboard] | [Memory][G.Skill Trident Z 16 GB (2 x 8 GB) DDR4-3200 Memory] | [Storage][Samsung 850 EVO-Series 500 GB 2.5" Solid State Drive] | [Video Card][Asus Radeon RX 580 8 GB ROG STRIX Video Card]

EFI.zip

opencore-2020-01-07-022337.txt

Not an expert by any means but:

Get rid of all clover stuff

clean out kexts to only necessary ones

compile latest OC and create new config.plist using sample in doc's folder

I run a z390 board with a 580 and need no boot arg. i would think that is true on a 370 board

It is necessary to read the Reference Manual to get a viable system 

Link to comment
Share on other sites

1 minute ago, ken394 said:

Not an expert by any means but:

Get rid of all clover stuff

clean out kexts to only necessary ones

compile latest OC and create new config.plist using sample in doc's folder

I run a z390 board with a 580 and need no boot arg. i would think that is true on a 370 board

It is necessary to read the Reference Manual to get a viable system 

Hmm I followed the vanilla guide pretty exactly at first but that didn't work so I started porting over what worked on my clover config and still no luck. I'll try one more time but I'm not really expecting any different result. 

Link to comment
Share on other sites

×
×
  • Create New...