device-tree introspection

From time to time I need to inspect a used device-tree of a running device. For instance, the used bootloader (u-boot, barebox, ...) patches the the initial specified dtb and I want to see the modified one. All that is needed is an installed device-tree-compiler on the target.

$ dtc -I fs -O dts /sys/firmware/devicetree/base
Open Hub profile for Christian Gmeiner