How to enable RPMSG feature

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable RPMSG feature

Jump to solution
4,772 Views
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 Kudos
Reply
1 Solution
4,766 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply
4 Replies
4,711 Views
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 Kudos
Reply
4,767 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply
4,749 Views
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 Kudos
Reply
4,755 Views
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 Kudos
Reply