工具/软件:
将 PRU-ICSS 反向移植到 5.9.0 以支持 am62x。
是否有任何 dos & ts? 是否有任何因素会妨碍 5.9.0 和 am62x 协同工作?
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.
工具/软件:
将 PRU-ICSS 反向移植到 5.9.0 以支持 am62x。
是否有任何 dos & ts? 是否有任何因素会妨碍 5.9.0 和 am62x 协同工作?
您好!
对延迟的回复表示歉意。 我是从度假回来的。
您使用的是哪个版本的 Linux 内核?
PRU 软件支持包 (PSSP) 的每个标签都包含有关向后兼容性分段的详细信息。
PSSP 5.9 设计用于 Linux 内核 5.4
https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tag/?h=v5.9.0
在 PSSP v6.1(用于 Linux 内核 5.10)之前、我没有添加对 AM62x 的支持。 PSSP v6.1 中的示例固件不能与 Linux 内核 5.4 配合使用
https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tag/?h=v6.0.0
https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tag/?h=v6.1.0
如果您使用的是更高版本的内核、则应使用更高版本的 PSSP、而不是尝试反向移植内容。 一般来说、我不建议将 AM62x 与 Linux 内核 5.4 配合使用。 我们最早的 AM62x SDK 位于 PROCESSOR-SDK-LINUX 内核 5.10 上: https://www.ti.com/tool/download/AM62X/08.03.00.19 、因此 TI 完全不支持您使用 AM62x 和 Linux 5.4 所做的任何操作。
此致、
Nick
谢谢 Nick!
回顾一下、我正在使用 Variscite 的 AM62x 及其最新稳定版本。
root@am62x-var-som:~# uname -A
Linux am62x-var-som 6.1.83-rt28-ti-g055ead3d5359 #1 SMP PREEMPT_RT、星期一、10 月 28 日、14:56:49、UTC、2024 年、AArch64、GNU/Linux
但我认为 Remoteproc_core 标头来自早期版本?
https://github.com/varigit/ti-linux-kernel/commits/ti-linux-6.1.y_09.02.01.10_var01/drivers/remoteproc/remoteproc_core.c
这看起来像是 variiscite 和 TI 内核的最后一次共同承诺?
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?id=11c7f9e3131ad14b27a957496088fa488b153a48
我很高兴在这方面得到纠正,但这是否表明该内核中的 remoteproc 是内核 4.9 时代?
您好:
只为了设置支持预期、我可以支持 TI 代码、但我不能支持 Variscite 版本的代码。
用于初始化 PRU 内核的驱动程序如下:
https://github.com/varigit/ti-linux-kernel/blob/ti-linux-6.1.y_09.02.01.10_var01/drivers/remoteproc/pru_rproc.c
根据 Variscite 分支的名称、我预计它们将在 09.02.01.10 版本之后基于 ti-linux-kernel 分支 ti-linux-6.1.y 构建:
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/refs/?h=ti-linux-6.1.y
假设它们在该分支上确实有效、那么您应该使用 PSSP v6.2 至 v6.4。 请在此处记下向后兼容性破损:
https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tag/?h=v6.2.0
此致、
Nick