analogdevicesinc / plutosdr-fw

PlutoSDR Firmware
Other
328 stars 194 forks source link

xsct scripts/create_fsbl_project.tcl fails on Xilinx SDK 2019.1 #88

Closed azolotko closed 1 year ago

azolotko commented 1 year ago
$ git rev-parse HEAD
1077d0b78d723d33ab37172cad4d218ea568e8b6

$ ~/.local/opt/xilinx/SDK/2019.1/bin/xsct scripts/create_fsbl_project.tcl                 
ERROR: [Hsi 55-1699] build/system_top.xsa doesn't have supported extension. Supported Hardware HandOff File extensions are .hwh, .xml, .hsm, .hdf
ERROR: [Hsi 55-1451] Error: running open_hw_design.
ERROR: [Common 17-39] 'hsi::open_hw_design' failed due to earlier errors.

    while executing
"hsi open_hw_design build/system_top.xsa"
    (file "scripts/create_fsbl_project.tcl" line 1)

Which SDK versions are officially supported? hsi that comes with Xilinx SDK 2019.1 is unable to process build/system_top.xsa, as shown above.

azolotko commented 1 year ago

The one coming with Vitis 2023.1 seems to work fine.

Here are the adjustments I had to make to my environment:

$ export VIVADO_SETTINGS=$HOME/.local/opt/xilinx/Vivado/2023.1/settings64.sh
$ export VIVADO_VERSION=v2023.1
$ export PATH=$PATH:$HOME/.local/opt/xilinx/Vitis/2023.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:$HOME/.local/opt/xilinx/Vitis/2023.1/bin