If you want to build an open source bootgen as part of the root file system, follow these steps.
- Go to the PetaLinux project:
cd <plnx-proj-root> - Run
petalinux-config -c rootfsand select - Run
petalinux-build.Once the target is up, you can find the bootgen binary in /usr/bin.