-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Update to Vivado Version 2021.1
This requires some adjustments since the handover file is no longer in the HDF format but instead is called XSA. We build FPGA/HDL with 2021.1 but our GCC (arm-linux-gnueabihf-gcc) is still from: Xilinx/SDK/2019.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin This is due to buildroot complaining about an compatibility issue with gcc from 2021.1 Signed-off-by: Michael Hennerich <[email protected]>
- Loading branch information
1 parent
693b863
commit 315422d
Showing
2 changed files
with
19 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
hsi open_hw_design build/system_top.hdf | ||
hsi open_hw_design build/system_top.xsa | ||
set cpu_name [lindex [hsi get_cells -filter {IP_TYPE==PROCESSOR}] 0] | ||
|
||
sdk setws ./build/sdk | ||
sdk createhw -name hw_0 -hwspec build/system_top.hdf | ||
|
||
# Workaround for broken write_sysdev in vivado 2018.2 | ||
catch { | ||
set copyfiles [glob ./build/ps7_init*] | ||
if {[llength $copyfiles]} { | ||
file copy {*}$copyfiles ./build/sdk/hw_0/ | ||
} | ||
} | ||
sdk createapp -name fsbl -hwproject hw_0 -proc $cpu_name -os standalone -lang C -app {Zynq FSBL} | ||
configapp -app fsbl build-config release | ||
sdk projects -build -type all | ||
#xsdk -batch -source create_fsbl_project.tcl | ||
platform create -name hw0 -hw build/system_top.xsa -os standalone -out ./build/sdk -proc $cpu_name | ||
platform generate |