The fpgautil command line tool provides an easy-to-use interface for FPGA management. It allows the loading of fpga via overlay or through sysfs interface, as well as reading fpga configurations using the Xilinx zynqMP fpga manager. Usage: fpgautil -b -o Options: -b (Bin file path) -o (DTBO file path) -f Optional: f := Default: -s Optional: s := -k Optional: -r Optional: Default: By default Read back contents will be stored in readback.bin file -t Optional: 0 - Configuration Register readback 1 - Configuration Data Frames readback Default: 0 (Configuration register readback) -R Optional: Remove overlay from a live tree Examples: (Load Full bitstream using Overlay) fpgautil -b top.bit.bin -o can.dtbo (Load Partial bitstream through the sysfs interface) fpgautil -b top.bit.bin -f Partial (Load Authenticated bitstream through the sysfs interface) fpgautil -b top.bit.bin -f Full -s AuthDDR (Load Parital Encrypted Userkey bitstream using Overlay) fpgautil -b top.bit.bin -o pl.dtbo -f Partial -s EnUsrKey -k <32byte key value> NOTE: A binary file built for testing purposes can be downloaded from the following location: http://linux.enea.com/EneaLinux8.0/Xilinx-utils/fpga.bin.tar.bz2 In order to load the fpga with the example file, do the following: 1. Extract the binary file under /lib/firmware rootfs folder $ tar -xpf system.bin.tar.bz2 -C /lib/firmware 2. (Re)Boot the target 3. Load the binary file $ fpgautil -b /lib/firmware/system.bin [ 39.243008] fpga_manager fpga0: writing system.bin to Xilinx ZynqMP FPGA Manager Time taken to load BIN is 15500.000000 Milli Seconds BIN FILE loaded through zynqMP FPGA manager successfully