* [Buildroot] support for device tree overlays ?
@ 2015-12-13 22:51 Johan Sagaert
2015-12-14 13:20 ` Antoine Tenart
0 siblings, 1 reply; 2+ messages in thread
From: Johan Sagaert @ 2015-12-13 22:51 UTC (permalink / raw)
To: buildroot
Hi
Is there some support yet for device tree overlays ?
So far i used a modified copy of a dts file from the kernel source with
some additional items enabled,
and some other device tree nodes disabled.
As i understand using overlays would be a cleaner way to adjust the
device tree to my needs without having
to change existing dts files.
Another advantage is that the device tree overlays can be loaded from
userspace, no need to recompile and reboot
the kernel.
Best Regards , Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] support for device tree overlays ?
2015-12-13 22:51 [Buildroot] support for device tree overlays ? Johan Sagaert
@ 2015-12-14 13:20 ` Antoine Tenart
0 siblings, 0 replies; 2+ messages in thread
From: Antoine Tenart @ 2015-12-14 13:20 UTC (permalink / raw)
To: buildroot
Hello Johan,
On Sun, Dec 13, 2015 at 11:51:31PM +0100, Johan Sagaert wrote:
>
> Is there some support yet for device tree overlays ?
Not in the official Buildroot tree yet. But I made some modifications to
to generate device tree blobs with overlay support and device tree overlays
from the Buildroot build system.
You can find the three patches at:
https://github.com/NextThingCo/CHIP-buildroot.git at/2015.08/overlays
The first one adds a patched version of DTC as an host package, with
overlay support.
The second one modifies the Linux mk file to allow generating device
tree blobs with overlay support from the kernel sources.
The last an third one allows to compile external device tree overlays
blobs.
> As i understand using overlays would be a cleaner way to adjust the device
> tree to my needs without having
> to change existing dts files.
That depends. If you need to permanently disable or enable a node on a
board, do not use overlays. There are here to modify a device tree
on the fly, to enable or disable features in some board. For example
they can be used to reconfigure a board when an external cape is plugged
in.
Antoine
--
Antoine T?nart, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151214/167dc26f/attachment.asc>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-14 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-13 22:51 [Buildroot] support for device tree overlays ? Johan Sagaert
2015-12-14 13:20 ` Antoine Tenart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox