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
 
					
				
		
 igorpadykov
		
			igorpadykov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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!
-----------------------------------------------------------------------------------------------------------------------
igorpadykov wrote:
Hi Mohammed
please try with Demo Images from link
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.
