Difference between revisions of "Device Tree Reference"
(Initial version. Skeleton outline.) |
(→Reference Manual: add header "man pages". fix bullets in Glossary section) |
||
Line 74: | Line 74: | ||
** binding driver to device | ** binding driver to device | ||
** deferred binding | ** deferred binding | ||
+ | |||
+ | === man pages === | ||
=== Glossary === | === Glossary === | ||
− | + | ||
− | + | * .dtb | |
− | + | * .dts | |
− | + | * Binary Blob | |
− | + | * EDT Expanded Device Tree | |
+ | * FDT Flattened Device Tree | ||
=== Definitions === | === Definitions === |
Revision as of 10:19, 9 September 2015
Contents
Reference Manual
Introduction
Device Tree Source
- Power.org Standard for Embedded Power Architecture Platform Requirements (ePAPR) v1.1
- chapter 2 "The Device Tree"
- Appendix A "Device Tree Source Format (Version 1)"
- dtc compiler repository documentation
- Documentation/dts-format.txt Device Tree Source Format
- xxx differences between ePAPR and the Linux dtc compiler
- presentations
Bindings
Subsystem specific
- gpio / pinctrl
- interrupts
- timers
- etc
Overlays
Device Tree Source Validation
Compiling .dtb (FDT binary blob)
- via kernel make system
- all configured .dtb
- make dtbs
- specific .dtb
- make arch/arm/boot/dts/qcom-apq8074-dragonboard.dtb
- all configured .dtb
- via generated script in build directory
- arch/arm/boot/dts/.*.dtb.cmd
- arch/${ARCH}/boot/dts/.*.dtb.cmd
- Documentation/manual.txt Device Tree Compiler Manual
install
- make dtbs_install
- installs in /boot/dtbs/<kernel version> ???? -- is this useful ???
- many other ways to install ....
boot loaders
booting
debugging
- tutorials
- "Solving Device Tree Issues" (updated), LinuxCon North America August 2015 by Frank Rowand
- diffing .dts, .dtb, /proc/devicetree/
- locating source location for properties
- boot time messages
- device creation
- driver registration
- binding driver to device
- deferred binding
man pages
Glossary
- .dtb
- .dts
- Binary Blob
- EDT Expanded Device Tree
- FDT Flattened Device Tree