Examples (4)
Compile a device tree source `.dts` file into a binary device tree blob `.dtb` file
dtc -I dts -O dtb -o path/to/output_file.dtb path/to/input_file.dtsCompile a device tree source `.dts` file into a binary device tree blob overlay `.dtbo` file
dtc -@ -I dts -O dtb -o path/to/output_file.dtbo path/to/input_file.dtsDecompile a device tree blob `.dtb` file into a readable device tree source `.dts` file
dtc -I dtb -O dts -o path/to/output_file.dts path/to/input_file.dtbDecompile the current device tree from the system into a readable device tree source `.dts` file
dtc -I fs -O dts /proc/device-treemade by @shridhargupta | data from tldr-pages