- .hdf file created from hdl adi repo last commit of release 2018_r2 project
- when I used the cmd
petalinux-config --get-hw-description <path to hdf>
I got the .dts and .dtb files
The probelm is that the generated system.dtb file doesn't define the fmcomms2 card to the board, when I used
iio_info | grep iio:device
on the board I can't find the ad9361 device listed, but when I bring the "zynqmp-zcu102-rev10-ad9361-fmcomms2-3.dtb" created by the makefile of the linux_adi kerenel source, it works fine I can list the ad9361 device.
What do you have in system.dtsi ? My guess is that the zynqmp-zcu102-rev10-ad9361-fmcomms2-3.dtb is a special device tree version that has the AD9361 added, whereas the standard zcu102-BSP build does not. Just a guess...
You can run dtc to convert the working dtb file into a text-dts file. Then copy over the AD9361 related nodes to your system.dtsi file