problem with RPMSG initialization on i.mx6sx using pingpong example

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with RPMSG initialization on i.mx6sx using pingpong example

378 Views
mmmtq2011
Contributor I

Hi,

I'm trying to test PingPong example using i.mx6sx SABRE DB, following this tutorial. when I finished it I want to send messages between the two processors. so I've tried to execute  this command: 

dmesg | grep rpmsg

it shows me an error: 

[ 0.307064] imx-rpmsg: probe of 2200000.aips-bus:rpmsg failed with error -12
[ 0.307191] imx rpmsg driver is registered.

and on M4 side: 

RPMSG PingPong FreeRTOS RTOS API Demo...
RPMSG Init as Remote

no handshaking is established...

I've checked /dev/ttyRPMSG30 and it's there. though when I try to execute this command it shows me another error: 

root@imx6qpdlsolox:~# stty -F /dev/ttyRPMSG30 -echo
stty: /dev/ttyRPMSG30: Inappropriate ioctl for device

even when I try to echo a text nothing will show on M4 side. 

I'm not sure what's the problem.

Best Regards,

Mohammed

Labels (1)
0 Kudos
2 Replies

197 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Mohammed

please try with Demo Images from link

i.MX Software and Development Tools | NXP 

use linux documentation Linux 4.19.35_1.1.0 Documentation

rpmsg unit tests

rpmsg\test - imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

197 Views
mmmtq2011
Contributor I

igorpadykov wrote:

Hi Mohammed

 

please try with Demo Images from link

i.MX Software and Development Tools | NXP 

Do you mean the pingpong example from Freertos? that's the one I've already used. 

use linux documentation Linux 4.19.35_1.1.0 Documentation

it's the same procedure that I've followed, when I run the command: 

insmod imx_rpmsg_tty.ko

it shows no output from the A9 side. the documentation shows that the output should be: 

imx_rpmsg_tty rpmsg0: new channel: 0x400 -> 0x1!

Install rpmsg tty driver!

rpmsg\test - imx-test - i.MX Driver Test Application Software 

 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

is this the code that should be run on the Linux side? I will try it, thank you so much. 

0 Kudos