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.|
||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. For
Compile dts (device tree source) or dtsi (device tree source include) files.
Convert dts(device tree source) to dtb(device tree blob).
Convert dtb (device tree blob) to dts (device tree source).
||Set update flag to enable existing device tree platform to update with new xsa.|
- This command is a shortcut of creating a device tree domain and generate the device tree. It clones device-tree repo, creates a platform with device_tree as OS, configure and generate 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
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 Devicetree 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.