Obtaining Linux Device Trees From the SHEL Flow
This page describes how to obtain Linux device trees from the SHEL flow. This is intended for users who want to use thier own build system and need the Linux compatible device tree.
Obtaining Linux Device Trees
Although nominally system device trees are intended to be compatible with classic Linux device trees, users must take care when reviewing system device trees for working directly in Linux (see Understanding System Device Tree vs. Device Tree for details). AMD Recommends using gen-machine-conf or lopper to obtain automatically translated Linux device trees.
The following is a brief example of how to use SDTGen, followed by
gen-machine-conf, to obtain Linux device tree files:
Running SDTGen: https://github.com/Xilinx/system-device-tree-xlnx?tab=readme-ov-file#steps-to-use-sdtgen
Running gen-machine-conf:
$ gen-machine-conf parse-sdt --hw-description <path_to_sdtgen_output_directory> -c <conf-directory> -l <path-to-build-directory>/build/conf/local.conf --machine-name <your machine name here>
Viewing the Device Tree Files:
$ ls ./conf/dts/<your machine name here>/<cpu type>-linux.dts