From 6c887c15be0dd96a2d07bebe4b6c8998acf305cf Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sun, 19 Jul 2020 23:25:49 +0300 Subject: [PATCH] l4t: Disable kernel panic dumping for now --- bootloader/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootloader/main.c b/bootloader/main.c index c37438a..0f8482d 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -1145,7 +1145,8 @@ static void _show_errors() if (*excp_enabled == EXCP_MAGIC) h_cfg.errors |= ERR_EXCEPT_ENB; - if (PMC(APBDEV_PMC_SCRATCH37) & PMC_SCRATCH37_KERNEL_PANIC_FLAG) + //! FIXME: Find a better way to identify if that scratch has proper data. + if (0 && PMC(APBDEV_PMC_SCRATCH37) & PMC_SCRATCH37_KERNEL_PANIC_FLAG) { // Set error and clear flag. h_cfg.errors |= ERR_L4T_KERNEL;