FREERTOS on both CPU

83 views
Skip to first unread message

padov...@gmail.com

unread,
Jun 24, 2019, 10:35:43 AM6/24/19
to open-amp
I'm trying to run two freertos applications on both CPUs using a Zedboard and Zynq7000, using OpenAmp and RPMsg. How i can do it? Thanks in advance.

Jiaying Liang

unread,
Jul 8, 2019, 6:04:59 PM7/8/19
to open...@googlegroups.com
RPMsg in OpenAMP uses virtio, virtio has master and slave.
Master is to allocate the shared memory.

One of your core needs to be master and the other needs to be slave.

Master example:
https://github.com/OpenAMP/open-amp/blob/master/apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c

Slave example:
https://github.com/OpenAMP/open-amp/blob/master/apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c

https://github.com/OpenAMP/open-amp/blob/master/apps/machine/zynqmp_r5/platform_info.c
provides example on how to create shared buffers based on predefined shared memory.

Best Regards,
Wendy
> --
> You received this message because you are subscribed to the Google Groups
> "open-amp" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to open-amp+u...@googlegroups.com.
> To post to this group, send an email to open...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/open-amp/06f0c094-7965-483e-bfcd-
> a649dd1bf81d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages