Each of those which checks is testing to see if a particular tool is installed. In your first post the error is a missing SDx installation. This was required for earlier versions of the build flow but now we ship the precompiled objects as part of the repository. You can safely remove line 310 of the makefile to delete this check. We’ll update this is in the next version. Your second post is failing on vivado which means you haven’t sourced the settings.sh in that shell.
SDx - the way PYNQ allocates memory for the hardware is built on the SDx runtime. We now ship the precompiled library so it shouldn’t be necessary to install the tool.
Hi Peter, I receive a similar error when wanting attempting to rebuild Z1 image.
I run: make BOARDS=Pynq-Z1
and get:
/opt/qemu/bin/qemu-arm-static -version | fgrep 4.0.0
qemu-arm version 4.0.0
vivado -version | fgrep 2019.1
Vivado v2019.1 (64-bit)
xsdk -version | fgrep 2019.1
****** SDK v2019.1 (64-bit)
which petalinux-config
/home/talon/Desktop/Petalinux/tools/common/petalinux/bin/petalinux-config
which arm-linux-gnueabihf-gcc
/opt/Xilinx/Vivado2019.1/SDK/2019.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-gcc
which microblaze-xilinx-elf-gcc
/opt/Xilinx/Vivado2019.1/SDK/2019.1/gnu/microblaze/lin/bin/microblaze-xilinx-elf-gcc
which ct-ng
/opt/crosstool-ng/bin/ct-ng
which python | fgrep /usr/bin/python
Makefile:342: recipe for target ‘checkenv’ failed
make: *** [checkenv] Error 1
I take it this means sourcing my python environment is failing? I use anaconda and have activated both a Python2 and Python3 environment and re-run the mentioned command, but it failed the same way both times. Any idea why?
I’m using Ubuntu 18.04 and use Anaconda as my default Python.
When I run ‘which python’ I get the following:
Preformatted texthome/talon/anaconda3/bin/pythonPreformatted text
So I don’t have python installed at that directory and hence decided to comment out line 348:
Preformatted textwhich python | fgrep /usr/bin/pythonPreformatted text
of the makefile. Doing this, I managed to get it to run when executing the command “make BOARDS=Pynq-Z1” (I was testing to see if my setup was working).
It ran for a while but bombed-out after a few hours with the massive error (sorry in case I should have made a new thread for this - see attached image):
The error happens because you don’t have a valid license to build zcu104 designs. During our build, several bitstreams are built, including z1, z2, and zcu104 bitstreams if you have not done so. So for your case, please use
in fact want to create PYNQ for ZCU111 a new image file .
another question , have you ever face with random mac address changing in PYNQ ?
i want to change this configuration or disable it . have you any idea about it?
Petalinux randomly generates mac by default.
If you want to have static mac:
This can be done in petalinux device-tree by adding meta-user folder etc… or modifying existing bsp.
You can set static mac via “petalinux-config” and ethernet options or modify ethernet device-tree node in system.dts