We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Visitor aymanhendawy
Registered: ‎11-11-2018

petalinux 2018.2 generated device tree for AD9361 is not working


I'm using petalinux 2018.2 for ZCU102 board with,

- External kernel source from ADI master branch last commit with

petalinux-config -c kernel --defconfig=adi_zynqmp_defconfig

- xilinx-zcu102-v2018.2-final.bsp -> 

petalinux-create -t project -s xilinx-zcu102-v2018.2-final.bsp --name <project-name>

- .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.


0 Kudos
1 Reply
Registered: ‎05-26-2017

Re: petalinux 2018.2 generated device tree for AD9361 is not working

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 


0 Kudos