From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 31 May 2023 13:47:57 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q4KJ4-004CNH-UV for lore@lore.pengutronix.de; Wed, 31 May 2023 13:47:57 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q4KJ2-0005fL-6B; Wed, 31 May 2023 13:47:56 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q4KIt-0005dD-PI for distrokit@pengutronix.de; Wed, 31 May 2023 13:47:47 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q4KIt-00463M-2s for distrokit@pengutronix.de; Wed, 31 May 2023 13:47:47 +0200 Received: from afa by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q4KIs-00Dlcs-97 for distrokit@pengutronix.de; Wed, 31 May 2023 13:47:46 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Wed, 31 May 2023 13:47:36 +0200 Message-Id: <20230531114744.3281270-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v3 0/8] v8a: barebox: update to use upstream PTXdist rule 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: , 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.ext.pengutronix.de); SAEximRunCond expanded to false We already make use of the barebox multi-image support, which prefixes the (compressed) barebox proper binary with a different prebootloader (+ device tree) each time to support multiple boards in the same build. So far, this was only possible within the same subarch, so while we had one barebox rule for all of i.MX8MM/N/Q, we needed a separate barebox rule for the Rockchip platforms. barebox v2023.04.0 adds ARM "multiarch" support, which extends multi-image support to work across subarches. This series enables it for v8a and allows us to drop our barebox-imx8m and barebox-rockchip rules in favor of the upstream PTXdist barebox rule. The same could be done for v7a in the future too, but it would fatten the bootloader images a bit more, because it would adds drivers for 6 unused platforms into each image (but not duplicate the DT). This is left as future exercise. v2 -> v3: - rebase on next - update to barebox v2023.05.0 - remove some more no longer needed left-over files v1 -> v2: - dropped v6.2->v6.3.1 kernel update in favor of upstream/next's v6.2->v6.3 update - dropped SD-Card speed quirk altogether. This has been fixed upstream and the new maximum of 50MHz works for us, even with usbsdmux in-between. Ahmad Fatoum (8): platforms: drop no longer needed blspec-rpi4 v8a: barebox: rock3a: drop no longer needed SD-Card speed quirk v8a: barebox: version bump v2023.01.0 → v2023.05.0 Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG" v8a: rockchip: use common environment v8a: barebox: configure upstream barebox rule for both imx8m and rockchip v8a: barebox: switch to upstream rule v8a: barebox: remove left-over SoC-specific rules configs/platform-v7a/platformconfig | 1 - .../barebox-common-defaultenv/init/bootsource | 10 +- .../barebox-rock3a-defaultenv/init/bootsource | 14 - .../nv/linux.bootargs.loglevel | 1 - configs/platform-v8a/barebox-rockchip.config | 932 ------------------ .../{barebox-imx8m.config => barebox.config} | 261 ++--- .../config/images/imx8mm-evk.config | 2 +- .../config/images/imx8mp-evk.config | 2 +- .../config/images/imx8mq-evk.config | 2 +- .../platform-v8a/config/images/rock3a.config | 6 +- configs/platform-v8a/platformconfig | 31 +- .../platform-v8a/platforms/barebox-imx8m.in | 10 - .../platforms/barebox-rockchip.in | 14 - .../platforms/image-imx8mm-evk.in | 2 +- .../platforms/image-imx8mp-evk.in | 2 +- .../platforms/image-imx8mq-evk.in | 2 +- .../platform-v8a/platforms/image-rock3a.in | 2 +- configs/platform-v8a/rules/barebox-imx8m.make | 125 --- .../platform-v8a/rules/barebox-rockchip.make | 163 --- configs/platform-v8a/rules/firmware-imx.in | 4 + .../platform-v8a/rules/firmware-rockchip.in | 4 + .../rules/post/barebox-fixup.make | 16 + doc/hardware_v8a_rock3a.rst | 2 +- platforms/blspec-rpi4.in | 7 - projectroot/loader/entries/rpi400.conf | 6 - projectroot/loader/entries/rpi4b.conf | 6 - rules/blspec-rpi4.make | 38 - 27 files changed, 202 insertions(+), 1463 deletions(-) delete mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource delete mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel delete mode 100644 configs/platform-v8a/barebox-rockchip.config rename configs/platform-v8a/{barebox-imx8m.config => barebox.config} (82%) delete mode 100644 configs/platform-v8a/platforms/barebox-imx8m.in delete mode 100644 configs/platform-v8a/platforms/barebox-rockchip.in delete mode 100644 configs/platform-v8a/rules/barebox-imx8m.make delete mode 100644 configs/platform-v8a/rules/barebox-rockchip.make create mode 100644 configs/platform-v8a/rules/post/barebox-fixup.make delete mode 100644 platforms/blspec-rpi4.in delete mode 100644 projectroot/loader/entries/rpi400.conf delete mode 100644 projectroot/loader/entries/rpi4b.conf delete mode 100644 rules/blspec-rpi4.make -- 2.39.2