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.

[参考译文] J784S4XEVM:TDA4AP-Q1将 u-boot 控制台从 UART8更改为 UART3未定义时钟

Guru**** 2394305 points
Other Parts Discussed in Thread: TDA4AP-Q1, J784S4XEVM

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1490510/j784s4xevm-tda4ap-q1-changing-u-boot-console-from-uart8-to-uart3-no-clock-defined

器件型号:J784S4XEVM
主题中讨论的其他器件:TDA4AP-Q1

工具与软件:

您好!

我们将使用 TDA4AP-Q1 SoC 创建一个基于 J784S4XEVM 的定制电路板、但是我们必须为控制台使用 MAIN_UART_3。
我已阅读多个帖子、并根据我在以下帖子上的大多数配置更改:
am625-change-u-boot-console-from-uart0-to-uart4 和 j784s4xevm-debug-console-on-wkup_uart0  

我遇到的一个问题是、 R5 SPL 在 调用 serial_find_console_or_panic ()时失败、因为它找不到 main_uart3所需的时钟(Clocks =<&K3_CLKS 390 0>;)  

  根据 J784s4、J784S4_DEV_UART3 ID 390的时钟似乎 未在 u-boot 文件 arch/arm/mach-k3/j784s4/clk-data.c 中定义   

由于 arch/arm/mach-k3/j784s4/clk-data.c 和 arch/arm/mach-k3/j784s4/dev-data.c 似乎 是自动生成的、您能否为这些文件提供一个补丁来添加 ID 为390的主题时钟?

谢谢你

Bruce