![]() Use screen utility to get the output, or download GUI software, such as CoolTerm. Connect motherboard TX to USB UART RX, and motherboard GND to USB UART GND. For macOS your best choice are CP2102-based UART devices. OpenCore uses 115200 baud rate, 8 data bits, no parity, and 1 stop bit. Serial port debugging is enabled in Target, e.g. To obtain the log during boot you can make the use of serial port debugging. ![]() ![]() The OpenCore manual generally recommends CP21202-based UART devices: To verify whether your board comes with one, check the owners or service manual and search for the serial/COM port:Īs you can see, we have a COM port on the bottom of our motherboard and even provides us with a diagram for manually hooking up our serial pins if you're not using a 9/10 Pin Serial Header to DB9 adapter.Īlternatively, some machine come with DB9 Serial ports right on the rear IO such as this Dell Optiplex 780 SFF(note that VGA and Serial are not the same connector):įor my X299 setup, I'm using a simple Serial header to DB9 (opens new window), then a DB9 to USB RS 232 adapter (opens new window) which finally terminates at my laptop: Serial header to DB9 screen and other methods are also supportedįor this example, we'll be using an Asus X299-E Strix board which does have a serial header.For this guide, we'll use CoolTerm (opens new window) as it supports macOS, Linux, Windows and even Raspberry Pi's.A second machine to receive the serial logging(with either Serial or USB).A serial-to-serial or serial-to-USB cable.A serial header/port on the test machine.It's also the only way to properly log super early kernel panics(such as things right after )įor this setup, you'll need a few things: While optional, serial can be super helpful in grabbing all the important info flooding your PC. 0xFFFF5F alternatively implies ACPI_ALL_COMPONENTS.Sets ACPI_LV_DEBUG_OBJECT debug, see acoutput.h (opens new window) for more information.0xFFFFFFFF alternatively enables all layers.Enables ACPI_TABLES debug, see acoutput.h (opens new window) for more information.Recommended for early kernel output before PCI Configuration.Redirects output to serial if you plan to use serial.Enables iGPU related debugging, helpful when working with iGPU systems.Be aware that the logging-amount of this parameter will be huge and will slow down the system. Enables IOKit debugging, with greater output.Enables debugging on Lilu and any other plugins, though note that this requires DEBUG versions of the kexts.Note not required with DebugEnhancer.kext, however for early kernel logs it's still requiredĭepending on what you're debugging, you may also find these boot-args extremely helpful:.Sets the kernel's message buffer size, this helps with getting proper logs during boot.A full list of values can be found here: debug.h (opens new window).Ensures symbols are kept during kernel panics, which are greatly helpful for troubleshooting.Here we get to set some variables that will help us with debug output, for us we'll be using the following boot-args: You can calculate your own vale here: OpenCore debugging.Target = 75 adds the additional serial output flag(0x08) if you plan to use serial.Note you will need to compile the SSDT (opens new window)įor serial setup, OpenCore actually makes this quite straight forward.Enables debug statements from your ACPI tables, helping for in-OS ACPI event debugging.Note this kext cannot start with kernel initialization, so early logs are not patched until the kext is loaded right before PCI Configuration Stage.Helps greatly with kernel debugging while also patching kern.msgbuf to 10485760 (opens new window) and allowing a much larger kernel-log.This can help ensure you get all the necessary data, see here for more details on OpenCore debugging: OpenCore debuggingīesides just using DEBUG variants of OpenCore and kexts, these tools can also help out greatly: Main things we recommend are DEBUG version of OpenCore and all your kexts. Getting started with ACPI (opens new window)įor most part, there's fairly minimal changes required.
0 Comments
Leave a Reply. |