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.

[参考译文] AM625:在 TIFS 固件中禁用 MAIN_UART1

Guru**** 2553450 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1243537/am625-disable-main_uart1-in-tifs-firmware

器件型号:AM625

您好!

客户希望 在应用中使用 MAIN_UART1。 如何 在 TIFS 固件中禁用 MAIN_UART1?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Nancy、

    请将以下补丁应用于 SDK board-support/k3-image-gen-2022.01/、然后重新编译 u-boot。 这应防止 TIFS 使用 MAIN_UART1。

    --- soc/am62x/evm/board-cfg.c.orig      2023-06-30 09:17:09.910434836 -0500
    +++ soc/am62x/evm/board-cfg.c   2023-06-30 09:18:07.096173838 -0500
    @@ -78,7 +78,7 @@
                            .size = sizeof(struct boardcfg_dbg_cfg),
                    },
     #ifdef ENABLE_TRACE
    -               .trace_dst_enables = BOARDCFG_TRACE_DST_UART0 |
    +               .trace_dst_enables =
                                         BOARDCFG_TRACE_DST_ITM |
                                         BOARDCFG_TRACE_DST_MEM,
                    .trace_src_enables = BOARDCFG_TRACE_SRC_PM |