Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design upgrade to 2019.1 #1

Open
miracatici opened this issue Jun 8, 2020 · 9 comments
Open

Design upgrade to 2019.1 #1

miracatici opened this issue Jun 8, 2020 · 9 comments

Comments

@miracatici
Copy link

Hello, I'm trying to build PYNQ image for my Zybo Z7-10. As shown in the link I'm using your projects. I would like to build PYNQ 2.5 that requires SDK 2019.1. However, design file and script was generated using 2018.3 Is there any chance to upgrade it to 2019.1?

Thanks in advance.

-- Build output --
This script was generated using Vivado <2018.3> and is being run in <2019.1> of Vivado. Please run the script in Vivado <2018.3> then open the design in Vivado <2019.1>. Upgrade the design by running "Tools => Report => Report IP Status...", then run write_bd_tcl to create an updated script.

@ussamazahid96
Copy link
Owner

ussamazahid96 commented Jun 8, 2020 via email

@miracatici
Copy link
Author

miracatici commented Jun 8, 2020

Thanks for fast response. I will try, however, one of the guides I read before said that designs are compatible with only version which it was generated. Did you ever do this trick before? And also, do I need to edit both two files;PYNQ/boards/Zybo/petalinux_bsp/hardware_project/zybo.tcland PYNQ/boards/Zybo/base/base.tcl ?

@miracatici
Copy link
Author

miracatici commented Jun 8, 2020

Hi again. I tried to change Vivado version to 2019.1 on two files, mentioned before. I also would like to use board-agnostic image to shorten image build time. So my command is:

cd ~/zybo_pynq/PYNQ/sdbuild
make PREBUILT=~/zybo_pynq/bionic.arm.2.5.img BOARDS=Zybo

However, I got different error. It is shown below. Do you have any idea about that? Thanks in advance, bests.

ERROR: [Board 49-71] The board_part definition was not found for digilentinc.com:zybo:part0:1.0. The project's board_part property was not set, but the project's part property was set to xc7z010clg400-1. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.

@ryanayoung
Copy link

has there been any update to this, or @miracatici did you ever have any success on this. I'm currently in the same position trying to get pynq 2.5 running on a zybo z7-10

@ryanayoung
Copy link

ryanayoung commented Oct 5, 2020

Well I thought it was finally going to work, but it ended up failing. Here is the error.

[INFO] generating meta-plnx-generated layer ERROR: Failed to generate meta-plnx-generated layer ERROR: Failed to config project. ERROR: Get hw description Failed!. Makefile:324: recipe for target '/pynq/sdbuild/build/Pynq-Z2/petalinux_bsp/xilinx-pynqz2-2019.1.bsp' failed make: *** [/pynq/sdbuild/build/Pynq-Z2/petalinux_bsp/xilinx-pynqz2-2019.1.bsp] Error 255

EDIT: apprently this problem was from running directly off of the /pynq drive created for the vagrant vm. cloning the pynq git into /workspace got me up to the error that @ussamazahid96 has.

@ryanayoung
Copy link

ryanayoung commented Oct 5, 2020

Okay, so I figured out that error. Vivado didn't have the board files for any of the digilent boards. Installing all of those plus deleting the failed Zybo project from sdbuild allowed it to progress further.

I am curious in that it appears to be using the general digilentinc.com:zybo:part0:1.0 board definition rather the digilentinc.com:zybo-z7-10:part0:1.0 or the digilentinc.com:zybo-z7-20:part0:1.0 respectfully, or even the digilentinc.com:zybo:part0:2.0 which was also available. I have the z7-10, so I may give these a whirl at some point.

@miracatici
Copy link
Author

Sorry, unfortunately I didn't push forward this study due to lack of time. However it's more than welcome to share your build result. If you got success, you might create a merge request about this improvement?

@Calvin75
Copy link

Hello, I am trying to build a PYNQ image for my Zybo Z7 - 20 however, there are many issues that I ran into. Just a quick question, why doesn't anyone post the Zybo image files for PYNQ? Are we required to build one for ourselves for it to work?

@Calvin75
Copy link

Been trying to find a Zybo Z7-20 image file for PYNQ however, only guides that are not fully complete are found and I am unsure of the necessary steps that are needed to take at times, so I am unable to create my own image file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants