Digilent / Zybo-Z7

19 stars 4 forks source link

Petalinux-build failing after importing .xsa #10

Closed mjkpolo closed 1 year ago

mjkpolo commented 1 year ago

First of all I apologize for misunderstandings I am a student trying to learn If I did this incorrectly I will remove the issue ASAP

I made this simple design to practice using AXI based on this guide:

Screen Shot 2022-09-02 at 1 28 33 PM

Next, I create a Petalinux project with the BSP:

petalinux-create -t project -s Zybo-Z7-20-Petalinux-2021-1.bsp

running petalinux-build -c rootfs works

However, if I import the xsa file of that board design:

petalinux-config --get-hw-description=design_1_wrapper.xsa

running petalinux-build -c rootfs has the following error: build.log

Then I get a different error if I create a dma app first:

petalinux-create -t apps --template c --name dmatest --enable

running petalinux-build -c rootfs has the following error (not adding anything to the dmatest.c): build.log

Am I doing this incorrectly? I tried doing this with the Zynq zc706 bsp and Xilinx board design and it seemed to compile so I'm assuming it's an issue with this BSP.

Thank you!!! I appreciate the patience and help

astrosloth-stc commented 1 year ago

I'm having a similar issue. I downloaded what seems like it should be the FPGA project: Zybo-Z7-20-Pcam-5C-hw.xpr.zip

and if I build, export the xsa, and try to import into petalinux, i'm not able to complete petalinux-build.

Is there a different FPGA project I should be starting from?

mjkpolo commented 1 year ago

I'm having a similar issue. I downloaded what seems like it should be the FPGA project: Zybo-Z7-20-Pcam-5C-hw.xpr.zip

and if I build, export the xsa, and try to import into petalinux, i'm not able to complete petalinux-build.

Is there a different FPGA project I should be starting from?

I don’t think you use petalinux for that, I think you just use vivado/vitis or at least that’s what I did to get it running