Device trees as ABI
Device trees as ABI
Posted Jul 31, 2013 12:43 UTC (Wed) by pizza (subscriber, #46)In reply to: Device trees as ABI by nelljerram
Parent article: Device trees as ABI
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
