Revision as of 11:05, 6 August 2015 by Craig Peacock (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Updating the Device Tree Compiler

If you get the following error message when compiling device tree blobs, then you will need to update your device tree compiler (dtc) with a specific version designed for dynamic DT loading (e.g enable symbol/fixup support)

dtc: invalid option -- '@'

To clone the official repository for the Device Tree Compiler use:

git clone git://

However, this upstream DTC doesn't include the option to enable symbol/fixup support.

To compile a DTC version with symbol/fixup support for dynamic loading of device trees:

git clone
cd dtc
git checkout dt-overlays5 
make PREFIX=/usr
sudo make install