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

MicroZed AMP (Baremetal/Baremetal​) Configuration Issue

2 posts / 0 new
MicroZed AMP (Baremetal/Baremetal​) Configuration Issue

Hi everybody,

I followed Developing Zynq Software with Xilinx SDK Lab 9 Dual Processor Software Development. When I tried to generate app_cpu1 (standalone_amp application project) for amp, The New project Templates page not showing any available Templates, there is a message says that there is no supported application for selected processor and OS. I am running SDK 2015.4.
Please let me know what is happening here! thank you for your help!

RE: MicroZed AMP (Baremetal/Baremetal​) Configuration Issue

Hi liang.zhu,

That Lab 9 required us to create a custom Standalone BSP template called "standalone_amp" according to the information found in Xilinx XAPP1079:

The latest SpeedWay release we have supports Vivado Design Suite 2014.4 tools and that BSP that is included is likely not supported by 2015.4 tools.

I am guessing that it should be possible for you to create a new "standalone_amp" which is derived from the standalone BSP template sources found in the SDK install folder data/embeddedsw/lib/bsp/ sub-directory.

I did this for 2014.4 tools by copying the latest standalone BSP template folder "standalone_v4_2" over to a new one called "standalone_amp_v4_2" and then renamed the standalone.mld, standalone.mss, and standalone.tcl files in the data folder to standalone_amp.* names.

I edited the standalone_amp.mld file to change the OS parameter from "standalone" to "standalone_amp" and also the OPTION NAME from "standalone" to "standalone_amp" and saved those changes.

I then edited the standalone_amp.mss file to change the PARAMETER OS_NAME from from "standalone" to "standalone_amp" and saved those changes.

I ran a diff on all of the files under the src/ folder against a previous version of the from "standalone_amp" template and merged the code changes which relate to initializing only certain hardware resources once by CPU0 and not reinitialize them by CPU1. You might be wondering "Where those code changes came from originally if they were copied from an older version of BSP?" and the answer for that is that they were derived from the files included with the original XAPP1079 release.

The final step is to make sure that the local folder containing your new "standalone_amp" BSP template is specified as a local repository under SDK so that it becomes visible to you in the new project wizard.

If running standalone AMP in your product is not a requirement and you are just doing the SpeedWay to learn more about Zynq-7000 All Programmable SoC, then it might be easier for you to try all of this with 2014.4 tools since we know that the files we include for Lab 9 will work with those tools just fine.