DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: distrokit@pengutronix.de
Subject: [DistroKit] [PATCH 00/14] Mainline TF-A support and blspec-entry cleanups
Date: Fri, 10 Feb 2023 20:35:58 +0100	[thread overview]
Message-ID: <20230210193612.2143905-1-m.felsch@pengutronix.de> (raw)

Hi,

the main purpose of this patchset is to use the mainline tf-a for the
i.mx8m* platforms.

I also cleaned up the blspec entry creation for the platform-v7a/v8a.
For those platforms the entries are now created based on the devicetrees
specified within the platformconfig. We just had to add the support for
the 'linux-appendroot true' option to the blspec-entry package, this
patch has also been sent to the ptxdist-ml [1].

[1] https://lore.ptxdist.org/ptxdist/20230210192144.2133757-1-m.felsch@pengutronix.de/T/#u

Regards,
  Marco

Marco Felsch (14):
  v7a: tf-a: version bump v2.7 ->
    2.8/customers/pengutronix/distrokit/20230210-1
  v8a: tf-a: enable package
  v8a: replace imx-atf with tf-a
  v8a: firmware-imx: fix dest path
  v8a: firmware-imx: fix destition path
  v8a: barebox-imx8m: fix firmware-imx dependencies
  v8a: barebox-imx8m: make use of the INJECT_FILES mechanism
  v8a: barebox: version sync to 2023.01.0
  blspec-entry: import from upstream ptxdist-2022.12.0
  blspec-entry: add linux-appendroot support
  v8a: blspec: switch to default blspec entry
  v7a: blspec: drop incomplete Gute Fee support
  v7a: vexpress: remove console from blspec config
  v7a: blspec: convert to ptxdist default entries

 configs/platform-v7a/platformconfig           |  28 +---
 .../platforms/blspec-boneblack.in             |   5 -
 .../platforms/blspec-bonewhite.in             |   5 -
 configs/platform-v7a/platforms/blspec-gf.in   |   5 -
 .../platform-v7a/platforms/blspec-lxa-mc1.in  |   5 -
 .../platforms/blspec-nitrogen6max.in          |   5 -
 .../platforms/blspec-nitrogen6x.in            |   5 -
 .../platforms/blspec-riotboard.in             |   5 -
 configs/platform-v7a/platforms/blspec-rpi2.in |   5 -
 configs/platform-v7a/platforms/blspec-rpi3.in |   5 -
 .../platform-v7a/platforms/blspec-rpicm3.in   |   5 -
 .../platforms/blspec-sabrelite.in             |   5 -
 .../platforms/blspec-sama5d27-giantboard.in   |   5 -
 .../platforms/blspec-sama5d27-som1-ek.in      |   5 -
 .../platforms/blspec-stm32mp157c-dk2.in       |   5 -
 .../platforms/blspec-stm32mp157c-ev1.in       |   5 -
 .../platform-v7a/platforms/blspec-udoo-neo.in |   5 -
 .../platform-v7a/platforms/blspec-vexpress.in |   5 -
 .../projectroot/loader/entries/boneblack.conf |   6 -
 .../projectroot/loader/entries/bonewhite.conf |   6 -
 .../projectroot/loader/entries/gf.conf        |   6 -
 .../projectroot/loader/entries/lxa-mc1.conf   |   6 -
 .../loader/entries/nitrogen6max.conf          |   6 -
 .../loader/entries/nitrogen6x.conf            |   6 -
 .../projectroot/loader/entries/riotboard.conf |   6 -
 .../projectroot/loader/entries/rpi2.conf      |   6 -
 .../projectroot/loader/entries/rpi3.conf      |   6 -
 .../projectroot/loader/entries/rpicm3.conf    |   6 -
 .../projectroot/loader/entries/sabrelite.conf |   6 -
 .../loader/entries/sama5d27-giantboard.conf   |   6 -
 .../loader/entries/sama5d27-som1-ek.conf      |   6 -
 .../loader/entries/stm32mp157c-dk2.conf       |   6 -
 .../loader/entries/stm32mp157c-ev1.conf       |   6 -
 .../projectroot/loader/entries/udoo-neo.conf  |   6 -
 .../projectroot/loader/entries/vexpress.conf  |   6 -
 .../platform-v7a/rules/blspec-boneblack.make  |  36 -----
 .../platform-v7a/rules/blspec-bonewhite.make  |  36 -----
 .../platform-v7a/rules/blspec-lxa-mc1.make    |  36 -----
 .../rules/blspec-nitrogen6max.make            |  36 -----
 .../platform-v7a/rules/blspec-nitrogen6x.make |  36 -----
 .../platform-v7a/rules/blspec-riotboard.make  |  36 -----
 configs/platform-v7a/rules/blspec-rpi2.make   |  36 -----
 configs/platform-v7a/rules/blspec-rpi3.make   |  36 -----
 configs/platform-v7a/rules/blspec-rpicm3.make |  36 -----
 .../platform-v7a/rules/blspec-sabrelite.make  |  36 -----
 .../rules/blspec-sama5d27-giantboard.make     |  36 -----
 .../rules/blspec-sama5d27-som1-ek.make        |  36 -----
 .../rules/blspec-stm32mp157c-dk2.make         |  36 -----
 .../rules/blspec-stm32mp157c-ev1.make         |  36 -----
 .../platform-v7a/rules/blspec-udoo-neo.make   |  36 -----
 .../platform-v7a/rules/blspec-vexpress.make   |  36 -----
 configs/platform-v8a/barebox-imx8m.config     | 124 +++++++++++++++---
 configs/platform-v8a/barebox-rockchip.config  |  14 +-
 configs/platform-v8a/platformconfig           |  33 +++--
 .../platform-v8a/platforms/barebox-imx8m.in   |   3 +-
 .../platforms/blspec-imx8mm-evk.in            |   5 -
 .../platforms/blspec-imx8mp-evk.in            |   5 -
 .../platforms/blspec-imx8mq-evk.in            |   5 -
 .../platform-v8a/platforms/blspec-rock3a.in   |   5 -
 .../loader/entries/imx8mm-evk.conf            |   6 -
 .../loader/entries/imx8mp-evk.conf            |   6 -
 .../loader/entries/imx8mq-evk.conf            |   6 -
 .../projectroot/loader/entries/rock3a.conf    |   6 -
 configs/platform-v8a/rules/barebox-imx8m.make |  28 ++--
 .../platform-v8a/rules/barebox-rockchip.make  |   4 +-
 .../platform-v8a/rules/blspec-imx8mm-evk.make |  38 ------
 .../platform-v8a/rules/blspec-imx8mp-evk.make |  38 ------
 .../platform-v8a/rules/blspec-imx8mq-evk.make |  38 ------
 configs/platform-v8a/rules/blspec-rock3a.make |  38 ------
 configs/platform-v8a/rules/firmware-imx.make  |   6 +-
 configs/platform-v8a/rules/imx-atf.in         |   7 -
 configs/platform-v8a/rules/imx-atf.make       |  87 ------------
 ...-add-helper-to-detect-linker-options.patch |  38 ------
 ...void-gcc-warning-that-triggers-with-.patch |  48 -------
 ...dd-support-for-new-binutils-versions.patch |  38 ------
 ...004-makefile-link-with-z-noexecstack.patch |  38 ------
 patches/imx-atf-imx_5.4.24_2.1.0/series       |   4 -
 ...s-stm32mp1-align-DDR-regulators-with.patch | 105 ---------------
 ...dd-support-for-new-binutils-versions.patch |  38 ------
 ...004-makefile-link-with-z-noexecstack.patch |  39 ------
 patches/tf-a-v2.7/series                      |   4 -
 ...add-helper-to-detect-linker-options.patch} |   8 +-
 ...dd-support-for-new-binutils-versions.patch |  54 ++++++++
 ...-IMX_BOOT_UART_BASE-configurable-via.patch |  41 ++++++
 ...remove-empty-bl31_plat_runtime_setup.patch |  30 +++++
 ...03-feat-imx8mq-always-set-up-console.patch |  51 +++++++
 ...imx8mq-make-use-of-setup_page_tables.patch |  53 ++++++++
 ...-refactor-imx8mq-introduce-BL31_SIZE.patch |  54 ++++++++
 ...106-feat-imx8mq-add-BL31-PIE-support.patch |  55 ++++++++
 ...feat-imx8mq-add-support-for-gcc-12.x.patch |  45 +++++++
 ...omers-pengutronix-distrokit-20230210.patch |  21 +++
 patches/tf-a-v2.8/series                      |  22 ++++
 platforms/blspec-entry.in                     |  27 ++++
 projectroot/loader/entries/default.conf       |   6 +
 rules/blspec-entry.make                       |  73 +++++++++++
 95 files changed, 702 insertions(+), 1483 deletions(-)
 delete mode 100644 configs/platform-v7a/platforms/blspec-boneblack.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-bonewhite.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-gf.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-lxa-mc1.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-nitrogen6max.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-nitrogen6x.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-riotboard.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-rpi2.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-rpi3.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-rpicm3.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-sabrelite.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-sama5d27-giantboard.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-sama5d27-som1-ek.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-stm32mp157c-dk2.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-stm32mp157c-ev1.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-udoo-neo.in
 delete mode 100644 configs/platform-v7a/platforms/blspec-vexpress.in
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/boneblack.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/bonewhite.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/gf.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/lxa-mc1.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/nitrogen6max.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/nitrogen6x.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/riotboard.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/rpi2.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/rpi3.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/rpicm3.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/sabrelite.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/sama5d27-giantboard.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/sama5d27-som1-ek.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/stm32mp157c-dk2.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/stm32mp157c-ev1.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/udoo-neo.conf
 delete mode 100644 configs/platform-v7a/projectroot/loader/entries/vexpress.conf
 delete mode 100644 configs/platform-v7a/rules/blspec-boneblack.make
 delete mode 100644 configs/platform-v7a/rules/blspec-bonewhite.make
 delete mode 100644 configs/platform-v7a/rules/blspec-lxa-mc1.make
 delete mode 100644 configs/platform-v7a/rules/blspec-nitrogen6max.make
 delete mode 100644 configs/platform-v7a/rules/blspec-nitrogen6x.make
 delete mode 100644 configs/platform-v7a/rules/blspec-riotboard.make
 delete mode 100644 configs/platform-v7a/rules/blspec-rpi2.make
 delete mode 100644 configs/platform-v7a/rules/blspec-rpi3.make
 delete mode 100644 configs/platform-v7a/rules/blspec-rpicm3.make
 delete mode 100644 configs/platform-v7a/rules/blspec-sabrelite.make
 delete mode 100644 configs/platform-v7a/rules/blspec-sama5d27-giantboard.make
 delete mode 100644 configs/platform-v7a/rules/blspec-sama5d27-som1-ek.make
 delete mode 100644 configs/platform-v7a/rules/blspec-stm32mp157c-dk2.make
 delete mode 100644 configs/platform-v7a/rules/blspec-stm32mp157c-ev1.make
 delete mode 100644 configs/platform-v7a/rules/blspec-udoo-neo.make
 delete mode 100644 configs/platform-v7a/rules/blspec-vexpress.make
 delete mode 100644 configs/platform-v8a/platforms/blspec-imx8mm-evk.in
 delete mode 100644 configs/platform-v8a/platforms/blspec-imx8mp-evk.in
 delete mode 100644 configs/platform-v8a/platforms/blspec-imx8mq-evk.in
 delete mode 100644 configs/platform-v8a/platforms/blspec-rock3a.in
 delete mode 100644 configs/platform-v8a/projectroot/loader/entries/imx8mm-evk.conf
 delete mode 100644 configs/platform-v8a/projectroot/loader/entries/imx8mp-evk.conf
 delete mode 100644 configs/platform-v8a/projectroot/loader/entries/imx8mq-evk.conf
 delete mode 100644 configs/platform-v8a/projectroot/loader/entries/rock3a.conf
 delete mode 100644 configs/platform-v8a/rules/blspec-imx8mm-evk.make
 delete mode 100644 configs/platform-v8a/rules/blspec-imx8mp-evk.make
 delete mode 100644 configs/platform-v8a/rules/blspec-imx8mq-evk.make
 delete mode 100644 configs/platform-v8a/rules/blspec-rock3a.make
 delete mode 100644 configs/platform-v8a/rules/imx-atf.in
 delete mode 100644 configs/platform-v8a/rules/imx-atf.make
 delete mode 100644 patches/imx-atf-imx_5.4.24_2.1.0/0001-build-makefile-add-helper-to-detect-linker-options.patch
 delete mode 100644 patches/imx-atf-imx_5.4.24_2.1.0/0002-build-makefile-avoid-gcc-warning-that-triggers-with-.patch
 delete mode 100644 patches/imx-atf-imx_5.4.24_2.1.0/0003-feat-build-add-support-for-new-binutils-versions.patch
 delete mode 100644 patches/imx-atf-imx_5.4.24_2.1.0/0004-makefile-link-with-z-noexecstack.patch
 delete mode 100644 patches/imx-atf-imx_5.4.24_2.1.0/series
 delete mode 100644 patches/tf-a-v2.7/0001-fix-stm32mp1-fdts-stm32mp1-align-DDR-regulators-with.patch
 delete mode 100644 patches/tf-a-v2.7/0003-feat-build-add-support-for-new-binutils-versions.patch
 delete mode 100644 patches/tf-a-v2.7/0004-makefile-link-with-z-noexecstack.patch
 delete mode 100644 patches/tf-a-v2.7/series
 rename patches/{tf-a-v2.7/0002-build-makefile-add-helper-to-detect-linker-options.patch => tf-a-v2.8/0001-build-makefile-add-helper-to-detect-linker-options.patch} (85%)
 create mode 100644 patches/tf-a-v2.8/0002-feat-build-add-support-for-new-binutils-versions.patch
 create mode 100644 patches/tf-a-v2.8/0101-feat-imx8mq-make-IMX_BOOT_UART_BASE-configurable-via.patch
 create mode 100644 patches/tf-a-v2.8/0102-feat-imx8mq-remove-empty-bl31_plat_runtime_setup.patch
 create mode 100644 patches/tf-a-v2.8/0103-feat-imx8mq-always-set-up-console.patch
 create mode 100644 patches/tf-a-v2.8/0104-refactor-imx8mq-make-use-of-setup_page_tables.patch
 create mode 100644 patches/tf-a-v2.8/0105-refactor-imx8mq-introduce-BL31_SIZE.patch
 create mode 100644 patches/tf-a-v2.8/0106-feat-imx8mq-add-BL31-PIE-support.patch
 create mode 100644 patches/tf-a-v2.8/0107-feat-imx8mq-add-support-for-gcc-12.x.patch
 create mode 100644 patches/tf-a-v2.8/0201-Release-2.8-customers-pengutronix-distrokit-20230210.patch
 create mode 100644 patches/tf-a-v2.8/series
 create mode 100644 platforms/blspec-entry.in
 create mode 100644 projectroot/loader/entries/default.conf
 create mode 100644 rules/blspec-entry.make

