Kria KV260: failed building base overlay

Hi all,
I am trying to rebuild the base overlay from the PYNQ Kria github.
I think there is a problem because the Kv260/base/Makefile mix two versions of vivado

  1. First, the line first stage in the makefile is:
	make -C ../../pynq/boards/ZCU104/base/ hls_ip

which try to build the hls ip repo using the ZCU104/base/Makefile , this Makefile run the script “build_ip.tcl” that call the vitis_hls (2022.1)

  1. The second stage of the Kv260/base/Makefile stages run the “base.tcl” script
	vivado -mode batch -source $(overlay_name).tcl -notrace

which is for vivado 2020.2

So, when I run “make” in the Vivado 2020 command prompt I get the following error:

make -C ../../pynq/boards/ZCU104/base/ hls_ip
make[1]: Entering directory 'C:/data/xilinx_prj/Kria-PYNQ-main/pynq/boards/ZCU104/base'
vivado -mode batch -source build_ip.tcl -notrace

****** Vivado v2020.1 (64-bit)
  **** SW Build 2902540 on Wed May 27 19:54:49 MDT 2020
  **** IP Build 2902112 on Wed May 27 22:43:36 MDT 2020
    ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.

source build_ip.tcl -notrace
Building color_convert_2 IP
couldn't execute "vitis_hls": no such file or directory
INFO: [Common 17-206] Exiting Vivado at Sat Oct 21 00:11:42 2023...
makefile:13: recipe for target 'hls_ip' failed
make[1]: *** [hls_ip] Error 1
make[1]: Leaving directory 'C:/data/xilinx_prj/Kria-PYNQ-main/pynq/boards/ZCU104/base'
Makefile:21: recipe for target 'pynq_hls' failed
make: *** [pynq_hls] Error 2

Please, could you give a solution?

Hi @sergicuen,

You can try this branch. GitHub - mariodruiz/Kria-PYNQ at 2022.1


Thank you Mario,
now it works fine.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.