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

Platforms fail to build with standard 2020.2.2 release #11

Closed
TonyHo722 opened this issue Nov 10, 2021 · 2 comments
Closed

Platforms fail to build with standard 2020.2.2 release #11

TonyHo722 opened this issue Nov 10, 2021 · 2 comments

Comments

@TonyHo722
Copy link

I had read the issue in #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] 'get_property' 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
Copy link
Collaborator

chkohn commented Nov 10, 2021

@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
Copy link
Author

TonyHo722 commented Nov 11, 2021

@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

  • release-2021.1
    remotes/origin/HEAD -> origin/release-2021.1
    remotes/origin/release-2020.2.2_k26
    remotes/origin/release-2021.1

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

  • release-2020.2.2_k26
    release-2021.1
    remotes/origin/HEAD -> origin/release-2021.1
    remotes/origin/release-2020.2.2_k26
    remotes/origin/release-2021.1

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

2 participants