-- 
2.30.2




             reply	other threads:[~2023-02-10 19:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-10 19:35 Marco Felsch [this message]
2023-02-10 19:35 ` [DistroKit] [PATCH 01/14] v7a: tf-a: version bump v2.7 -> 2.8/customers/pengutronix/distrokit/20230210-1 Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 02/14] v8a: tf-a: enable package Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 03/14] v8a: replace imx-atf with tf-a Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 04/14] v8a: firmware-imx: fix dest path Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 05/14] v8a: firmware-imx: fix destition path Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 06/14] v8a: barebox-imx8m: fix firmware-imx dependencies Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 07/14] v8a: barebox-imx8m: make use of the INJECT_FILES mechanism Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 08/14] v8a: barebox: version sync to 2023.01.0 Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 09/14] blspec-entry: import from upstream ptxdist-2022.12.0 Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 10/14] blspec-entry: add linux-appendroot support Marco Felsch
2023-02-13  9:00   ` Michael Olbrich
2023-02-13 10:20     ` Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 11/14] v8a: blspec: switch to default blspec entry Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 12/14] v7a: blspec: drop incomplete Gute Fee support Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 13/14] v7a: vexpress: remove console from blspec config Marco Felsch
2023-02-10 19:36 ` [DistroKit] [PATCH 14/14] v7a: blspec: convert to ptxdist default entries Marco Felsch
2023-02-11 20:59 ` [DistroKit] [PATCH 00/14] Mainline TF-A support and blspec-entry cleanups Robert Schwebel

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=20230210193612.2143905-1-m.felsch@pengutronix.de \
    --to=m.felsch@pengutronix.de \
    --cc=distrokit@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