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.

[参考译文] Linux/AM5728:如何分配 rpmsg 驱动程序

Guru**** 2587345 points
Other Parts Discussed in Thread: AM5728

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/594264/linux-am5728-how-do-rpmsg-drivers-get-assigned

器件型号:AM5728

工具/软件:Linux

我想使用 rpmsg 在我的 AM5728上的 Linux 内核和 IPU 内核之间进行通信。 我一直在查看器件树和驱动程序代码、以 rpmsg 与 PRU 内核的通信为例。 我不清楚的是内核如何确定要在/dev/dev 中创建哪些设备来链接到这些 PRU。 我假设它与器件树中"兼容"标签列出的内容有关、但在内核源树中的/drivers/rpmsg 目录中搜索时不会显示任何指示、表明这些内容直接与 rpmsg 相关联。 我可以在/drivers/remoteproc 中查看兼容值的引用位置,但不清楚这些值是如何与 rpmsg 相关联的。

有人能解释 rpmsg 通道如何在引导/模块插入时映射到/dev/dev 中的设备和相关 PRU 吗?

谢谢。