This page describes how to download and build the device tree compiler (DTC) from mainline. This utility is required for building U-Boot sucessfully. Building the device tree compiler is a part of the Xilinx design flow described in Xilinx Open Source Linux.
Task Dependencies (Pre-requisites)
Output Files Produced
- dtc (the dtc binary executable)
All commands have to be executed in your DTC source directory. There is a single dtc binary suitable for all architectures. There is not a need to build separate dtc binaries to support MicroBlaze and ARM.
To build dtc:
After the build process completes the dtc binary is created within the current directory. It is neccessary to make the path to the dtc binary accessible to tools (eg, the U-Boot build process). To make dtc available in other steps, it is recommended to add the tools directory to your $PATH variable.