Post Go back to editing

What are the steps to add support for a board not currently supported in the meta-adi layer? We have a project using the ad9625 on the zcu106 board. We are using petalinux 2021.1.

Category: Software
Product Number: ad9625
Software Version: 2021.1

I've tried using the meta-adi repo/layers to add to our petalinux 2021.1 to no avail.

I then realize that the board we are using "zcu-106" is not supported.

What are the steps to add support for it?

Thanks

pat

Top Replies

  • Hi pat,

    Please check this documentation for that. Come back with potential questions you have after reading it.

    - Nuno Sá

  • Thanks for the response.  However, I have had no luck getting my device-tree to build.

    I've followed the instruction,

    My device tree is auto-generated when I do the build and it is called system-top.dts from the imported xsa file I get from the FPGA member of my team.

    I've created a file pl-delete-nodes-system-top.dtsi, under project-spec/meta-user/recipes-bsp/device-tree/files

    Added it to the bbfile

    SRC_URI_append = "file://config \
    file://system-user.dtsi \
    file://pl-delete-nodes-system-top.dtsi"

    When I do petalinux-build -c device-tree I get lots of errors:

    .....

    cp: '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu1275-revA.dts' and '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu1275-revA.dts' are the same file
    cp: '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu1275-revB.dts' and '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu1275-revB.dts' are the same file
    cp: '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu1285-revA.dts' and '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu1285-revA.dts' are the same file
    cp: '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu208-revA.dts' and '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu208-revA.dts' are the same file
    cp: '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu216-revA.dts' and '/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/zynqmp-zcu216-revA.dts' are the same file
    WARNING: /home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/temp/run.do_configure.633388:203 exit 1 from 'cp -rf "/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/"* "/home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/"'
    WARNING: Backtrace (BB generated script):
    #1: do_configure, /home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/temp/run.do_configure.633388, line 203
    #2: main, /home/pat/tof-os-2021.1/build/tmp/work/zcu106-xilinx-linux/device-tree/xilinx-v2021.1+gitAUTOINC+252758eb1f-r0/temp/run.do_configure.633388, line 290

    Backtrace (metadata-relative locations):
    #1: do_configure, /home/pat/tof-os-2021.1/components/yocto/layers/meta-xilinx-tools/classes/xsctbase.bbclass, line 81



  • Hi Pat,

    sorry for the late reply...

    My device tree is auto-generated when I do the build and it is called system-top.dts from the imported xsa file I get from the FPGA member of my team.

    No, that is not the dts you should be looking at. You should look at pl.dtsi and remove those nodes.

    - Nuno Sá