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.

[参考译文] AM6442:AM6442:TMDS64EVM 评估套件上的 LED23

Guru**** 2481465 points
Other Parts Discussed in Thread: SYSCONFIG

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1458588/am6442-am6442-led23-on-tmds64evm-evalkit

器件型号:AM6442
主题中讨论的其他器件:SysConfig

工具与软件:

您好、Nick。

关于本主题 AM6442:TMDS64EVM EvalKit 上的 LED23 -处理器论坛-处理器- TI E2E 支持论坛、 我发现了问题所在。

我希望我的回答会帮助我的情况下的其他人。  

我的问题:  当 R5F 内核启动我的应用程序以从 U-boot (使用 remoteproc 命令)或通过 SBL 从引导使 LED23闪烁时、R5F 应用程序在 Linux 启动的前几秒内崩溃。

通过 CCS 进行调试后、 我注意到生成延迟的模块已崩溃、并在无限循环中运行。

解决方案:  在 SysConfig 工具中、 我使用计时器11作为 R5F 应用的时钟。 请参见下文  

但在 k3-am64-main.dtsi 文件中、Linux 已经使用了计时器11。 因此、务必 按此方式禁用它(或您在 syconfig 中选择的  模块)、然后从 ti-processor-sdk-linux-am64xx-evm-10.00.07.04目录再次运行"make linux-dtbs"以生成新的 K3-am642-evm.dtb。 将其替换到 SDcard 或 EMMC 上的/boot/dtb/ti 目录中。    

/*
        main_timer11: timer@24b0000 {
                compatible = "ti,am654-timer";
                reg = <0x00 0x24b0000 0x00 0x400>;
                interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&k3_clks 47 1>;
                clock-names = "fck";
                assigned-clocks = <&k3_clks 47 1>;
                assigned-clock-parents = <&k3_clks 47 2>;
                power-domains = <&k3_pds 47 TI_SCI_PD_EXCLUSIVE>;
                ti,timer-pwm;
        };
*/
        main_esm: esm@420000 {
                bootph-pre-ram;
                compatible = "ti,j721e-esm";
                reg = <0x00 0x420000 0x00 0x1000>;
                ti,esm-pins = <160>, <161>;
        };

之后、R5F 应用程序可以在 Linux 下正常运行。