RPMsg multiple channels

cancel
Showing results for 
Search instead for 
Did you mean: 

RPMsg multiple channels

895 Views
Contributor III

Hi

I am trying to create multiple channels for RPMsg on my imx7s

On the M4 side I run FreeRTOS and the tty/pingpong examples are working.

In FreeRTOS I changed thedestination Pointer (app_chnl->dst  --> app_chnl->dst1).

My questions now:

- Do I need to set multiple endpoints?

- Where else do I need to define the new addresses? In board.h/rpmsg_core.c or somewhere?

- What needs to be changed on the A7 side?

- Or am I completely wrong?

Best regards

Erik

Labels (2)
Tags (2)
0 Kudos
4 Replies

192 Views
NXP Employee
NXP Employee

Hi Erik,

on Linux side you can refer to these files: 
erpc-imx-demos/rpmsg_linux_endpoint.cpp at master · EmbeddedRPC/erpc-imx-demos · GitHub 

GitHub - codeauroraforum/rpmsg-sysfs at 0aa1817545a765c200b1b2f9b6680a420dcf9171 

You can find there also imx rpmsg demo for both cores using endpoints.

0 Kudos

192 Views
Contributor II

Hi Dusan,

I have checked the images for the erpc demo for the imx7d but there is no image uploaded for the imx7d sabre dev kit.

erpc-imx-demos - Browse /YoctoLinuxImages at SourceForge.net 

I would like to know if multiple endpoints/channel on the Linux (A7) and FreeRTOS (M4) can be done?

Best regards,

Roger

0 Kudos

192 Views
Contributor III

Hi Dusan,

thanks for your quick answer.

Sadly this solve just one of my questions, partial. I am kinda new to this topic, so it would be great if you could answer to my questions directly.

0 Kudos

192 Views
Contributor II

Hi,

Were you able to solve the issue with multiple endpoints? I am trying to create a demo code for the iMX7D Sabre dev kit with multiple endpoints in Linux Side and FreeRTOS, just wondering if you got any further with your initial intent above?

Best regards,

Roger

0 Kudos