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.

[参考译文] RTOS/AM5728:RPMsg PRU 问题

Guru**** 2606725 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/651426/rtos-am5728-rpmsg-pru-questions

器件型号:AM5728

工具/软件:TI-RTOS

我正在使用 am5728-idk board.on borad System、使用:ti-processor-sdk-linux-rt-am57xx-evm-04.01.00.06。

我注意到 arch/arm/boot/dts 中有一个 am572x-idk-uio.dtsi、我尝试修改 am572x-idk.dtsi 并将其包含在内。

在$make dtbs 并重新启动后。 我看到/dev/uiox 和/sys/class/uio/uiox 出现。这意味着 uio 驱动程序正在使用 am5728-idk。

然后我尝试按照   。

但结果仍然出现错误:prussdrv_open()失败。

问题1:我看/sys/class/remoteproc,remotepproc 0~1用于 DSP,remoteproc 2~3用于 IPU。 这意味着 PRU 无法使用 uio_driver?

Q2:正如标题所说、RPMSG_PRU 如何通过 C 代码访问存储器? 我的项目真的需要它!!!