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:如何启用字符设备 RPMSG?

Guru**** 2543880 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1128431/am6442-how-to-enable-character-device-rpmsg

器件型号:AM6442

你好

我想启用字符设备 RPMSG。 我将 Yocto 用作构建系统。 我添加了内核配置片段:

CONFIG_RPMSG_VIRTIO=y
CONFIG_RPMSG_PROTO=y
CONFIG_RPMSG_CHAR=y
CONFIG_TI_PRUSS=y
CONFIG_PRU_REMOTEPROC=y
CONFIG_RPMSG_PRU=y
CONFIG_SAMPLE_RPMSG_CLIENT=y
CONFIG_RPMSG_KDRV_DEMO=y

但仍然没有/dev/char/rpmsg_ctrl 设备可用。

我发现在系统启动时,只调用 drivers/rpmsg/rpmsg_char.c 中的 rpm_char_init()函数。

不会调用 probe ()函数。

为什么它不起作用?

感谢您的帮助。