This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6548: Disable wkup_uart output from sysfw.itb

Part Number: AM6548

According to this post to disable trace in boardcfg file.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1121582/am6548-using-all-uarts-on-linux/4161906

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?