Dtc

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Device Tree Compiler (DTC) is a tool to create device tree binaries (dtbs) from device tree source.

Installation

USE flags

USE flags for sys-apps/dtc Open Firmware device tree compiler

python Add optional support/bindings for the Python language
static-libs Build static versions of dynamic libraries as well
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
yaml support .yaml-encoded device trees

Emerge

root #emerge --ask sys-apps/dtc

Usage

Used when creating device tree binaries. Typically when create a primary bootloader like U-boot

Removal

Unmerge

root #emerge --ask --depclean --verbose sys-apps/dtc