Yocto setup and build: yocto
Once Yocto environment is set
- Edit <yocto-proj-root>/build/conf/local.conf add below lines of code
EXTRA_IMAGE_FEATURES += " fpga-manager" EXTRA_HDF = "<PATH_TO_HDF_or_XSA>"
Note:
- By default it will pack base hdf Bitstream and dtbo to the /lib/firmware/base in the rootfs
- Extra hdf path can contain multiple HDF's
2. Build the required images (run below command)
$ bitbake petalinux-image-minimal
Once build is complete, binaries are available at ${DEPLOY_DIR_IMAGE} (${TMPDIR}/deploy/images/${MACHINE}/) directory
3. Boot the hardware with newly built images
-
- Directory /lib/firmware in the rootfs contains the Bitstreams and dtbo files