From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZwMa-0007kd-Uv for barebox@lists.infradead.org; Fri, 12 Jan 2018 10:15:07 +0000 Date: Fri, 12 Jan 2018 11:14:51 +0100 From: Sascha Hauer Message-ID: <20180112101451.h3yk5iqhnh2lcwac@pengutronix.de> References: <54fc425c0bfd47078982f16247bd164b@XCGVAG27.northgrum.com> <20180112074226.s7dyuvovw3t6y3t7@pengutronix.de> <20180112101132.ebgz3aqj5scahe5a@flea.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180112101132.ebgz3aqj5scahe5a@flea.lan> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Barebox device tree overlay support 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