Add docs on how to debug

This commit is contained in:
Mykola Grymalyuk
2021-03-14 19:05:21 -06:00
parent ed55cc3bbd
commit 4e659ebdbb
9 changed files with 78 additions and 8 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from pathlib import Path
class Constants:
def __init__(self):
self.patcher_version = "0.0.18"
self.patcher_version = "0.0.19"
self.opencore_commit = "7bb41aa - 2021-03-06"
self.opencore_version = "0.6.8"
self.lilu_version = "1.5.1"
+2 -1
View File
@@ -236,7 +236,7 @@ class BuildOpenCore:
if self.constants.verbose_debug is True:
print("- Enabling Verbose boot")
self.config["Kernel"]["Quirks"]["PanicNoKextDump"] = True
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -v"
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -v debug=0x100"
if self.constants.kext_debug is True:
print("- Enabling DEBUG Kexts")
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -liludbgall"
@@ -244,6 +244,7 @@ class BuildOpenCore:
if self.constants.opencore_debug is True:
print("- Enabling DEBUG OpenCore")
self.config["Misc"]["Debug"]["Target"] = 67
self.config["Misc"]["Debug"]["DisplayLevel"] = 672151678018
if self.constants.showpicker is True:
print("- Enabling ShowPicker")
self.config["Misc"]["Boot"]["ShowPicker"] = True