Build the firmware with standalone tests - SundanceMultiprocessorTechnology/VCS-1 GitHub Wiki
Build the firmware with standalone tests
Steps:
- Download the Firmware repository.
2.a Open Vivado, and go to "Tools -> Run tcl Script..." Browse Browse "FM191_ZXXXX.tcl", in ../Firmware/201X.X/ZUXXX/FM191*
2.b or run vivado on the tcl mode
$ vivado -mode tcl
Vivado% source FM191_ZXXXX.tcl
NOTE: You might require to change the installation path in this line of the script: source /home/Xilinx/SDK/2018.3/settings64.sh source /home/Xilinx/SDK/2019.2/settings64.sh
This creates the project, it generates the bitstream and exports the .hdf file too. They can be found at:
- <project_path>/FM191_ZXXXX/FM191_ZXXXX.runs/impl_1/*.bit
- <project_path>/FM191_ZXXXX/FM191_ZXXXX.sdk/*.hdf
- source the "FM191_ZXXXX_BIF.sh" in the xsct environment.
$ source <project_path>/FM191_ZXXXX_BIF.sh
NOTE: You might require to change the installation path in this line of the script: source /home/Xilinx/SDK/2018.3/settings64.sh
This generates a .bif file, and launches SDK in batch mode.
- Having SDK launched in batch mode
xcst%:
xsct% source <project_path>/FM191_ZXXXX.sh
This generates a Hardware Platform project, FSBL project, App project, and a BOOT.bin file.
NOTE: The procedure for creating a project based on FM191-RU and FM191-RU (RPI) -which provides RPI GPIO pinout interfaces- is the same._