I have been following the analog devices guide on setting up a project for petalinux.
I have not had any issues building the base analog devices design. However, I am having issues building for zynq-adrv9361-z7035-bob-cmos.
When i specify
KERNEL_DTB = "zynq-adrv9361-z7035-bob"
the build succeeds. However, if i change it to the cmos variant like so:
KERNEL_DTB = "zynq-adrv9361-z7035-bob-cmos"
i get the following error:
sed: can't read /home/petalinux_project/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/zynq-adrv9361-z7035-bob.dts
I am not sure why this is happening. I tried specifying the manual device tree include directory to
($STAGING_KERNEL_DIR}/include)
and
(${STAGING_KERNEL_DIR}/arch/arm/boot/dts)
but still the build will fail. Same behavior was observed when building
zynq-adrv9364-z7020-bob-cmos vs zynq-adrv9364-z7020-bob