FPGA Manager Changes - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2023-10-18
Version
2023.2 English

When you create fpgamanager or fpgamanager_dtg template apps using the petalinux-create command, ensure to enable FPGA Manager. Not enabling FPGA Manager could cause issues in loading the dtbo and bin files on target.

petalinux-config > FPGA Manager > [*] Fpga Manager

  1. Generating dtbo from pl xsa and packaging them in rootfs
    petalinux-create -t apps --template fpgamanager_dtg -n gpio --enable --srcuri "<path>/gpio.xsa <path>/shell.json"
  2. Generating dtbo and its corresponding pdi/bit.bin from dtsi file using the following command:
    
    petalinux-create -t apps --template fpgamanager -n gpio --enable --srcuri "<path>/pl.dtsi <path>/system.bit <path>/shell.json"
  3. Packaging prebuilt overlay dtbo file and its corresponding pdi/bit.bin file.
    petalinux-create -t apps --template fpgamanager -n gpio --enable --srcuri "<path/pl.dtbo> <path>/system.bit.bin/<path>/pdi"(code section)

You can find the dtbo and bin/pdi files of the generated base and template applications in /lib/firmware/xilinx/

When Fpga Manager Configuration is enabled :

  1. FPGA manager kernel configs gets enabled
  2. Dtoverlay in DTG is enabled
  3. Yocto FPGA manager plugins are enabled

fpga_manager_util is deprecated. You can generate dtbo and its bit.bin/pdi using fpgamanager_dtg template.

This can be achieved using fpgamanager_dtg class.

Figure 1. FPGA Manager
Figure 2. In 2022.1