I am using buildroot 2017.02 for a MicroZed board target with a Xilinx kernel and U-Boot. The Zynq programmable logic (PL) bit stream file will be custom built by me using Vivado. The PL must be incorporated to the boot.bin file that resides on the target's SD card along with the u-boot image.
How do I configure buildroot to incorporate my own PL bit stream file into boot.bin?
Note: I suppose the boot.bin
file is produced by the U-Boot build process.
The U-Boot build process cannot generate a full-fledged boot.bin
. It can only put its own SPL (and a PMUFW, on ZynqMP).
There are several ways to get your bitstream loaded. Some options, from simplest to hardest:
fpga load
commandcat bitstream.bit > /dev/xdevcfg
); but ensure this is done before
drivers for devices in FPGA are probedboot.bin
using https://github.com/antmicro/zynq-mkbootimage,
"an open source replacement of the Xilinx's bootgen application".bootgen
from Xilinx.
Expect troubles in integrating it in any build process, though.