hello sevm89,
since we only release C-Boot Sources for r32.4.2.
could you please try to disable uart-message for MB2/cboot as following, which only error message appear.
thanks
diff --git a/include/lib/tegrabl_debug.h b/include/lib/tegrabl_debug.h
index 40bb064..4c6fa6e 100644
--- a/include/lib/tegrabl_debug.h
+++ b/include/lib/tegrabl_debug.h
@@ -95,9 +95,9 @@ typedef uint32_t tegrabl_loglevel_t;
#else
#if defined(CONFIG_DEBUG_LOGLEVEL)
- #define TEGRABL_CURRENT_LOGLEVEL CONFIG_DEBUG_LOGLEVEL
+ #define TEGRABL_CURRENT_LOGLEVEL TEGRABL_LOG_ERROR
#else
- #define TEGRABL_CURRENT_LOGLEVEL TEGRABL_LOG_INFO
+ #define TEGRABL_CURRENT_LOGLEVEL TEGRABL_LOG_ERROR
#endif
#define tegrabl_log_printf(level, fmt, ...) \
diff --git a/lib/debug/tegrabl_debug.c b/lib/debug/tegrabl_debug.c
index 6ef9e46..b7655b0 100644
--- a/lib/debug/tegrabl_debug.c
+++ b/lib/debug/tegrabl_debug.c
@@ -36,10 +36,11 @@ static char msg[CONFIG_DEBUG_PRINT_LENGTH];
static struct tegrabl_console *hdev;
#if defined(CONFIG_ENABLE_LOGLEVEL_RUNTIME)
-uint32_t tegrabl_debug_loglevel = TEGRABL_LOG_INFO;
+uint32_t tegrabl_debug_loglevel = TEGRABL_LOG_ERROR;
void tegrabl_debug_set_loglevel(tegrabl_loglevel_t level)
{
+ level = TEGRABL_LOG_ERROR;
tegrabl_debug_loglevel = level;
}
#endif
diff --git a/lib/linuxboot/cmdline.c b/lib/linuxboot/cmdline.c
index 496ffc4..6ed96a8 100644
--- a/lib/linuxboot/cmdline.c
+++ b/lib/linuxboot/cmdline.c
@@ -123,7 +123,7 @@ static int tegrabl_linuxboot_add_earlycon(char *cmdline, int len, char *param, v
ret_val = -1;
goto fail;
}
- ret_val = tegrabl_snprintf(cmdline, len, "%s=tegra_comb_uart,mmio32,0x%08x ", param, mbox_addr);
+// ret_val = tegrabl_snprintf(cmdline, len, "%s=tegra_comb_uart,mmio32,0x%08x ", param, mbox_addr);
}
#endif