How to enable RPMSG feature

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to enable RPMSG feature

跳至解决方案
4,366 次查看
t-sen-developer
Contributor II

Hi,

I have been working with imx8mn evk board and want make use of the rpmsg module to communicate between the 2 cores(A53 and M7).

I run the insmod command, but a /dev/ttyRPMSG file is not generated.
=> insmode /lib/modules/<version>/kernel/driver/rpmsg/imx_rpmsg_tty.ko


How to enable this /dev/ttyRPMSG port?
How do I establish communication between the M7 and A53 cores of the board?


BoardType:8MNANOLPD4-EVK
Yocto Image:core-image-base, imx-image-core

 

zcat /proc/config.gz > ./config
# Rpmsg drivers
CONFIG_RPMSG=y
CONFIG_RPMSG_CHAR=y
CONFIG_RPMSG_QCOM_GLINK=y
CONFIG_RPMSG_QCOM_GLINK_PRM=y
CONFIG_VIRTIO=y
CONFIG_HAVE_IMX_RPMSG=y
CONFIG_IMX_RPMSG_PINGPONG=m
CONFIG_IMX_RPMSG_TTY=m

Best regards,
Takeo.

0 项奖励
回复
1 解答
4,360 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复
4 回复数
4,305 次查看
t-sen-developer
Contributor II

Hi, 

I'm sorry to rush you, but ... I would appreciate it if you could give us your reply by May 14.

I understand you are very busy, but I want to solve this issue immediately.

 

Regards,

Takeo

0 项奖励
回复
4,361 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复
4,343 次查看
t-sen-developer
Contributor II

Hi,igor

In the beginning, I tried to edit imx8mn-evk-rpmsg.dts.
However the problem is not solved yet.


I did the following.
Case1
1) edit imx8mx-evk-rpmsg.dts
2) bitbake linux-imx -c compile -f
3) bitbake linux-imx -c deploy
4) bitbake linux-imx
5) bitbake imx-image-core
6) Power ON (insert SD card image)
7) insmod /lib/modules/<version>/kernel/driver/rpmsg/imx_rpmsg_tty.ko
lsmod
 ⇒Found imx_rpmsg_tty.
9) ls /dev/tty*
 ⇒ Not found /dev/ttyRPMSG.


Case2
1-6) the same as above
7) Hit any key to stop autoboot
u-boot
  editenv fdt_file
  edit:imx8mn-evk-rpmsg.dtb
  boot

 ⇒the same result as above.


Where is the mistake in what I just did that ?

 

 

Best regards,
Takeo.

0 项奖励
回复
4,349 次查看
t-sen-developer
Contributor II

Thank you for your prompt reply.

Okay. I'll do that right away.

I'll contact you as soon as I finish reviewing.

Regards,
Takeo

0 项奖励
回复