PetaLinux setup and build: PetaLinux
- Enable FPGA Manager in the top level PetaLinux menuconfig options.
$ petalinux-config ---> FPGA Manager
(OR)
Edit <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf file and add FPGA Manager package to EXTRA_IMAGE_FEATURES variable.
EXTRA_IMAGE_FEATURES += " fpga-manager"
2. Select FPGA Manager user
3. Select the Specify hw directory path, in the prompt provide HDF path
Note:
- By default it will pack base hdf Bitstream and dtbo to the /lib/firmware/base in the rootfs
- Specified hw directory path can contain multiple HDF's
4. Use petalinux-build command to build the required images
$ petalinux-build
Once build is complete, binaries are available at images/linux directory
5. Boot the hardware with newly built images
-
- Directory /lib/firmware in the rootfs contains the Bitstreams and dtbo files