XSCT is an interactive and scriptable command-line interface to the Vitis tool. The XSCT flow requires running a Tcl script.
Generating Using the Xilinx Software Command-line Tool Automated Flow
To create a FSBL for the Cortex-A53 #0 (64-bit) automatically (and modify the xfsbl_main.c/h files if a USB is present) using the provided script, use the following steps:
- Copy the src/lab10/xsct_create_fsbl.tcl script to the directory where the XSA file is located. You can modify the Tcl script if you changed the default name of the XSA file in the Vivado tool. You can also change the script if the compiler options need to be different.
- Open a terminal on Linux or command prompt on Windows.
- Change directory into the directory where the XSA file is located.
xsctfrom the Vitis tool install area.
% xsct xsct_create_fsbl.tcl
- The location of the generated ELF File prints out when the script completes.