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:来自 SYSFW 的 Linux Remoteproc (host_id=36) 的 AM64x CPSW PSIL 对 NACK

Guru**** 2927270 points

Other Parts Discussed in Thread: AM6442

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1652433/am6442-am64x-cpsw-psil-pair-nack-from-sysfw-under-linux-remoteproc-host_id-36

器件型号: AM6442

平台:AM64x SR2.0 HS-SDK、MCU+ FS 09.01.00.41、SYSFW 09.01.06、Linux 6.12、Yocto scarthgap
R5F0-0 固件在 Linux Remoteproc 下运行 CPSW。 Sciclient_rmPsilPair (SYSFW=0x4500、DST=0x9010) 从 src 返回 flags=0 (NACK)。 相同的固件在 SBL 下正常工作。
已确认:

SYSFW 资源查询确认 HOST_ID=36 拥有 CPSW_RX_CHAN start=16 num=1
TX/RX 通道 RT 寄存器全部为零(未启用)
PSIL 对调用后 PKTDMA RCHAN16 THRD_ID = 0x00000000(硬件从未配对)
Linux UDMA 驱动程序未使用 CPSW 通道
在 U-Boot SPL 之后不会发送第二个 Board_CONFIG_RM
rm-cfg.yaml 具有 host_id=36(类型 1,937,1943195619631964)的正确资源条目
board-cfg.yaml 具有 trace_dst_enables=0x04、trace_src_enables=0x02

SYSFW 以 Seq 匹配 (STATUS=SystemP_SUCCESS) 进行响应、但 TISCI_MSG_RM_PSIL_PAIR (0x1280) 上的标志=0x00000000。 board-cfg.yaml 具有 trace_dst_enables=0x04、trace_src_enables=0x02、但在 Linux 运行期间在 WKUP_UART0 (ttyS0) 或 ttyS1 上未观察到 SYSFW 跟踪输出。  

对于超出 rm-cfg.yaml 中资源范围所有权的 TISCI_MSG_RM_PSIL_PAIR、SYSFW 需要哪些额外授权? 当请求主机不是 Linux A53 引导主器件 (host_id=12) 时、映射的 CPSW 通道的 PSIL 对是否存在已知限制? AM64x 上的 Linux Remoteproc 下是否有 R5F CPSW 的有效参考?  SYSFW 09.01.06 中 remoteproc 下的 CPSW PSIL 对是否存在已知问题?