I am trying to bring up the ZC706/FMCOMMS5 SDR combination. I have modified the ADI HDL Reference Design and generated a bitstream in Vivado 2020.2, and I’m dying to load and operate the bitstream in PYNQ.
I have successfully built the PYNQ 2.7 boot files from source (using the custom XSA in lieu of a BSP); however, even building libiio from source according to ADI’s directions fails to detect the FMCOMMS5 in iio_info, which only displays the ZC706 xadc. ADI seems to require the meta-adi-core and meta-adi-xilinx Yocto user layers be added for libiio to be installed correctly.
I also have tried the steps outlined in Peter Ogden’s excellent post Deploying PYNQ and Jupyter with Petalinux - Learn - PYNQ–with a couple of modifications. First, since I didn’t have a BSP, instead of executing the line
petalinux-create -t project -s xilinx-zcu104-v2019.2-final.bsp
I created the project using the first step in ADI’s instructions for adding meta-adi-core and meta-adi-xilinx Yocto layers:
petalinux-create -t project --template zynq --name ZC706redux
petalinux-config --get-hw-description=/home/jim/hardware (path to XSA folder)
The second modification was to skip the steps beginning with “Creating a recipe for PYNQ-Helloworld” because that example is not compatible with the ZC706, and the build fails.
Even so, I didn’t make it to the step of petalinux-build this time, as a warning and an error were generated at the
petalinux-config -c kernel step. First, even though system.xsa has been copied to /project-spec/hw-description/ I received the warning:
WARNING: /home/jim/ZC706A/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb: KERNEL_DTB is not defined. Your build is likely to fail! Make sure to define it in a conf file...
along with the error:
ERROR: Nothing RPROVIDES 'libiio-python3' (but /home/jim/ZC706A/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb RDEPENDS on or otherwise requires it)
I became quite fond of PYNQ using the ZCU111, but current projects require use of the ZC706/FMCOMMS5 combination. Any and all help is greatly appreciated!