Skip to content

Commit ab43ad0

Browse files
author
Nikolaj P. Danilyuk
committed
Change to vivado 2020.1
1 parent 9667800 commit ab43ad0

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

Makefile.x86

+4-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ ifeq ($(FPGA_MODEL), Z10)
149149
endif
150150
else
151151
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/
153153
endif
154154

155155
################################################################################
@@ -188,7 +188,7 @@ $(UBOOT_SCRIPT): $(INSTALL_DIR) $(UBOOT_DIR) $(UBOOT)
188188

189189
LINUX = $(LINUX_DIR)/arch/arm/boot/uImage
190190

191-
.PHONY: linux linux-install $(LINUX_DIR)
191+
.PHONY: linux linux-install $(LINUX_DIR) $(LINUX)
192192

193193
linux: $(LINUX)
194194

@@ -239,7 +239,8 @@ $(DEVICETREE): $(DTREE_DIR) $(INSTALL_DIR)/fpga $(TMP)
239239
ifneq ($(MODEL),Z20_250_12)
240240
patch $(TMP)/dts/pl.dtsi < fpga/dts/pl.dtsi.patch
241241
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
243244
# create device tree source from binary for reference
244245
tools/dtc/dtc -I dtb -O dts --sort -o $(TMP)/dts/dtraw.dts $(DEVICETREE)
245246

build_scripts/build_OS.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

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
55
RP_UBUNTU=redpitaya_ubuntu_13-14-23_25-sep-2017.tar.gz
66
SCHROOT_CONF_PATH=/etc/schroot/chroot.d/red-pitaya-ubuntu.conf
77

@@ -64,7 +64,7 @@ if [[ -d "$PATH_XILINX_SDK" ]]
6464
then
6565
echo -n "$PATH_XILINX_SDK exists on your filesystem. "
6666
print_ok
67-
else
67+
else
6868
echo -n "Can't find $PATH_XILINX_SDK on your PC. "
6969
print_fail
7070
echo "Check the correct path to Xilinx SDK"
@@ -75,7 +75,7 @@ if [[ -d "$PATH_XILINX_VIVADO" ]]
7575
then
7676
echo -n "$PATH_XILINX_VIVADO exists on your filesystem. "
7777
print_ok
78-
else
78+
else
7979
echo -n "Can't find $PATH_XILINX_VIVADO on your PC. "
8080
print_fail
8181
echo "Check the correct path to Xilinx Vivado"

settings.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# setup Xilinx Vivado FPGA tools
33
################################################################################
44

5-
. /opt/Xilinx/Vivado/2017.2/settings64.sh
5+
. /opt/Xilinx/Vivado/2020.1/settings64.sh
66

77
################################################################################
88
# setup cross compiler toolchain

0 commit comments

Comments
 (0)