Zynq7000 user space openamp status

215 views
Skip to first unread message

Morand, Guy

unread,
Mar 23, 2017, 4:14:48 AM3/23/17
to open...@googlegroups.com
OpenAmp developpers,

I'm already a bit familiar with remoteproc and rpmsg but I'm new to openamp. I'm
trying to bring up the echo-server test example from Xilinx on a customized
Zynq7000 platform. It seems to work until now but despite the RTOS side is using
openamp/libmetal, the specific rpmsg kernel module is used to communicate from
the echo-test user space application that were moved to "obsolete" folder:

https://github.com/OpenAMP/open-amp/commit/2b420ddaeb25881203b74f27d0c1674a6b2915e3

Now I'm trying to build a yocto image for the zynq with open-amp examples. I
"quickly and dirtly" changed the following in libmetal and open-amp recipes:
-EXTRA_OECMAKE_append_zynqmp = "-DWITH_APPS=ON"
+EXTRA_OECMAKE_append = "-DWITH_APPS=ON"

But open-amp fails building:
apps/system/linux/machine/generic/platform_info.h:33:37: fatal error: openamp/remoteproc_plat.h: No such file or directory
#include "openamp/remoteproc_plat.h"

* Have you planned to support the Zynq7000 platform?
* Is open-amp Linux user space abstraction layer ready for the Zynq700?
* Is there somewhere an openamp/remoteproc_plat.h file available for the Zynq7x?

Happy hacking,

Guy Morand

Jiaying Liang

unread,
Mar 23, 2017, 12:34:47 PM3/23/17
to open...@googlegroups.com
HI Morand,
[Wendy] Previously, the reason we move the Linux rpmsg user modules and the Linux applications which is to use the RPMsg user modules to obsolete directory is because we wanted to re-write the RPMsg user module to make it upstreamable to Linux kernel, and then OpenAMP repo doesn't need to maintain a Linux kernel module. I think Marek and Bjorn had been working on it at the same time. You can see the RPMsg char module from the upstream kernel: https://github.com/torvalds/linux/blob/master/drivers/rpmsg/rpmsg_char.c

We also moved these RPMsg modules(which will be replaced by the Linux RPMsg char) and the Linux application to use this RPMsg module to meta-openamp:
https://github.com/OpenAMP/meta-openamp/tree/master/recipes-kernel/rpmsg-user-module
https://github.com/OpenAMP/meta-openamp/tree/master/recipes-openamp/rpmsg-examples

Our plan is when we will support 4.11 kernel, we will change the OpenAMP library on Linux implementation to use the RPMsg char driver.

Best Regards,
Wendy

>
> Happy hacking,
>
> Guy Morand
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

Reply all
Reply to author
Forward
0 new messages