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.

[参考译文] PROCESSOR-SDK-J784S4:IPC 通信 R5f <->A72 (Linux)

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1435386/processor-sdk-j784s4-ipc-communication-r5f---a72-linux

器件型号:PROCESSOR-SDK-J784S4

工具与软件:

您好!

我需要建立 IPC 通信 MCU3_0 <-> MPU1_0。
我执行了基于示例 app 的初始化过程:
ti-processor-sdk-rtos-j784s4-evm-09_02_00_05\pdk_j784s4_09_02_00_30\packages\ti\drv\ipc\examples\common\ipc\ipc_testsetup.c src

在 MCU3_0上实现了以下步骤:
IPC_mpSetConfig ->确定
IPC_loadResourceTable ->确定
ipc_initVirtio()->确定
RPMessage_init()->确定


但在该段之后、IPC_isRemoteReady (IPC_MPU1_0)始终返回 FALSE。

在/dev/rpmsg 中也看不到新设备*
而且/sys/class/remoteproc/remoteproc 中也没有 virtio*/rproc-virtio*

IPC_isRemoteReady (IPC_MPU1_0)返回始终为假的原因可能是什么?

此致

Wojciech

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

    你好。

    IPC_isRemoteReady (IPC_MPU1_0)返回总是错误的原因何在?

    如果 MPU1_0上的 Linux 尚未就绪、则将出现故障情况、

    此致

    Tarun Mukesh

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

    尊敬的 Tarun Mukesh:

    您能否回答以下问题:

    1.如何使 A72 (Linux)为 IPC 做好准备?

    2.  在/sys/class/remoteproc/remoteproc 中正确安装 virtio*/rproc-virtio*的条件是什么?

    3.在 /dev/rpmsg 中安装 rpmsg 设备的条件是什么?

    此致

    Wojciech

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

    您好!

    一旦 Linux 在 A72上启动、 IPC_isRemoteReady(IPC_MPU1_0)就会返回 true、无需显式执行任何操作。

    如果使用 ipc_echo_test 正确加载了相应的可执行文件、则会加载 virtio 和 rpmsg 所有内容。

    请检查您是在加载视觉应用还是 IPC 回声测试。

    请查看以下 URL  

    e2e.ti.com/.../5394120

    此致

    Tarun Mukesh