ELCE 2019 DeviceTree Past Present Future
ELCE 2019 DeviceTree Past Present Future
Photo: wikimedia.org
Device Tree:
Past, Present, Future
Neil Armstrong - BayLibre
1
Quick bio
Embedded Linux Engineer since 2008
First Embedded Linux Conference Europe in 2009
Linux Device Tree adopter since 2012
BayLibre Kernel Hacker since 2015
Linux & U-Boot Maintainer since 2017
● In code ?
● In binary format ?
● In text format ?
● Auto generated ?
● Device Tree for ARM was heavily discussed in 2009 & 2010
● Vitaly Wool and Wolfram Sang did great talks on the topic in 2009
○ https://elinux.org/ELC_Europe_2009_Presentations
○ Wolfram shared his experience on I2C, UIO and GPIO for Device
Tree at the time
○ Vitaly summed-up the heated discussions about Device Tree
Spoiler Alert: the “Pro DT” did win the debate
};
Embedded Linux Conference Europe - October 2019 28
Device Tree: System Representation
#include
soc-family.dtsi
#include soc-variant.dtsi
board-family.dtsi
board.dts
#include
dtc -O dtb
board.dts
#include
meson-gx-p23x-q20x.dtsi #include
meson-gxl-s905d.dtsi
meson-gxl-s905d-p230.dts #include
dtc -O dtb
meson-gxl-s905d-p230.dtb
Now, GCC
is used to
pre-process
the DTS
Source, to
include
shared C
headers
Thank you !