how to build the rpmsg A9 side program on i.mx 6sx

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

how to build the rpmsg A9 side program on i.mx 6sx

1,299 Views
mmmtq2011
Contributor I

Hi,

I'm trying to write a code that sends data from the Cortex-A9 processor to the Cortex-M4 processor, then the Cortex-M4 processes it, then sends the processed data to the Cortex-A9. I've run the PingPong example on M4, and it works by executing some commands from the A9 side. but I want to write a code that sends the data without using these commands. I've checked this sample and this document, but I can't relate between them. I'm not really sure Where can I start to write the Linux rpmsg code on the Cortex-A9 processor, and I'm really short on time. 

Best Regards,

Mohammed

Labels (2)
0 Kudos
5 Replies

1,066 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mohammed

one can look at additional documents and examples from third parties:

https://boundarydevices.com/freertos-bsp-v1-0-1-imx7-imx6sx/ 

https://www.embeddedartists.com/sites/default/files/support/com/iMX6SoloX/iMX6SoloX_Working_with_Cor... 

https://www.dantechrb.com/blog/how-to-build-and-debug-freertos-applications-for-cortexm4-on-mx6sx 

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

0 Kudos

1,066 Views
mmmtq2011
Contributor I

Thank you for your response, but I've already run the pingpong example on the M4 using the commands from the A9 side. What I want is to write a simple code on linux to transmit some data from the A9 to the M4. I want to do the communication in my application on linux. 

0 Kudos

1,066 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mohammed

nxp has special service for helping customers to write own applications:

Commercial Support and Engineering Services | NXP 

Best regards
igor

0 Kudos

1,066 Views
mmmtq2011
Contributor I

Thank you for your response, so there are no documentations/examples about making the linux side of the rpmsg application ? 

0 Kudos

1,066 Views
mmmtq2011
Contributor I

I've checked this code, I've tried to compile it using Eclipse with GNU ARM add-on, but it seems that sys/termios.h is missing, this causes an error by the compiler and I'm not really sure how to fix it.

0 Kudos