cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Observer
Observer
7,564 Views
Registered: ‎03-14-2016

Openamp library

Jump to solution

Hi 

I'm trying to setup an AMP configuration on my Zedboard.  I want to run Petalinux on cpu0 and Baremetal on cpu 1. 
I'm following the UG1186 lab to perform such architecture. But, In the chapter 2 , they create a bsp and then chose xilopenamp under overview in the settings of the bsp but I can't found it . I'm using Xilinx tools 2014.4 and Petalinux 2014.4

 

Please let me know how I can setup this library. 

0 Kudos
Reply
1 Solution

Accepted Solutions
Observer
Observer
13,526 Views
Registered: ‎06-13-2014

Oversimplified rundown on AMP, Open or otherwise.

 

Petalinux-2014.4: (UG978 which is an AMP Tutorial) rpmsg, virtio, & rpmsg_freertos_statistic are built into the (linux) distribution. The SDK/Freertos repository that is compatible with the UG978 & 2014.4 SDK is somewhere on the Xilinx website. However, that repository is based on a very old version of FreeRTOS. If you try and mix & match Peta-2014.4/SDK 2014.4 & 2013 SDK/FreeRTOS repository, the 2013 FreeRTOS code will not build.

 

Petalinux-2015.2+: is "OpenAMP". There is a tutorial on the Xilinx website, UG1186. The revised rpmsg & virtio kernel modules that are now stock with the 4.0 kernel and accessible through the petalinux-config -c kernel will work directly with the FreeRTOS repos that I believe come with SDK 2015.2+. If not, they are easily found and pulled in. The tutorial is accurate up to this point. The linux user space applications, the items the tutorial recommend you "just turn on in the build" via 'petalinux-config -c rootfs' are not there. However, you can just "git" them from the OpenAMP github. They will build error free in the Petalinux 2015 (app) hierarchy. OpenAMP has a different device tree setup (Linux), and therefore a different interrupt arrangement between the Linux and FreeRTOS cores. OpenAMP for either O/S is not compatible with unmodified 2014 components described above. Similar, but not compatible.

View solution in original post

0 Kudos
Reply
4 Replies
Visitor
Visitor
7,522 Views
Registered: ‎03-22-2016

have you tried Vivado2015.4?Xilinx always did some changes with new version.

Since the UG1186 just released on Dec 2015, you should try vivado 2015.4.

0 Kudos
Reply
Observer
Observer
7,506 Views
Registered: ‎03-14-2016

I can't use OpenAMP with Xiinx 2014.4 ? 

0 Kudos
Reply
Visitor
Visitor
7,492 Views
Registered: ‎03-22-2016

I dont use 2014.4, so I can't give you that answer.

however, I have openamp library option in my bare-metal BSP settings in Vivado 2015.4.

that should take care of your problem.

0 Kudos
Reply
Observer
Observer
13,527 Views
Registered: ‎06-13-2014

Oversimplified rundown on AMP, Open or otherwise.

 

Petalinux-2014.4: (UG978 which is an AMP Tutorial) rpmsg, virtio, & rpmsg_freertos_statistic are built into the (linux) distribution. The SDK/Freertos repository that is compatible with the UG978 & 2014.4 SDK is somewhere on the Xilinx website. However, that repository is based on a very old version of FreeRTOS. If you try and mix & match Peta-2014.4/SDK 2014.4 & 2013 SDK/FreeRTOS repository, the 2013 FreeRTOS code will not build.

 

Petalinux-2015.2+: is "OpenAMP". There is a tutorial on the Xilinx website, UG1186. The revised rpmsg & virtio kernel modules that are now stock with the 4.0 kernel and accessible through the petalinux-config -c kernel will work directly with the FreeRTOS repos that I believe come with SDK 2015.2+. If not, they are easily found and pulled in. The tutorial is accurate up to this point. The linux user space applications, the items the tutorial recommend you "just turn on in the build" via 'petalinux-config -c rootfs' are not there. However, you can just "git" them from the OpenAMP github. They will build error free in the Petalinux 2015 (app) hierarchy. OpenAMP has a different device tree setup (Linux), and therefore a different interrupt arrangement between the Linux and FreeRTOS cores. OpenAMP for either O/S is not compatible with unmodified 2014 components described above. Similar, but not compatible.

View solution in original post

0 Kudos
Reply