Hello,
is it possible to get CBoot debug console messages?
hello MarukoBG,
here’s log level settings you should configure, it’s settings as info by default.
#define TEGRABL_LOG_CRITICAL 1U
#define TEGRABL_LOG_ERROR 2U
#define TEGRABL_LOG_WARN 3U
#define TEGRABL_LOG_INFO 4U
#define TEGRABL_LOG_DEBUG 5U
Thank you @JerryChang,
could you help me to understand where do I have to enter those settings?
Consider that I am building the CBoot only as a standalone component and I am not using the whole SDK.
Just to be clear, my goal is to understand if CBoot sends out any message during boot (as u-boot usually does) because when I boot I don’t see anything on the seriel console.
Thanks
hello MarukoBG,
please have a try to configure rules.mk to change the log levels,
or, you could adjust the settings in the header file.
thanks
$L4T_Sources/r32.4.2/Linux_for_Tegra/source/public/cboot/bootloader/partner/common/include/lib/tegrabl_debug.h
#if defined(CONFIG_DEBUG_LOGLEVEL)
#define TEGRABL_CURRENT_LOGLEVEL CONFIG_DEBUG_LOGLEVEL
#else
#define TEGRABL_CURRENT_LOGLEVEL TEGRABL_LOG_INFO
Actually the solution is to add this line at the beginning of
cboot/bootloader/partner/common/include/lib/tegrabl_debug.h
#define CONFIG_ENABLE_LOGLEVEL_RUNTIME
This is the output now
[0001.114] I> Welcome to Cboot
mrq initialized
fmon_post initialized
[0001.114] I> Cboot Version: t194-13cfb501
[0001.115] I> CPU-BL Params @ 0xf2820000
[0001.115] I> 0) Base:0x00000000 Size:0x00000000
[0001.116] I> 1) Base:0xf1100000 Size:0x00100000
[0001.121] I> 2) Base:0xf2000000 Size:0x00200000
[0001.125] I> 3) Base:0xf1200000 Size:0x00200000
[0001.129] I> 4) Base:0xf1000000 Size:0x00100000
[0001.134] I> 5) Base:0xf0f00000 Size:0x00100000
clk_dt_late initialized
machine_check initialized
pm_post initialized
dbells initialized
avfs_clk_platform_post initialized
dmce initialized
cvc initialized
...