Tag

Device Tree

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Dec 4, 2024 · Fundamentals

Understanding Linux Interrupt Number Mapping Mechanism

This article explores the Linux kernel's interrupt management architecture, detailing how hardware interrupt IDs are mapped to software IRQ numbers through the irq_domain structure, GIC controller design, and various mapping strategies such as linear, radix‑tree, and no‑map approaches.

Device TreeGICIRQ Mapping
0 likes · 21 min read
Understanding Linux Interrupt Number Mapping Mechanism
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 12, 2024 · Mobile Development

Analysis of Android Fingerprint Driver Initialization and DTS Matching in Linux Kernel 5.10

The article traces the Android fingerprint driver’s boot‑to‑initialization sequence in Linux kernel 5.10, detailing how fp_init and fp_probe are scheduled, how the Device Tree is parsed and turned into platform devices, and explains the three driver‑DTS matching mechanisms, offering insights applicable to other platform drivers.

AndroidDevice TreeFingerprint Driver
0 likes · 9 min read
Analysis of Android Fingerprint Driver Initialization and DTS Matching in Linux Kernel 5.10
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 20, 2022 · Fundamentals

Linux Kernel Interrupt Mapping: Hardware and Software IRQ Translation Process

The article explains how the Linux kernel translates ARM GIC hardware interrupt numbers into virtual software IRQs by maintaining a global bitmap, initializing the interrupt controller, using irq_domain structures to map and associate hwirq and virq values, and storing relationships in descriptor and revmap trees for efficient lookup.

Device TreeGICIRQ Mapping
0 likes · 10 min read
Linux Kernel Interrupt Mapping: Hardware and Software IRQ Translation Process
IT Services Circle
IT Services Circle
Feb 20, 2022 · Fundamentals

Exploring Linux Bus, Device, and Driver Model and a Deep Dive into Device Tree

This article systematically explains the Linux driver ecosystem by covering the bus‑device‑driver model, the role of device trees in decoupling hardware description from driver code, and step‑by‑step guidance for creating a custom development board with full DTS and kernel integration.

Device DriverDevice TreeKernel
0 likes · 22 min read
Exploring Linux Bus, Device, and Driver Model and a Deep Dive into Device Tree
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 7, 2022 · Mobile Development

Device Tree Compilation, Partitioning, and Runtime Matching Process in Android

The article explains Android’s Device Tree workflow, detailing how DTS files are compiled into DTB blobs and, since Android 8, split into platform DTB and vendor DTBO partitions, how GKI moves DTB to vendor_boot, and how bootloaders and runtime stages match DTBs/DTBOs using platform IDs, GPIO cues, and overlay mechanisms.

AndroidBootloaderDTB
0 likes · 8 min read
Device Tree Compilation, Partitioning, and Runtime Matching Process in Android
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 13, 2021 · Fundamentals

Device Tree Fundamentals: Concepts, Overlay Mechanism, and Debugging

The article explains Device Tree fundamentals—defining DTS, DTSI, DTB and DTBO formats, their origin as a cleaner alternative to kernel‑embedded platform code, how overlays decouple vendor changes via matching project and PCB IDs, the rules for modifying nodes, and debugging techniques using dtc and mkdtimgdump tools.

DTBODTSDevice Tree
0 likes · 6 min read
Device Tree Fundamentals: Concepts, Overlay Mechanism, and Debugging