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

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-04-26
Version
2022.1 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, then you will need to manually build it on your own. Else, your system will 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:
    $ petalinux-config
    1. Select Linux Components Selection ---> sub-menu.
    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:

    $ petalinux-build

    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 Zynq®-7000 devices and fs-boot.elf for MicroBlaze™ processors in images/linux inside the project root directory.

For more information on FSBL, see https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842019/FSBL.