<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 2, 2019, 7:21 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/04/2019 14:15, Jeff Kubascik wrote:<br>
> How capable is the device tree support in RTEMS? I did notice some device tree<br>
> code in the IMX BSP layer, but it appeared to reference fixed nodes. Does RTEMS<br>
> perform driver probing based on the device tree?<br>
<br>
The device tree support in RTEMS is quite rudimentary. However, in the <br>
BSP you don't need much. You just have to deal with the interrupt <br>
controller, the clock driver and an UART driver. Maybe also I2C and SPI, <br>
but these are simple things. The more complex drivers are in libbsd <br>
(USB, MMC/SDCard, Ethernet). Here we have the device tree support from <br>
FreeBSD. It is not as good as the device tree support from Linux <br>
especially if it comes down to pins and clocks since this is a real mess <br>
usually.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Neither of us mentioned licence. We do not accept GPL code in RTEMS because it is statically linked with applications and this would result in applications needing to follow the GPL requirements.</div><div dir="auto"><br></div><div dir="auto">The 2 paragraph BSD license is not the preferred license. The historical RTEMS license is GPLv2 with a linking exclusion. It was based on the GCC runtimes.</div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank" rel="noreferrer">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</blockquote></div></div></div>