Xilinx / kria-vitis-platforms

Kria Vitis platforms and overlays
Apache License 2.0
84 stars 40 forks source link

Platforms fail to build with standard 2020.2.2 release #11

Closed TonyHo722 closed 2 years ago

TonyHo722 commented 2 years ago

I had read the issue in https://github.com/Xilinx/kv260-vitis/issues/1. But I still fail to build in 2020.2.2 release. my error log as below. my system with 128G memory. I also change the JOBS from 8 to 1, but it still fail. Does anything I missing? does I need to do something to avoid get_board_parts fail? any comment is welcome.

xilinx@Ubuntu3:~/git2/kv260-vitis$ make overlay OVERLAY=smartcam Create Vitis platform kv260_ispMipiRx_vcu_DP make[1]: Entering directory '/home/xilinx/git/kv260-vitis/platforms' make -C vivado/kv260_ispMipiRx_vcu_DP xsa JOBS=1 make[2]: Entering directory '/home/xilinx/git/kv260-vitis/platforms/vivado/kv260_ispMipiRx_vcu_DP' /tools/Xilinx/Vivado/2020.2/bin/vivado -mode batch -notrace -source scripts/main.tcl -tclargs -jobs 1

** Vivado v2020.2.2 (64-bit) SW Build 3118627 on Tue Feb 9 05:13:49 MST 2021 IP Build 3115676 on Tue Feb 9 10:48:11 MST 2021 ** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.

source scripts/main.tcl -notrace WARNING: [Vivado 12-4842] No board parts matched 'get_board_parts :kv260: -latest_file_version'. WARNING: [Vivado 12-4842] No board parts matched 'get_board_parts {}'. ERROR: [Common 17-55] 'getproperty' expects at least one object. Resolution: If [get] was used to populate the object, check to make sure this command returns at least one valid object. INFO: [Common 17-206] Exiting Vivado at Wed Nov 10 21:51:59 2021... make[2]: [Makefile:29: project/kv260_ispMipiRx_vcu_DP.xsa] Error 1 make[2]: Leaving directory '/home/xilinx/git/kv260-vitis/platforms/vivado/kv260_ispMipiRx_vcu_DP' make[1]: [Makefile:42: vivado/kv260_ispMipiRx_vcu_DP/project/kv260_ispMipiRx_vcu_DP.xsa] Error 2 make[1]: Leaving directory '/home/xilinx/git/kv260-vitis/platforms' make: *** [Makefile:78: /home/xilinx/git/kv260-vitis/platforms/xilinx_kv260_ispMipiRx_vcu_DP_202110_1/kv260_ispMipiRx_vcu_DP.xpfm] Error 2

chkohn commented 2 years ago

@TonyHo722 the build complains about missing board files. I'm wondering if you are trying to build the 2021.1 branch with 2020.2.2 tools. In the 2020.2.2 branch, the board files are checked into the repo as they were not part of Vivado, see https://github.com/Xilinx/kv260-vitis/tree/release-2020.2.2_k26/platforms/vivado/board_files. This folder does not exist in the 2021.1 branch. Please make sure you have the correct branch checked out that matches your Vivado tools version.

TonyHo722 commented 2 years ago

@chkohn,

yes, after switch to release-2020.2.2_k26 branch as below then I can build it. thank you.

xilinx@Ubuntu3:~/git3/kv260-vitis$ git branch -a

xilinx@Ubuntu3:~/git3/kv260-vitis$ git checkout release-2020.2.2_k26 M overlays/Vitis_Libraries Branch 'release-2020.2.2_k26' set up to track remote branch 'release-2020.2.2_k26' from 'origin'. Switched to a new branch 'release-2020.2.2_k26'

xilinx@Ubuntu3:~/git3/kv260-vitis$ git branch -a