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.
Solved! Go to Solution.
Hi Takeo
one can try to use imx8mn-evk-rpmsg.dts
https://source.codeaurora.org/external/imx/imx-test/tree/test/rpmsg?h=imx_5.4.70_2.3.0
Follow sect.2.8.4 Menu Configuration Options i.MX Linux Reference Manual
RPMSG examples in SDK_EVK-MIMX8MN: https://mcuxpresso.nxp.com/en/welcome
Best regards
igor
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
Hi Takeo
one can try to use imx8mn-evk-rpmsg.dts
https://source.codeaurora.org/external/imx/imx-test/tree/test/rpmsg?h=imx_5.4.70_2.3.0
Follow sect.2.8.4 Menu Configuration Options i.MX Linux Reference Manual
RPMSG examples in SDK_EVK-MIMX8MN: https://mcuxpresso.nxp.com/en/welcome
Best regards
igor
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
⇒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
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.
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