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.
- 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"
- 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"
- 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 :
- FPGA manager kernel configs gets enabled
- Dtoverlay in DTG is enabled
- 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