* Barebox device tree overlay support @ 2018-01-11 15:40 Dgien, David [US] (MS) 2018-01-12 7:42 ` Sascha Hauer 0 siblings, 1 reply; 4+ messages in thread From: Dgien, David [US] (MS) @ 2018-01-11 15:40 UTC (permalink / raw) To: 'barebox@lists.infradead.org' Hello, When going through the archives it looks like a set of patches were submitted to support device tree overlays in barebox in http://lists.infradead.org/pipermail/barebox/2015-March/022674.html. But they weren't accepted because overlays weren't fully implemented in the DTC yet. It looks like overlay support was mainlined in the kernel in 4.11. ( kernel/git/torvalds/linux.git: be5165a51d2500ae1afa1236a8b09858831fdf7e ) Would it be possible to take another look at pulling these patches into the barebox mainline? Thank you, David Dgien _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Barebox device tree overlay support 2018-01-11 15:40 Barebox device tree overlay support Dgien, David [US] (MS) @ 2018-01-12 7:42 ` Sascha Hauer 2018-01-12 10:11 ` Maxime Ripard 0 siblings, 1 reply; 4+ messages in thread From: Sascha Hauer @ 2018-01-12 7:42 UTC (permalink / raw) To: Dgien, David [US] (MS); +Cc: 'barebox@lists.infradead.org' Hi David, On Thu, Jan 11, 2018 at 03:40:49PM +0000, Dgien, David [US] (MS) wrote: > Hello, > > When going through the archives it looks like a set of patches were submitted to support device tree overlays in barebox in http://lists.infradead.org/pipermail/barebox/2015-March/022674.html. > But they weren't accepted because overlays weren't fully implemented in the DTC yet. > > It looks like overlay support was mainlined in the kernel in 4.11. ( kernel/git/torvalds/linux.git: be5165a51d2500ae1afa1236a8b09858831fdf7e ) I am still not sure which parts got merged and which are still pending. There are still overlay patches floating around. > > Would it be possible to take another look at pulling these patches into the barebox mainline? Generally yes. If you like, please rebase test and respin the patches. We gave up at that time because we didn't see any good usecase for overlay support which we can't solve with the instruments we already have. So I would be glad to hear about your motivation using overlays. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Barebox device tree overlay support 2018-01-12 7:42 ` Sascha Hauer @ 2018-01-12 10:11 ` Maxime Ripard 2018-01-12 10:14 ` Sascha Hauer 0 siblings, 1 reply; 4+ messages in thread From: Maxime Ripard @ 2018-01-12 10:11 UTC (permalink / raw) To: Sascha Hauer Cc: 'barebox@lists.infradead.org', Dgien, David [US] (MS) [-- Attachment #1.1: Type: text/plain, Size: 1434 bytes --] Hi, On Fri, Jan 12, 2018 at 08:42:26AM +0100, Sascha Hauer wrote: > On Thu, Jan 11, 2018 at 03:40:49PM +0000, Dgien, David [US] (MS) wrote: > > Hello, > > > > When going through the archives it looks like a set of patches > > were submitted to support device tree overlays in barebox in > > http://lists.infradead.org/pipermail/barebox/2015-March/022674.html. > > But they weren't accepted because overlays weren't fully > > implemented in the DTC yet. > > > > It looks like overlay support was mainlined in the kernel in > > 4.11. ( kernel/git/torvalds/linux.git: > > be5165a51d2500ae1afa1236a8b09858831fdf7e ) > > I am still not sure which parts got merged and which are still pending. > There are still overlay patches floating around. The only thing that's missing in the kernel at the moment is a user-space interface to load overlays, but the rest has been there for quite some time. > > Would it be possible to take another look at pulling these patches > > into the barebox mainline? > > Generally yes. If you like, please rebase test and respin the patches. The libfdt gained support to apply overlays quite some time ago already, so this should be as easy as updating it to a recent enough version, and creating a wrapper around fdt_apply. This is what U-Boot is doing. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] [-- Attachment #2: Type: text/plain, Size: 149 bytes --] _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Barebox device tree overlay support 2018-01-12 10:11 ` Maxime Ripard @ 2018-01-12 10:14 ` Sascha Hauer 0 siblings, 0 replies; 4+ messages in thread From: Sascha Hauer @ 2018-01-12 10:14 UTC (permalink / raw) To: Maxime Ripard Cc: 'barebox@lists.infradead.org', Dgien, David [US] (MS) On Fri, Jan 12, 2018 at 11:11:32AM +0100, Maxime Ripard wrote: > Hi, > > On Fri, Jan 12, 2018 at 08:42:26AM +0100, Sascha Hauer wrote: > > On Thu, Jan 11, 2018 at 03:40:49PM +0000, Dgien, David [US] (MS) wrote: > > > Hello, > > > > > > When going through the archives it looks like a set of patches > > > were submitted to support device tree overlays in barebox in > > > http://lists.infradead.org/pipermail/barebox/2015-March/022674.html. > > > But they weren't accepted because overlays weren't fully > > > implemented in the DTC yet. > > > > > > It looks like overlay support was mainlined in the kernel in > > > 4.11. ( kernel/git/torvalds/linux.git: > > > be5165a51d2500ae1afa1236a8b09858831fdf7e ) > > > > I am still not sure which parts got merged and which are still pending. > > There are still overlay patches floating around. > > The only thing that's missing in the kernel at the moment is a > user-space interface to load overlays, but the rest has been there for > quite some time. > > > > Would it be possible to take another look at pulling these patches > > > into the barebox mainline? > > > > Generally yes. If you like, please rebase test and respin the patches. > > The libfdt gained support to apply overlays quite some time ago > already, so this should be as easy as updating it to a recent enough > version, and creating a wrapper around fdt_apply. This is what U-Boot > is doing. barebox does not use libfdt. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-12 10:15 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-01-11 15:40 Barebox device tree overlay support Dgien, David [US] (MS) 2018-01-12 7:42 ` Sascha Hauer 2018-01-12 10:11 ` Maxime Ripard 2018-01-12 10:14 ` Sascha Hauer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox