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.

[参考译文] TDA4VM-Q1:所有内核均未在 sysfs Remoteproc 中列出、甚至在 dts 文件中分配了内存。

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1626962/tda4vm-q1-all-core-are-not-listing-in-sysfs-remoteproc-even-memory-is-assigned-in-dts-file

器件型号: TDA4VM-Q1

我已在 DTS 中添加了所有内核内存、但在 sysfs 中、某些内核缺少群集 1 和 2 的特定辅助内核。

附加日志以供参考。

root@j784s4-ospas120:~#
 CoreIO-R5F 的起始集群为集群:1、内核:1
请输入/sys/class/remoteproc/remoteproc */名称
==>/sys/class/remoteproc/remoteproc0/name <=
41000000.r5f

==>/sys/class/remoteproc/remoteproc1/name <=
64800000.dsp

==>/sys/class/remoteproc/remoteproc2/name <=
65800000.dsp

==>/sys/class/remoteproc/remoteproc3/name <=
5c00000.r5f

==>/sys/class/remoteproc/remoteproc4/name <=
66800000.dsp

==>/sys/class/remoteproc/remoteproc5/name <=
67800000.dsp

==>/sys/class/remoteproc/remoteproc6/name <=
5d00000.r5f

==>/sys/class/remoteproc/remoteproc7/name <=
5e00000.r5f

==>/sys/class/remoteproc/remoteproc8/name <=
5900000.r5f

 

root@j784s4-ospas120:~# dmesg | grep Reserved
[  0.000000]保留存储器:创建了位于 0x00000000a0000000、大小为 1 MIB 的 DMA 存储池
[  0.000000]保留存储器:创建了位于 0x00000000a0100000、大小为 15 MIB 的 DMA 存储器池
[  0.000000]保留存储器:在 0x00000000a1000000 处创建了 DMA 存储器池、大小为 1 MIB
[  0.000000]保留存储器:创建了位于 0x00000000a1100000、大小为 15 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a2000000 的 DMA 存储器池、大小为 1 MIB
[  0.000000]保留存储器:创建了位于 0x00000000a2100000、大小为 31 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a4000000 的 DMA 存储器池、大小为 1 MIB
[  0.000000]保留存储器:创建了位于 0x00000000a4100000、大小为 15 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a5000000 的 DMA 存储池、大小为 1 MIB
[  0.000000]保留存储器:在 0x00000000a5100000 处创建了 DMA 存储器池、大小为 15 MIB
[  0.000000]保留存储器:创建了位于 0x00000000a6000000、大小为 1 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a6100000、大小为 15 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a7000000、大小为 1 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a7100000、大小为 15 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a8000000、大小为 1 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000a8100000、大小为 15 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000ac000000、大小为 48 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000af000000、大小为 48 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000b2000000 的 DMA 存储器池、大小为 1 MIB
[  0.000000]保留存储器:创建了位于 0x00000000b2100000、大小为 5 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000b4000000 的 DMA 存储器池、大小为 1 MIB
[  0.000000]保留存储器:创建了位于 0x00000000b4100000、大小为 5 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000b6000000、大小为 1 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000b6100000、大小为 5 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000b8000000、大小为 1 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000b8100000、大小为 5 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了 DMA 存储器池、地址为 0x00000000ba000000、大小为 64 MIB
[  0.000000]保留存储器:创建了位于 0x00000000be000000、大小为 8 MIB 的 DMA 存储器池
[  0.000000]保留存储器:创建了位于 0x00000000be800000、大小为 24 MIB 的 DMA 存储池
[  0.000000]保留存储器:创建了 DMA 存储器池、地址为 0x0000000880000000、大小为 2048 MIB
[  0.000000]保留内存:创建了 CMA 内存池、地址为 0x0000000980000000、大小为 1792 MIB

 

我们的要求是直接在 sysfs 的 remoteproc 中列出所有群集内核、而无需查看/lib/firmware.中的链接  

 

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

    您好:

    根据您的上述声明、要列出   J784S4 上 sysfs 中的所有集群内核、必须确保 R5F 集群配置为 拆分  模式 、而不是 DTS 中的默认锁步模式。 当集群处于锁步模式时、硬件将两个内核视为单个实体、   /sys/class/remoteproc 中只会出现一个 Remoteproc 实例(主内核)

    此致

    Tarun Mukesh