Creates device tree.
Create a device tree for the hardware definition file.
||Name of the software platform to be generated.|
||Board name for device tree to be generated. Board names available at
||Hardware description file to be used to create the device tree.|
||The directory where the software platform needs to be created. Workspace will be default directory, if this option is not specified.|
||Location of the directory were bsp for git repo is available. Device tree repo will be cloned from git, if this option is not specified.|
||Git URL of the dtg repo to be cloned. Default repo is https://github.com/Xilinx/device-tree-xlnx.git.|
||Git branch to be checked out. Master branch selected default.|
||Set zocl flag to enable zocl driver support, default set to False. zocl should only be used when the designs are PL enabled. Only master and xlnx_rel_v2021.2 branch supports zocl property.|
||Set overlay flag to enable device-tree overlay support, default set to False.|
||Include custom-dtsi file in the device tree, if specified.|
||Specify this option to compile the generated dts to create dtb. If this
option is not specified, users can manually use dts to compile dtb.
example, dtc -I dts -O dtb -o
||Set update flag to enable existing device tree platform to update with new xsa.|
- This command is a shortcut for creating a device tree domain and generating the device tree. It clones the device tree repo, creates a platform with device_tree as OS, and configures and generates the platform to create dts. -zocl should only be used when the designs are PL enabled. Only master and xlnx_rel_v2021.2 branch supports zocl property.
createdts -hw zcu102.xsa -platform-name my_devicetree
Create a device tree for the handoff-file with Default repo as "https://github.com/Xilinx/device-tree-xlnx.git" and deault branch as "master".
createdts -hw zcu102.xsa -platform-name my_devicetree -git-url
Create a device tree for the handoff-file with user repo as repo mentioned in
<Git URL> and user branch as
createdts -hw zc702.xsa -platform-name my_devicetree -local-repo /my_local_git_repo
Create a device tree for the handoff-file and use the local repo.
createdts -hw vck190.xsa -platform-name my_devicetree -out /device-tree_output_directory
Create a device tree at the out directory specified by device-tre output directory.
createdts -hw zcu102.xsa -platform-name my_devicetree -overlay -zocl -compile
Create device tree for the handoff-file with overlay and zocl node. Compile flag compiles the device tree blob file from the DTS.
createdts -hw zcu102.xsa -platform-name my_devicetree -board
Creates a device tree adding board value to the library, Board names available at
createdts -update -hw newdesign.xsa
Updates existing device tree platform with new XSA.
createdts -hw vck190 -platform-name vck190 -out
Create device tree with custom-dtsi file included.