According to this post to disable trace in boardcfg file.
in the board_cfg.c, there is a define ENABLE TRACE:
/* boardcfg_dbg_cfg */
.debug_cfg = {
.subhdr = {
.magic = BOARDCFG_DBG_CFG_MAGIC_NUM,
.size = sizeof(struct boardcfg_dbg_cfg),
},
#ifdef ENABLE_TRACE
.trace_dst_enables = BOARDCFG_TRACE_DST_UART0 |
BOARDCFG_TRACE_DST_ITM |
BOARDCFG_TRACE_DST_MEM,
.trace_src_enables = BOARDCFG_TRACE_SRC_PM |
BOARDCFG_TRACE_SRC_RM |
BOARDCFG_TRACE_SRC_SEC |
BOARDCFG_TRACE_SRC_BASE |
BOARDCFG_TRACE_SRC_USER |
BOARDCFG_TRACE_SRC_SUPR,
#endif
},
};
#1. Where to define or undef this Macro?
#2. How to build after modify boardcfg? just run host# make sysfw-image ?
#3. How to confirm if disabled sysfw wkup_uart output? When boot with default prebuilt images there are 6 words output from wkup_uart in below snapshot right side. When will it output again? or how to trigger it output?