04-09-2020 01:36 PM
I want to create a new Linux Application Project. I click File -> New -> Application Project, enter project name and click Next. Not seeing my board listed under either tab, I click + to create a new platform. I select the .xsa file for my Vivado project (swe_gwe_comm_top.xsa) and click Next. Now I want to select Linux as the OS, but alas, it is not an option. I can select standalone or freeRTOS. What would cause linux to not be shown?
04-09-2020 07:15 PM
Hi @rodneyheil ,
Linux application is for acceleration flow, you need to download the edge platform https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-platforms.html and install it. For details, refer to https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug1393-vitis-application-acceleration.pdf
05-04-2020 11:41 AM
I have the same problem and UG1392 you linked seems to be no help. I think page 155 was the section of that documenting you were alluding to with the above post. Unfortunately this is not helpful at all.
How does one get a basic hello world linux application to work on a standard zynq 7020 part? For example, I'm using the zedboard. The option for linux as the OP said is not available.
05-05-2020 04:57 AM
Linux option is not there by default.
Please follow below steps.
1. Create a platform project with your XSA for standalone OS.
2. After the creation, navigate to platform project and open platform.spr
3. Add new domain
4. Select linux OS from the dropdown
5. Update the path of all required Linux boot files. After this, you will see an out-of-date tag for your platform. Right-click and build the project.
6. Create a new application project and select this custom platform that you created above. do not create a new one using the same XSA. You will see the linux domain here.
05-05-2020 09:02 AM
I think I was also confused because the platform seems to have to compile to show up as a supported platform when creating a new project. To compile it you have to generate a bif and I used the petalinux-package command which creates a bif. Once this was untangled the project flow began to work.