How do i make sure iMX8 A35 core(s) and M4 core are communicating well?

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

How do i make sure iMX8 A35 core(s) and M4 core are communicating well?

28,839 Views
srikanth_patcha
Contributor III

i.MX 8DualX/8DualXPlus/8QuadXPlus @iMX8 : 

How do i make sure iMX8 A35 core(s) and M4 core are communicating well on Linux version

4.14.78-toradex_imx_4.14.78_1.0.0_ga-bring_up ?

Could share detail document on communication mechanism between them. 

11 Replies

27,973 Views
srikanth_patcha
Contributor III

Remote processor(M4) reset failed to re-establish RPMSG link between M4 and A35

0 Kudos
Reply

27,997 Views
srikanth_patcha
Contributor III

Posted on Toradex as well.

https://www.toradex.com/community/questions/44550/making-a35-rpmsg-slaveon-linux-side.html?childToVi... 

Driver code

imx_rpmsg_tty.c\rpmsg\drivers - linux-imx - i.MX Linux kernel 

Need a process for configuring RPMSG A35 as Slave in RPMSG Linux and "M4 will the Master to send instructions here" 

0 Kudos
Reply

27,997 Views
srikanth_patcha
Contributor III

Thanks for taking attention towards discussion:  

Could you please share right answers for below questions: 

  Linux Version : 4.14.78-toradex_imx_4.14.78_1.0.0_ga-bring_up-g4276158-dirty

  1.  Procedure for configuring A35 as Slave in RPMSG Linux.
  2. INC package and integration steps for A35 Linux code.
0 Kudos
Reply

27,998 Views
lydia_ziegler
NXP Employee
NXP Employee

Hi srikanth.patchava-ext@continental-corporation.com

Can you please create this same question in the "Continental- i.MX8 Private Portal" Community page?

Thank you,

Lydia

0 Kudos
Reply

27,998 Views
igorpadykov
NXP Employee
NXP Employee

toradex boards and its software is not supported by nxp,

issue may be posted on toradex support portal

Toradex - Customer Support 

Best regards
igor

0 Kudos
Reply

27,998 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sri

one can look at sect.2.8 Remote Processor Messaging attached Linux Manual,

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

i.MX8QXP MCUXpresso SDK for i.MX Cortex-M can be found on

i.MX Software | NXP 

Please note that toradex software is supported by its vendor and it may be posted on

Welcome to - Toradex Community 

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

27,998 Views
srikanth_patcha
Contributor III

Hello igorpadykov,

 Thanks for responding.  I understand that using RPMSG we can communicate b/w cortex A35 and cortex M4.

Move to little closer look: 

It the only one way for this RPMSG? is it good to use Message unit (MU) which is associated sc_ipc_read(), sc_ipc_write() APIs for read-write Message Unit for multiple applications. share with more detail documentation.

0 Kudos
Reply

27,998 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sri

may be useful to check documentation included in  SCFW Porting Kit

Best regards
igor

0 Kudos
Reply

27,998 Views
srikanth_patcha
Contributor III

Seems it is useful for more of OS based pipes.

Here I'm only pointing to read from M4 power module values to A35 using RPMSG.

Do you have any sample code that clarifies to continue my product support?

0 Kudos
Reply

27,998 Views
srikanth_patcha
Contributor III

How do I make changes in RPMSG driver for moving A35 to act as a slave in Linux?
Since we are moving M4 as a master in RTOS.

0 Kudos
Reply

27,998 Views
igorpadykov
NXP Employee
NXP Employee

sorry I am not aware of other sample codes. Note, this part

is preproduction part and has not full support. Suggest to proceed with

NXP Professional Services to get more support:
https://www.nxp.com/design/design-services:SW-SUPPORT

Best regards
igor

0 Kudos
Reply