Scroll to navigation

DTC(1) General Commands Manual DTC(1)

NAME

dtc - Device Tree Compiler

SYNOPSIS

/usr/bin/dtc [options] <input file>

DESCRIPTION

Device Tree Compiler, dtc, takes as input a device-tree in a given format and outputs a device-tree in another format for booting kernels on embedded systems. Typically, the input format is "dts", a human readable source format, and creates a "dtb", or binary format as output.

OPTIONS

Display help text.
Quiet:
-q - Suppress warnings.
-qq - Suppress errors.
-qqq - Suppress all.
Input formats are:
dts - device tree source text
dtb - device tree blob
fs - /proc/device-tree style directory
Dump the result into a file, instead of stdout.
Output formats are:
dts - device tree source text
dtb - device tree blob
asm - assembler source
Blob version to produce. The default is 17 (only relevant for dtb and asm output).
Make space for <number> reserve map entries (only relevant for dtb and asm output).
Make the blob at least <bytes> long (extra space).
Add padding to the blob of <bytes> long (extra space)

-b <number>

Set the physical boot CPU.
Force - try to produce output even if the input tree has errors.
Sort nodes and properties before outputting (only useful for comparing trees)
Print DTC version and exit.
phandle formats are:
legacy - "linux,phandle" properties only
epapr - "phandle" properties only
both - Both "linux,phandle" and "phandle" properties

AUTHOR

dtc was written by David Gibson <david@gibson.dropbear.id.au>. Since April 1, 2006, Jon Loeliger <jdl@jdl.com> assumes maintainership.

This manual page was originally written by Aurélien GÉRÔME <ag@roxor.cx>, for the Debian project (but may be used by others).

This manual page is currently maintained and update it by Héctor Orón <zumbi@debian.org>, for the Debian project.

30 January 2012 Linux