UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor jonl
Visitor
178 Views
Registered: ‎11-19-2018

Source code for OpenAMP petaLinux example

Jump to solution


There is an example (called Qick try!) on how run pre-built OpenAMP code on the ZCU102 board on following web page:
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841990/OpenAMP+2018.2

The code runs with proper printouts but I can't find the source code.
Below the header "Docs and source code" there is a link labeled "OpenAMP Library and Demonstration code"
I've tried to use that code for learning how to build my own OpenAMP application but realise that the sorce code seems not to be the one used for the example. Some of the printouts seen when run cannot be found in the code. I.e "Echo test start", "Open rpmsg dev" and "Echo Test Round". However, "Echo test end" is found but then taht one is never printed in the demo.

Since the example code doesn't correspond to the example I'm having problems figuring out how it is build. Can someone clarify this for me?

I'm using git label xilinx-v2018.3, since it corresponds to the xilinx-zcu102-zu9-es2-rev1.0-v2018.3-final.bsp I downloaded.

 

0 Kudos
1 Solution

Accepted Solutions
Visitor jonl
Visitor
132 Views
Registered: ‎11-19-2018

Re: Source code for OpenAMP petaLinux example

Jump to solution


Thank you, Jovitac!
Now I recognise the printouts. This enables me to continue.
/Jon

 

0 Kudos
2 Replies
Moderator
Moderator
148 Views
Registered: ‎05-10-2017

Re: Source code for OpenAMP petaLinux example

Jump to solution

The source code for the echo test example is in the meta-openamp directory

https://github.com/Xilinx/meta-openamp/blob/rel-v2018.3/recipes-openamp/rpmsg-examples/rpmsg-echo-test/echo_test.c

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Visitor jonl
Visitor
133 Views
Registered: ‎11-19-2018

Re: Source code for OpenAMP petaLinux example

Jump to solution


Thank you, Jovitac!
Now I recognise the printouts. This enables me to continue.
/Jon

 

0 Kudos