First Stage Boot Loader for Zynq UltraScale+ and Zynq 7000 Devices - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
2023.2 English

By default, the top level system settings are set to generate the first stage boot loader. This is optional.

Note: If you do not want the PetaLinux build FSBL/FS-BOOT, you need to manually build it on your own. Else, your system does not boot properly.

If you had disabled first stage boot loader from menuconfig previously, You can configure the project to build first stage boot loader as follows:

  1. Launch top level system settings configuration menu and configure:
    1. Select Linux Components Selection ---> submenu.
    2. Select First Stage Boot Loader option.
      [*] First Stage Bootloader
    3. Select the FSBL Configuration ---> submenu.
    4. For application compiler flags, select FSBL Configuration > FSBL compiler flags.
    5. For BSP compiler flags, select FSBL Configuration > FSBL BSP extra compiler flags.
    6. Enter your compilation flags.
    7. Exit the menu and save the change.
  2. Launch petalinux-build to build the FSBL:

    Build the FSBL when building the project:


    Build the FSBL only:

    petalinux-build -c fsbl (for MicroBlaze, it is fs-boot)

    The boot loader ELF file is installed as zynqmp_fsbl.elf for Zynq UltraScale+ MPSoC, zynq_fsbl.elf for AMD Zynq™ 7000 devices and fs-boot.elf for MicroBlaze™ processors in images/linux inside the project root directory.

For more information on FSBL, see