From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: mkl@pengutronix.de
Subject: [DistroKit] [PATCH 00/10] v8a: barebox: update to use upstream PTXdist rule
Date: Wed, 3 May 2023 15:53:17 +0200 [thread overview]
Message-ID: <20230503135327.4137066-1-a.fatoum@pengutronix.de> (raw)
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.
Ahmad Fatoum (10):
v7a: barebox: version bump v2023.02.1 → v2023.04.0
v8a: kernel: version bump v6.2 → v6.3.1
v8a: barebox: version bump v2023.01.0 → v2023.04.0
Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG"
platforms: drop no longer needed blspec-rpi4
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
v8a: barebox: enable fastboot over UDP
.../platform-v7a/barebox-am335x-mlo.config | 29 +-
configs/platform-v7a/barebox-am335x.config | 31 +-
.../platform-v7a/barebox-am335x.config.diff | 106 +-
configs/platform-v7a/barebox-at91.config | 29 +-
configs/platform-v7a/barebox-at91.config.diff | 106 +-
configs/platform-v7a/barebox-mx6.config | 155 +--
configs/platform-v7a/barebox-mx6.config.diff | 122 ++-
configs/platform-v7a/barebox-rpi2.config | 32 +-
configs/platform-v7a/barebox-rpi2.config.diff | 95 +-
configs/platform-v7a/barebox-stm32mp.config | 32 +-
.../platform-v7a/barebox-stm32mp.config.diff | 100 +-
configs/platform-v7a/barebox-vexpress.config | 32 +-
.../platform-v7a/barebox-vexpress.config.diff | 106 +-
configs/platform-v7a/barebox.config | 150 +--
configs/platform-v7a/platformconfig | 5 +-
.../barebox-common-defaultenv/init/bootsource | 12 +-
.../barebox-rock3a-defaultenv/init/bootsource | 14 -
.../nv/linux.bootargs.loglevel | 1 -
configs/platform-v8a/barebox-rockchip.config | 931 ------------------
.../{barebox-imx8m.config => barebox.config} | 253 ++---
.../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/kernelconfig | 89 +-
configs/platform-v8a/platformconfig | 33 +-
.../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 -
rules/blspec-rpi4.make | 38 -
40 files changed, 921 insertions(+), 1945 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} (84%)
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 rules/blspec-rpi4.make
--
2.39.2
next reply other threads:[~2023-05-03 13:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 13:53 Ahmad Fatoum [this message]
2023-05-03 13:53 ` [DistroKit] [PATCH 01/10] v7a: barebox: version bump v2023.02.1 → v2023.04.0 Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 02/10] v8a: kernel: version bump v6.2 → v6.3.1 Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 03/10] v8a: barebox: version bump v2023.01.0 → v2023.04.0 Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 04/10] Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG" Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 05/10] platforms: drop no longer needed blspec-rpi4 Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 06/10] v8a: rockchip: use common environment Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 07/10] v8a: barebox: configure upstream barebox rule for both imx8m and rockchip Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 08/10] v8a: barebox: switch to upstream rule Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 09/10] v8a: barebox: remove left-over SoC-specific rules Ahmad Fatoum
2023-05-03 13:53 ` [DistroKit] [PATCH 10/10] v8a: barebox: enable fastboot over UDP Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230503135327.4137066-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=distrokit@pengutronix.de \
--cc=mkl@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox