Page 1 of 1

Unable to make stream_app

Posted: Sun Oct 10, 2021 6:57 pm
by tinyhippo
Hello,

I am sorry if my problem is obvious to solve but I am very new to red pitaya world. When I try to make a project, for example stream_app, I run the following command:

Code: Select all

make PRJ=stream_app
into Redpiyaya/fpga/folder my synthesis via vivado is working fine but then I encounter the following error:

Code: Select all

make PRJ=stream_app
hsi    -nolog -nojournal -mode batch -source red_pitaya_hsi_dts.tcl -tclargs stream_app

****** hsi v2019.1 (64-bit)
  **** SW Build 2552052 on Fri May 24 14:47:09 MDT 2019
    ** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.

source red_pitaya_hsi_dts.tcl
# cd prj/$::argv
# set path_sdk sdk
# open_hw_design $path_sdk/red_pitaya.sysdef
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
# set_repo_path ../../../tmp/device-tree-xlnx-xilinx-v2017.2/
ERROR: [Hsi 55-1550] Repository Directory ../../../tmp/device-tree-xlnx-xilinx-v2017.2/ doesn't exist in the disk
ERROR: [Common 17-39] 'set_repo_path' failed due to earlier errors.
INFO: [Common 17-206] Exiting hsi at Sun Oct 10 19:33:21 2021...
make: *** [Makefile:59 : prj/stream_app/sdk/dts/system.dts] Erreur 1
The problem therefore happens when running the red_pitaya_hsi_dts.tcl file. I do not really get why the path is set in a relative way here ?
Moreover, did I miss some optional installation with vivado if device-tree-xlnx-xilinx-v2017.2 is not on my computer ? (I run an extensive search on my hard drive)
Finally, should I put the files on my redpitaya on run the compilation from there ?
Thanks in advance :)

Re: Unable to make stream_app

Posted: Mon Nov 08, 2021 8:56 am
by redpitaya
Thank you for your post. Our developers are looking into this and we will reply as soon as they have some more details.

Re: Unable to make stream_app

Posted: Tue Nov 16, 2021 12:21 pm
by juretrn
Makefile.x86 should be able to get the devicetree source (.tar) from Xilinx's github repo and unpack it by running make -f Makefile.x86 devicetree .
The expected path to file is https://github.com/Xilinx/device-tree-x ... .2.tar.gz/

if all else fails, run

curl -L https://github.com/Xilinx/device-tree-x ... .2.tar.gz/ -o device-tree-xlnx-xilinx-v2017.2.tar.gz

and extract the .tar.gz to /[redpitaya path]/tmp/device-tree-xlnx-xilinx-v2017.2

Re: Unable to make stream_app

Posted: Thu Nov 18, 2021 2:55 pm
by tinyhippo
I will try, thank you very much