From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 11 Mar 2024 13:05:50 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rjePe-0011i1-0Y for lore@lore.pengutronix.de; Mon, 11 Mar 2024 13:05:50 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rjePd-0007r3-Jm; Mon, 11 Mar 2024 13:05:49 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rjePb-0007qY-Cw; Mon, 11 Mar 2024 13:05:47 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rjePb-005hmH-0d; Mon, 11 Mar 2024 13:05:47 +0100 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rjePa-00CWpd-32; Mon, 11 Mar 2024 13:05:46 +0100 Date: Mon, 11 Mar 2024 13:05:46 +0100 From: Robert Schwebel To: Ahmad Fatoum Message-ID: References: <20240306092530.1448784-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240306092530.1448784-1-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH v2 0/3] v7a: barebox: Support FIT images X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Dahl , distrokit@pengutronix.de, Roland Hieber Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Applied to next. On Wed, Mar 06, 2024 at 10:25:27AM +0100, Ahmad Fatoum wrote: > In coordination with Alex, I am sending a v2 with a fix for the rpi > regression reported by Roland. The fix will be part of v2024.03.0, which > is not yet released. Since then, v2024.02.0 was released, but I think > we should just update to v2024.03.0, once that's released and add FIT > support on top of v2024.01.0. > > Changelog is alongside the individual patches. > > Original coverletter: > > Hei hei, > > while working on a BSP using DistroKit as a base layer I try to support > boards supported by DistroKit already plus some more boards where the > necessary things are in my upper layer. One task is to use a FIT image > for kernel and dts usable with both U-Boot and barebox. This is > possible with this series and some tweaks which hit ptxdist master > lately. > > One nasty problem is bootstate.dtsi referenced in barebox config option > CONFIG_EXTERNAL_DTS_FRAGMENTS as > '${PTXDIST_PLATFORMCONFIGDIR}/dts/bootstate.dtsi' currently. When using > DistroKit as a base layer that file can not be found. I experimented > with '$(call ptx/in-platformconfigdir, …' as adviced in docs, but that's > probably not meant for Kconfig? Build runs successfully, but no > bootstate.dtsi is included at all then, leading to barebox not booting > anything because it can not find its state. > > The only solution I could come up with is to use a symbolic link with a > relative path in the upper layer to bootstate.dtsi in the base layer, > but I don't consider that elegant. And it would have to be done in each > layer stacked on top for everyone using DistroKit as a base layer. > If anyone can propose a better solution for that, please advice! > > Otherwise I think all three patches are useful for themselves. I could > not test on other platforms however so the two patches touching barebox > might be somewhat incomplete? > > > Alexander Dahl (3): > platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 > blspec-entry: Backport fix from ptxdist master > platform: v7a: barebox: Enable FIT image support > > .../platform-v7a/barebox-am335x-mlo.config | 10 +- > configs/platform-v7a/barebox-am335x.config | 19 ++- > .../platform-v7a/barebox-am335x.config.diff | 3 +- > configs/platform-v7a/barebox-at91.config | 19 ++- > configs/platform-v7a/barebox-at91.config.diff | 3 +- > configs/platform-v7a/barebox-mx6.config | 20 ++- > configs/platform-v7a/barebox-mx6.config.diff | 4 +- > configs/platform-v7a/barebox-rpi2.config | 20 ++- > configs/platform-v7a/barebox-rpi2.config.diff | 2 +- > configs/platform-v7a/barebox-stm32mp.config | 21 ++- > .../platform-v7a/barebox-stm32mp.config.diff | 3 +- > configs/platform-v7a/barebox-vexpress.config | 19 ++- > .../platform-v7a/barebox-vexpress.config.diff | 3 +- > configs/platform-v7a/barebox.config | 20 ++- > ...ression-booting-without-VideoCore-DT.patch | 130 ++++++++++++++++++ > .../patches/barebox-2024.01.0/series | 1 + > configs/platform-v7a/platformconfig | 4 +- > rules/blspec-entry.make | 2 +- > 18 files changed, 265 insertions(+), 38 deletions(-) > create mode 100644 configs/platform-v7a/patches/barebox-2024.01.0/0001-ARM-rpi-fix-regression-booting-without-VideoCore-DT.patch > create mode 100644 configs/platform-v7a/patches/barebox-2024.01.0/series > > -- > 2.39.2 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |