Device trees as ABI
Device trees as ABI
Posted Jul 31, 2013 11:28 UTC (Wed) by nelljerram (subscriber, #12005)Parent article: Device trees as ABI
The reasons I'd guess are efficiency of expression and/or not wanting the description to be baked into the kernel. If the latter _was_ one of the reasons, surely it was obvious immediately that this would be a new ABI and so raise the question of stability? If the latter is not a strong reason, why not avoid the stable ABI question by compiling the DT and baking it into the kernel?
Posted Jul 31, 2013 12:43 UTC (Wed)
by pizza (subscriber, #46)
[Link] (5 responses)
So a single kernel image could be used to boot a wide variety of hardware, including boards that didn't exist when the kernel was released.
Posted Jul 31, 2013 13:13 UTC (Wed)
by karim (subscriber, #114)
[Link] (3 responses)
Posted Jul 31, 2013 15:58 UTC (Wed)
by raven667 (subscriber, #5198)
[Link] (2 responses)
Posted Jul 31, 2013 16:05 UTC (Wed)
by raven667 (subscriber, #5198)
[Link] (1 responses)
Posted Aug 12, 2013 2:18 UTC (Mon)
by mmarq (guest, #2332)
[Link]
OTOH to break out of the "old" PC world, low level binary interfaces are almost mandatory, binary interfaces and Open Source are not mutually exclusive... at least take advantage of it, know and restrict what a blob is up to, but support them, doesn't matter if the source is available or not, of if info is NDA or not.
Posted Jul 31, 2013 13:28 UTC (Wed)
by mbizon (subscriber, #37138)
[Link]
You want DT if the kernel has no knowledge of how the hardware is layered and you want to provide that information on a separate channel. This requires that the kernel know the DT "schema" that you use to describe your hardware.
for example, DT would tell the kernel "you have a I2C/SPI/... hardware block of type xxxx at location xxxx", allowing the kernel to register the device without needing a platform/pci_register_device that you typically find inside board files.
Device trees as ABI
Device trees as ABI
Device trees as ABI
Device trees as ABI
Device trees as ABI
Device trees as ABI