I am trying to build a linux device tree based on the platform zedboard and FMCOMMS2/3, in order to control FMCOMMS2/3 with sysfs under a linux system.
The wiki page [Building the 2014_R2 release Linux kernel and devicetrees from source [Analog Devices Wiki] ]suggest me to build a devicetree with this file zynq-zed-adv7511-ad9361-fmcomms2-3.dts, but when I tried to compile this devicetree, Error occurred like this:
Error: adi-fmcomms2.dtsi:12.1-9 Label or path fmc_spi not found
Error: adi-fmcomms3-up-down-converter.dtsi:15.1-10 Label or path pmod_spi not found
Error: zynq-zed-adv7511-ad9361-fmcomms2-3.dts:79.1-13 Label or path adc0_ad9361 not found
Error: zynq-zed-adv7511-ad9361-fmcomms2-3.dts:87.1-20 Label or path lo_pll0_rx_adf4351 not found
Error: zynq-zed-adv7511-ad9361-fmcomms2-3.dts:91.1-20 Label or path lo_pll0_tx_adf4351 not found
FATAL ERROR: Syntax error parsing input tree
My Compile command line is:
dtc -I dts -O dtb -o zynq-zed-adv7511-ad9361-fmcomms2-3.dtb zynq-zed-adv7511-ad9361-fmcomms2-3.dts
The dtc tool version is 1.4.0
Is there something wrong with my dtc compiler or with my dts source file.
Have anybody encountered this problem?