DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 0/2] v7a: rpi: unify rpi{2, 3, cm3} into common rpi.hdimg
@ 2022-04-26  8:38 Ahmad Fatoum
  2022-04-26  8:38 ` [DistroKit] [PATCH 1/2] v7a: barebox: update v2022.01.0 → v2022.04.0 Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2022-04-26  8:38 UTC (permalink / raw)
  To: distrokit; +Cc: ore

barebox has had the ability to generate an extra image that's bootable
like a kernel for a while now. With small adjustment, we can let the
videocore use this image and pass it the appropriate device tree
depending on the board used. Moving this decision into the VideoCore
allows us to use the same DistroKit hdimg for all of the Raspberry Pi 2,
Rasperry Pi 3 and Raspberry Pi CM3.

The patches added in this series are all already part of the barebox
next branch and will thus expectedly go away with v2022.06.0.

Series tested on Raspberry Pi 3b and Raspberry Pi 2.

Ahmad Fatoum (1):
  v7a: barebox: update v2022.01.0 → v2022.04.0

Oleksij Rempel (1):
  v7a: rpi: unify rpi{2,3,cm3}.hdimg into common rpi.hdimg

 .../platform-v7a/barebox-am335x-mlo.config    |  13 +-
 configs/platform-v7a/barebox-am335x.config    |  22 +-
 .../platform-v7a/barebox-am335x.config.diff   |   5 +-
 configs/platform-v7a/barebox-at91.config      |  20 +-
 configs/platform-v7a/barebox-at91.config.diff |   3 +-
 configs/platform-v7a/barebox-mx6.config       |  29 +-
 configs/platform-v7a/barebox-mx6.config.diff  |  11 +-
 configs/platform-v7a/barebox-rpi2.config      |  20 +-
 configs/platform-v7a/barebox-rpi2.config.diff |   3 +-
 configs/platform-v7a/barebox-stm32mp.config   |  27 +-
 .../platform-v7a/barebox-stm32mp.config.diff  |   6 +-
 configs/platform-v7a/barebox-vexpress.config  |  20 +-
 .../platform-v7a/barebox-vexpress.config.diff |   3 +-
 configs/platform-v7a/barebox.config           |  21 +-
 .../platform-v7a/config/images/rpi2.config    |   7 +-
 .../platform-v7a/config/images/rpi3.config    |  28 -
 .../platform-v7a/config/images/rpicm3.config  |  28 -
 ...ompilation-of-32-bit-ENTRY_FUNCTION_.patch |  57 ++
 ...35-auxiliary-peripheral-clock-driver.patch | 119 +++++
 ...gn-non-zero-priorities-to-all-clocks.patch | 492 ++++++++++++++++++
 ...rd-dt-2nd-call-arm_cpu_lowlevel_init.patch |  40 ++
 ...n-t-warn-about-lack-of-videocore-fdt.patch |  37 ++
 .../patches/barebox-2022.04.0/series          |   5 +
 configs/platform-v7a/platformconfig           |   6 +-
 .../platform-v7a/platforms/barebox-rpi2.in    |   4 +-
 configs/platform-v7a/platforms/image-rpi2.in  |   4 +-
 configs/platform-v7a/platforms/image-rpi3.in  |  12 -
 .../platform-v7a/platforms/image-rpicm3.in    |  12 -
 configs/platform-v7a/rpi-firmware/config.txt  |   2 +
 configs/platform-v7a/rules/barebox-rpi2.make  |  14 +-
 configs/platform-v7a/rules/image-rpi2.make    |   2 +-
 configs/platform-v7a/rules/image-rpi3.make    |  46 --
 configs/platform-v7a/rules/image-rpicm3.make  |  46 --
 doc/hardware_v7a_raspi2.rst                   |  15 -
 ...7a_raspi3.rst => hardware_v7a_raspi23.rst} |  19 +-
 35 files changed, 959 insertions(+), 239 deletions(-)
 delete mode 100644 configs/platform-v7a/config/images/rpi3.config
 delete mode 100644 configs/platform-v7a/config/images/rpicm3.config
 create mode 100644 configs/platform-v7a/patches/barebox-2022.04.0/0001-ARM-asm-fix-miscompilation-of-32-bit-ENTRY_FUNCTION_.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.04.0/0002-clk-add-BCM2835-auxiliary-peripheral-clock-driver.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.04.0/0003-clocksource-assign-non-zero-priorities-to-all-clocks.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.04.0/0004-ARM-cpu-board-dt-2nd-call-arm_cpu_lowlevel_init.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.04.0/0005-ARM-rpi-don-t-warn-about-lack-of-videocore-fdt.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.04.0/series
 delete mode 100644 configs/platform-v7a/platforms/image-rpi3.in
 delete mode 100644 configs/platform-v7a/platforms/image-rpicm3.in
 delete mode 100644 configs/platform-v7a/rules/image-rpi3.make
 delete mode 100644 configs/platform-v7a/rules/image-rpicm3.make
 delete mode 100644 doc/hardware_v7a_raspi2.rst
 rename doc/{hardware_v7a_raspi3.rst => hardware_v7a_raspi23.rst} (65%)

-- 
2.30.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-16 12:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26  8:38 [DistroKit] [PATCH 0/2] v7a: rpi: unify rpi{2, 3, cm3} into common rpi.hdimg Ahmad Fatoum
2022-04-26  8:38 ` [DistroKit] [PATCH 1/2] v7a: barebox: update v2022.01.0 → v2022.04.0 Ahmad Fatoum
2022-04-26  8:38 ` [DistroKit] [PATCH 2/2] v7a: rpi: unify rpi{2, 3, cm3}.hdimg into common rpi.hdimg Ahmad Fatoum
2022-04-26  8:47   ` Ahmad Fatoum
2022-04-26 13:24 ` [DistroKit] [PATCH 0/2] v7a: rpi: unify rpi{2, 3, cm3} " Robert Schwebel
2022-05-03 11:34 ` Roland Hieber
2022-05-16 12:02   ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox