Ports for SerenityOS
Collections What's new Versions Info Sign in

Device Tree Compiler 1.7.0

Device tree compiler is a command line tool used to compile Device Tree Source into Device Tree Blob.

cd Ports/dtc
./package.sh

Screenshot

Device tree compiler is a command line tool used to compile Device Tree Source into Device Tree Blob.


Device tree is a standard for describing the layout of devices attached to a computer. As opposed to discovering devices by e.g. enumerating PCI devices as is the case with x86, kernels which use device tree are handed a static device tree blob by the bootloader. The device tree specification specifies two formats for device trees:

- DTS (Device Tree Source) which is a human-readable plain text specification describing the various devices attached to the system and their layout in memory.
- DTB (Device Tree Blob) which is a flattened device tree binary blob to be parsed by the kernel at boot.
The command line tool dtc, or Device Tree Compiler, can be used to compile a DTS into a DTB. Device trees are used to boot on a variety of architectures including aarch64.

Website: https://github.com/dgibson/dtc

Port: https://github.com/SerenityOS/serenity/tree/master/Ports/dtc

Dependencies: bash 🖧

Sign in to vote

✍️ Edit this page

Similar ports