How to enable RPMSG feature

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable RPMSG feature

ソリューションへジャンプ
4,775件の閲覧回数
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,769件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信
4 返答(返信)
4,714件の閲覧回数
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,770件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信
4,752件の閲覧回数
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,758件の閲覧回数
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 件の賞賛
返信