Page 1 of 1

instructions on Build FPGA

Posted: Wed Nov 02, 2022 4:45 pm
by DrT
Dear Support,

I was following the instruction on https://redpitaya.readthedocs.io/en/lat ... /fpga.html

however when I run the follwoing I get a strange error. I guess I am missing a step...

/data_local/rp_dt_xilinx/RedPitaya$ make -f Makefile.x86 devicetree
mkdir -p tmp/device-tree-xlnx-xilinx-v2017.2
tar -zxf dl/device-tree-xlnx-xilinx-v2017.2.tar.gz --strip-components=1 --directory=tmp/device-tree-xlnx-xilinx-v2017.2
mkdir -p fpga/tmp
cp -r tmp/device-tree-xlnx-xilinx-v2017.2 fpga/tmp
mkdir -p build/fpga
cp -r build/fpga//dts tmp
cp: cannot stat 'build/fpga//dts': No such file or directory
make: *** [Makefile.x86:433: tmp/dts/devicetree.dtb] Error 1

Can you help? Can you elaborate a bit more about the devicetree?
Many thanks

Re: instructions on Build FPGA

Posted: Thu Nov 03, 2022 9:01 am
by juretrn
It looks like the Makefile.x86 is missing a parameter "MODEL".
make -f Makefile.x86 devicetree MODEL=Z10
https://redpitaya.readthedocs.io/en/lat ... ystem.html