Shipping Multiple Devicetrees: How to Identify Which DTB Is for My Board?
summary
Qualifies the problem with numbers and a concrete proposal: Qualcomm ships 20 DTBs and over 100 overlays so a single image must pick the right DTB; current approaches (long compatible strings, bootloader-specific parsing, or huge DT overlays) get brittle. Proposal adds a board-id property in root node containing vendor magic numbers that bootloaders (U-Boot, coreboot, FIT) can read and match against hardware IDs so the bootloader selects the DTB without custom string parsing.
AI-written summary · about
chapters (7)
- 0:00Multiple device trees intro
- 2:46Shipping multiple device trees
- 10:53Device tree selection challenges
- 18:35Unified board ID proposal
- 27:47Board ID implementation discussion
- 42:04Backward compatibility & future
- 49:20Q&A
related talks
29mDevice Tree Metadata: How Bootloaders Pick DTBs and Apply Overlays
01h 13mDevice Tree for Dummies!
20mUsing DTB overlays in OP-TEE
40mSecond Source Component Probing on Device Tree Platforms
01h 10mBoF: Devicetree
29mChallenges in Device Tree Sync - kernel, Zephyr, U-boot, System DT
44mBoF: Devicetree
45mWhack-a-Mole with DTS Validation in the Linux Kernel
