File tree 3 files changed +9
-8
lines changed
3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ ifeq ($(FPGA_MODEL), Z10)
149
149
endif
150
150
else
151
151
cp $(INSTALL_DIR)/fpga/v0.94_250/fpga.bit $(INSTALL_DIR)/fpga/fpga_0.94.bit
152
- mv $(INSTALL_DIR)/fpga/v0.94_250 $(INSTALL_DIR)/fpga/v0.94
152
+ mv $(INSTALL_DIR)/fpga/v0.94_250/ $(INSTALL_DIR)/fpga/v0.94/
153
153
endif
154
154
155
155
################################################################################
@@ -188,7 +188,7 @@ $(UBOOT_SCRIPT): $(INSTALL_DIR) $(UBOOT_DIR) $(UBOOT)
188
188
189
189
LINUX = $(LINUX_DIR)/arch/arm/boot/uImage
190
190
191
- .PHONY: linux linux-install $(LINUX_DIR)
191
+ .PHONY: linux linux-install $(LINUX_DIR) $(LINUX)
192
192
193
193
linux: $(LINUX)
194
194
@@ -239,7 +239,8 @@ $(DEVICETREE): $(DTREE_DIR) $(INSTALL_DIR)/fpga $(TMP)
239
239
ifneq ($(MODEL),Z20_250_12)
240
240
patch $(TMP)/dts/pl.dtsi < fpga/dts/pl.dtsi.patch
241
241
endif
242
- tools/dtc/dtc -@ -I dts -O dtb -o $(DEVICETREE) -i $(TMP)/dts -i fpga/$(DTS_PATH) $(TMP)/dts/system-top.dts
242
+ gcc -I $(TMP)/dts -E -nostdinc -undef -D__DTS__ -x assembler-with-cpp -o $(TMP)/dts/system-top.dts.tmp $(TMP)/dts/system-top.dts
243
+ tools/dtc/dtc -@ -I dts -O dtb -o $(DEVICETREE) -i $(TMP)/dts -i fpga/$(DTS_PATH) $(TMP)/dts/system-top.dts.tmp
243
244
# create device tree source from binary for reference
244
245
tools/dtc/dtc -I dtb -O dts --sort -o $(TMP)/dts/dtraw.dts $(DEVICETREE)
245
246
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- PATH_XILINX_SDK=/opt/Xilinx/SDK/2017.2
4
- PATH_XILINX_VIVADO=/opt/Xilinx/Vivado/2017.2
3
+ PATH_XILINX_SDK=/opt/Xilinx/SDK/2019.1
4
+ PATH_XILINX_VIVADO=/opt/Xilinx/Vivado/2020.1
5
5
RP_UBUNTU=redpitaya_ubuntu_13-14-23_25-sep-2017.tar.gz
6
6
SCHROOT_CONF_PATH=/etc/schroot/chroot.d/red-pitaya-ubuntu.conf
7
7
@@ -64,7 +64,7 @@ if [[ -d "$PATH_XILINX_SDK" ]]
64
64
then
65
65
echo -n " $PATH_XILINX_SDK exists on your filesystem. "
66
66
print_ok
67
- else
67
+ else
68
68
echo -n " Can't find $PATH_XILINX_SDK on your PC. "
69
69
print_fail
70
70
echo " Check the correct path to Xilinx SDK"
@@ -75,7 +75,7 @@ if [[ -d "$PATH_XILINX_VIVADO" ]]
75
75
then
76
76
echo -n " $PATH_XILINX_VIVADO exists on your filesystem. "
77
77
print_ok
78
- else
78
+ else
79
79
echo -n " Can't find $PATH_XILINX_VIVADO on your PC. "
80
80
print_fail
81
81
echo " Check the correct path to Xilinx Vivado"
Original file line number Diff line number Diff line change 2
2
# setup Xilinx Vivado FPGA tools
3
3
# ###############################################################################
4
4
5
- . /opt/Xilinx/Vivado/2017.2 /settings64.sh
5
+ . /opt/Xilinx/Vivado/2020.1 /settings64.sh
6
6
7
7
# ###############################################################################
8
8
# setup cross compiler toolchain
You can’t perform that action at this time.
0 commit comments