i.M8xp: exchange data between cortex M4 & Cortex A

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

i.M8xp: exchange data between cortex M4 & Cortex A

841 Views
HerveP
Contributor II

Hello

On a i.Mx8xp, I want to run https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/evkmimx8mq/multicore_examples/rpmsg_li... on the Cortex M4 and get some communication from linux running on Cortex A53.
Is it something that is supported ?
When I start application on the Corex M4, linux raises this error

[ 528.328703] remoteproc remoteproc0: Booting fw image rpmsg_lite_str_echo_rtos_imxcm4.elf, size 193788
[ 528.389155] remoteproc0#vdev0buffer: assigned reserved memory node vdev0vring0@90000000
[ 528.397595] virtio_rpmsg_bus: probe of virtio0 failed with error -12
[ 528.404024] remoteproc0#vdev0buffer: registered virtio0 (type 7)
[ 528.410243] remoteproc0#vdev1buffer: assigned reserved memory node vdev0vring0@90000000
[ 528.418709] virtio_rpmsg_bus: probe of virtio1 failed with error -12
[ 528.425122] remoteproc0#vdev1buffer: registered virtio1 (type 7)
[ 528.431311] remoteproc remoteproc0: remote processor imx-rproc is now up

Is https://github.com/nxp-mcuxpresso/rpmsg-lite supported on i.Mx8xp and how exchange data with the linux kernel ?

Thanks for your support,

Herve.

0 Kudos
Reply
3 Replies

799 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @HerveP ,

I hope you're doing great! The multicore example you linked is only meant for the i.MX 8MQ EVK board. Are you using a custom board or an EVK?

Thank you.

Best regards,
Hector.

0 Kudos
Reply

781 Views
HerveP
Contributor II

Hi @hector_delgado 
I am fine thanks you and you ?
I am using a custom board based on i.Mx8DualXPlus running kernel version 5.15.71.
Do you mean on a reference board the demo example should work ?
Then which mutlicore example & dts fon linux are relevant for this iMx8 model ?

Thanks, Herve.

0 Kudos
Reply

762 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @HerveP ,

I hope you're doing well.

All multicore examples (and any MCUXpresso SDK examples) are found here GitHub - nxp-mcuxpresso/mcux-sdk-examples: MCUXpresso SDK Examples and as far as I see, they're all meant to be for Evaluation Board Kits (EVKs). You can look at the list of devices by looking at the names of each folder in the link I provided. They may be useful in your case to use as reference for your custom board. And yes, when trying the example in an EVK, it should work properly. 

Best regards,
Hector.

0 Kudos
Reply