Skip the following steps if the Git repository has already been downloaded and extracted to a working directory.
Clone the Git Repository for the current release tag.
# Create and move to directory where the source repository is to be cloned
mkdir -p </path/to/source/repo>
cd </path/to/source/repo>
# clone git repo and switch to the current release tag
git clone https://github.com/Xilinx/versal-restart-trd.git
cd versal-restart-trd
git checkout -b xilinx-v2023.1 xilinx-v2023.1
export REPO_SRC = </path/to/source/repo>/veral-restart-trd
Note
refer REPO_SRC = </path/to/source/repo>/veral-restart-trd for rest of the documentation
$REPO_SRC/hw directory provides sources to build the following components:
Vivado project
Hardware XSA
Hardware PDI
The XSA will be used later by the software instructions.