“线程:测试”中讨论的其它部件
您好,
我使用的是 IDKAM4376板。
我能够启动主板。
1)如何从控制台检查 UART?
2)我可以使用哪些重要命令?
3)如何将 UART 1驱动程序添加到 DTS 文件中?如何测试?
此致,
Vrund
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.
您好,
我使用的是 IDKAM4376板。
我能够启动主板。
1)如何从控制台检查 UART?
2)我可以使用哪些重要命令?
3)如何将 UART 1驱动程序添加到 DTS 文件中?如何测试?
此致,
Vrund
您好,
以下文档提到 AM64x,但它们也适用于 AM437x。
https://dev.ti.com/tirex/content/linux-academy-AM64X-8.1.0.0.v1/ch-eval/eval-tour-uart.html
https://dev.ti.com/tirex/content/linux-academy-AM64X-8.1.0.0.v1/ch-develop/dev-use-uart.html
https://dev.ti.com/tirex/content/linux-academy-AM64X-8.1.0.0.v1/ch-porting/port-kernel-uart.html
下面是如何确定它:
AM437X-L4.dtsi 将 UART1时钟定义如下:
689 clocks = <&l4ls_clkctrl AM4_L4LS_UART2_CLKCTRL 0>;
然后在内核源代码中搜索 AM4_L4LS_UART2_CLKCTRL,您将获得:
drivers/clk/ti/clk-43xx.c:202: { AM4_L4LS_UART2_CLKCTRL, NULL, CLKF_SW_SUP, "dpll_per_m2_div4_ck" },
因此,UART1时钟为“DPLL_Per_m2_div4_ck”。