The FSBL application is capable of performing numerous tasks. The tasks it executes are based on the user definition in header files. Some functions are not executed by default. GCC includes these functions into the compiled executable by default. Since the OCM only has a capacity of 128 KB and the FSBL runs on the OCM, unused functions must be stripped out to make FSBL fit into the OCM. Fortunately, the zynqmp_fsbl application template available in the Vitis Unified IDE uses compiler option -Os -flto -ffat-lto-objects
by default. You do not need to take any action here.
Select the zcu102_platform under FLOW and Build
Next, set the verbose level in the FSBL. Medium level verbose printing is good for most designs. Enable FSBL_DEBUG_INFO
by performing the following steps:
In the Vitis Components view, select the fsbl_a53 -> Settings -> vitis_comp.json.
Select UserConfig.cmake.
Select Symbols > Defined Symbols.
Click the Add Item link.
Enter
FSBL_DEBUG_INFO
.