Thread (1 message) 1 message, 1 author, 2015-05-07

Re: device tree compiler with overlay support?

From: Pantelis Antoniou <hidden>
Date: 2015-05-07 07:48:50

Oh, and since I forgot to include that earlier, there’s a git tree against 
mainline that I update regularly:

https://github.com/pantoniou/linux-beagle-track-mainline/tree/bbb-overlays

Regards

— Pantelis
On May 7, 2015, at 10:17 , Geert Uytterhoeven [off-list ref] wrote:

On Tue, May 5, 2015 at 6:51 PM, Michal Suchanek [off-list ref] wrote:
quoted
On 5 May 2015 at 17:18, Michal Suchanek [off-list ref] wrote:
quoted
where is a device tree compiler that can compile an overlay?

The compiler at git://git.kernel.org/pub/scm/utils/dtc/dtc.git shrieks
there is a syntax error as soon as the /plugin/ tag is present.
ok, so I found a dtc patch here https://lkml.org/lkml/2013/1/4/295

This does not apply cleanly to current DTC but the parts that fail are
due to cosmetic changes in the code so I went ahead and applied it.
Thanks for the link! That patch indeed requires some manual rework.
quoted
However, the created blob is not what the kernel can accept into
of_overlay_create so what do I do with the blob to load it?
Use "OF: DT-Overlay configfs interface" from Pantelis?

That depends on "configfs: Implement binary attributes", also from Pantelis,
which requires reverting commit 28444a2bde8d1695i ("configfs_add_file:
fold into its sole caller").

All of the above require manual fixups to apply.

Still have to try the actual loading, new to the overlay game on mainline
kernels (I did use it on boneblack with its original kernel and its overlay
manager).

Gr{oetje,eeting}s,

                       Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                               -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help