Sorry, you need to enable JavaScript to visit this website.

OpenAMP Microzed Petalinux 2016.4

Unsolved
9 posts / 0 new
ccdobler's picture
ccdobler
Junior(0)
OpenAMP Microzed Petalinux 2016.4

Hi, I need an AMP system that runs Linux and bare metal, there is not a Microzed BSP for Petalinux 2016.4. I made my own bsp using ug1144, and Petalinux works fine on SMP. I do not understand how to set up an OpenAMP system from scratch. The application examples in ug1186 are in the reference Petalinux BSP, so I do not have a starting point.
Anyone know where I can get sample codes?
In github.com/OpenAMP/open-amp are the codes, but I can not find the way to implement them.
 
I am sorry for my english,
Claudio

JFoster's picture
JFoster
Moderator(48)
Hello Claudio,

Hello Claudio,

Take a look at this Wiki

http://www.wiki.xilinx.com/XAPP1078+Latest+Information

--Josh

ccdobler's picture
ccdobler
Junior(0)
OpenAMP Microzed Petalinux 2016.4

Hi Josh, thank you for your response. The XAPP1078_2014.4 might be a workaround, but I'm using Vivado 2016.4 (voucher license) and Petalinux 2016.4.

 

I think OpenAMP is the solution I need.

 

Is it possible to configure OpenAMP on Microzed (7010)?

 

Claudio

JFoster's picture
JFoster
Moderator(48)
Hello ccdobler,

Hello ccdobler,

It should be possible. However, I have only done it in a baremetal design. You can see the barmetal design by going through lab 9 of the Developing Zynq Software Speedways

http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-s...

--Josh

ccdobler's picture
ccdobler
Junior(0)
OpenAMP Microzed Petalinux 2016.4

Hello Josh,
I already did the lab 9.
I need a system that runs Linux for the user interface (Files, Net, USB, Display) and baremetal to process the info given from Linux and manage the hardware (accurate time).
I was watching Xaap1078 that you suggested. I tried on my Microzed and worked fine (with the generated_files).
At the moment I am downloading the 2014.4 applications (Vivado, Petalinux)  to see the design and use it as starting point.
Which would be the most convenient, OpenAMP or Xaap1078?
In case of Xaap1078, will I have any problem with the license? 
 
I really appreciate your help.
Claudio

JFoster's picture
JFoster
Moderator(48)
Hello Claudio,

Hello Claudio,

Unfortunatly I do not have much experience runing a barmetal and linux operating system at the same time. As far as which method would be easier I am going to suggest you ask over at the Xilinx forums to get a broader community base. 

https://forums.xilinx.com/

--Josh

lgmlgm's picture
lgmlgm
Junior(0)
Hi claudio,

Hi claudio,
I have exactelly the same issue that you : to have an AMP system that runs Linux on core 1 and bare metal on core 2
Can you tell me please how you did for resolve your issue ?
thank you for help !
 

GreatGehar's picture
GreatGehar
Junior(0)
Hello.

Hello.
Create Amp system from scratch is not difficult for any petalinux version (and for any zynq board):
1. You must create hdf file using Vivado. In order to you can open hardware project for old Vivado version, upgrade the project to current version and genirate new bitstream. Then in vivado: File->Export->Export hardware. The hdf-file is ready.
2. Create new petalinux project: petalinux-create -t project -n <PROJECT_NAME> --template zynq
3. Export hdf-file to new petalinux project: petalinux-config --get-hw-description=<PATH TO FOLDER WITH HDF-FILE>
4. Build the petalinux system and load it on you board. If success, then follow ug1186 (Zynq OpenAMP Getting Started Guide)

rsg's picture
rsg
Junior(1)
I've done this myself, but I

I've done this myself, but I don't see the OpenAMP files when I get into UG1186 - clearly I am missing something!  Where do I get the OpenAMP framework files?