UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 53665

14.3 FSBL - Add Additional Functionality to Zynq FSBL

Description

Users might want to modify the stock Xilinx First Stage Boot Loader (FSBL) by adding additional functionality. This answer record provides an outline on how to do so.

Solution

Beginning with 14.3, users are able to make modifications to the Zynq FSBL created in the Xilinx Software Development Kit (SDK).

Xilinx provides functions that serve as user hooks. The user can addadditional functionality required into these routines. This helps retain the normal FSBL flow, while also allowing users to add their own custom logic.

The FSBL user hooks allow custom logic to be added in three different locations in the FSBL.

  • Before Bitstream Download
  • After Bitstream Download
  • Before FSBL Hands Off to Second Stage Bootloader

These three functions are left blank and have an area for user logic to be added. The functions are located in fsbl_hooks.c, which is part of the source code for a SDK generated FSBL.

AR# 53665
Date Created 02/13/2013
Last Updated 02/13/2013
Status Active
Type General Article
Devices
  • Zynq-7000
Tools
  • EDK