i.MX8qm-mek communications through Linux and m4

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

i.MX8qm-mek communications through Linux and m4

1,292 Views
lorenzo_sarchi
Contributor I

Good morning,

On the imx8qmmek board, 

I need to make a communication from Linux to m4, using rpmsgs/ sys_ipc messages.

Linux is built with Yocto, v4.14.98

I have found few examples for imx7 and imxmq, but not specifically for imx8qm.

Do you have any example/suggestions about where to start from? ?

Thanks in advance and Best Regards,

Lorenzo Sarchi

0 Kudos
Reply
5 Replies

1,185 Views
nxf54947
NXP Employee
NXP Employee

Hello lorenzo.sarchi@mta.it‌,

Besides the sys/ipc.h header, you can also review the ipc folder of 4.14.98-2.0.0-ga BSP, which is available at the link below:

ipc - linux-imx - i.MX Linux kernel 

Since all the documentation available for i.MX8QM has not been publicly available, I would suggest you to raise a ticket into our internal support team for receiving further information (https://community.nxp.com/docs/DOC-329745 ). My apologies for any inconvenience caused.

Best regards,

Ruben

0 Kudos
Reply

1,185 Views
lorenzo_sarchi
Contributor I

Thanks Ruben,

Do you have also something regarding sys_ipc?

Regards,

Lorenzo

0 Kudos
Reply

1,185 Views
nxf54947
NXP Employee
NXP Employee

Hello lorenzo.sarchi@mta.it‌,

The MCU Xpresso SDK for i.MX 8QM-MEK contains two examples for remote processor messaging on the M4 side: a ping pong and an echoed string; you will have to obtain this package using the MCU Xpresso SDK Builder; it also includes a Quick Start Guide that will be helpful for you.

On the Linux side,  you can review L4.14.98-2.0.0 documentation contained at Embedded Linux for i.MX Applications Processors | NXP ). Here, chapter 2.8 covers the remote processor messaging. 

Regards,

Ruben

0 Kudos
Reply

1,185 Views
lorenzo_sarchi
Contributor I

Thanks Ruben,

For the imx8qm-mek, I think the name of the board to select should be "MEK-MIMX8QM?"; correct ?

Best Regards,

Lorenzo

Ing. Lorenzo Sarchi

Electronic Division

Project Engineer

MTA SpA

Viale dell'Industria, 12

26845 Codogno (LO) - Italy

T. +39 0377 418534

F. +39 0377 418496

lorenzo.sarchi@mta.it<mailto:lorenzo.sarchi@mta.it>

www.mta.it<http://www.mta.it>;

LinkedIn<https://www.linkedin.com/company-beta/656938/>

0 Kudos
Reply

1,185 Views
nxf54947
NXP Employee
NXP Employee

That is correct, the i.MX 8QM-MEK board is listed as ""MEK-MIMX8QM" on the SDK builder dashboard.

Regards,

Ruben

0 Kudos
Reply