DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: ore@pengutronix.de
Subject: [DistroKit] [PATCH 0/2] v7a: rpi: unify rpi{2, 3, cm3} into common rpi.hdimg
Date: Tue, 26 Apr 2022 10:38:19 +0200	[thread overview]
Message-ID: <20220426083821.1829442-1-a.fatoum@pengutronix.de> (raw)

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

             reply	other threads:[~2022-04-26  8:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26  8:38 Ahmad Fatoum [this message]
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

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=20220426083821.1829442-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=ore@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