Enable 2019.1 Xilinx SDK BSP Symbols

Xilinx_logo_1

This post shows how to enable symbols in a 2019.1 Xilinx BSP.

Remember! You can enable syms in the fsbl or the fsbl_bsp, but not both.

Step #1: Right-click on fsbl_bsp and click Board Support Package Settings.

Board_support_package_settings_2

Step #2: Click standalone and set zynqmp_fsbl_bsp to false.

Set_zynqmp_fsbl_bsp_false_3

Step #3: Click psu_cortexta53_0, click on -g -Wall -Wextra -Os -flto -ffat-lto-objects.

Click_on_wall_wextra_4

Step #4: Set:

-g -Wall -Wextra -Os -flto -ffat-lto-objects

…to

-g -Wall -Wextra -Og

…and click OK

Set_wall_wextra_os_to_og_5

You should see the BSP recompile automatically:

Bsp_recompile_6

You should see the complete build fail if you haven’t turned off features in the fsbl:

Compile_build_fail_7

Step #5: Go into xfsbl_config.h and set all of these:

Xfsbl_config_h_settings_8

…to 1U to turn off code:

Set_to_1u_9

Step #6: Click Save All. The FSBL should auto recompile.

Save_all_recompile_10

Step #7: To test put a breakpoint in xil_printf (which is in the BSP)

Xil_printf_breakpoint_11

References

  • The Xilinx graphic is from [link]