Here are some notes about some interesting usages of the dtc and its utilities which can be really useful during device drivers development and kernel configuration.
Using the device tree compiler and utilities
Obtaining a source form of a running device tree
dtc can also be used to convert a running device tree into a human-readable form too! Let's suppose we wish to know how our ESPRESSObin has been configured; the first thing to do is to take a look at ESPRESSObin's DTS file in the kernel sources. However, suppose we don't have it. In this situation, we can ask dtc to revert to the corresponding DTB file, as seen in the preceding section, but suppose we still don't have it. What we can do? Well, dtc...