From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Feb 2023 20:36:22 +0100 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 1pQZC3-003QLJ-Tq for lore@lore.pengutronix.de; Fri, 10 Feb 2023 20:36:22 +0100 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 1pQZC1-000658-6O; Fri, 10 Feb 2023 20:36:21 +0100 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 1pQZBw-00062J-AR for distrokit@pengutronix.de; Fri, 10 Feb 2023 20:36:16 +0100 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pQZBu-0043eg-DR for distrokit@pengutronix.de; Fri, 10 Feb 2023 20:36:15 +0100 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pQZBu-008zkN-Bd for distrokit@pengutronix.de; Fri, 10 Feb 2023 20:36:14 +0100 From: Marco Felsch To: distrokit@pengutronix.de Date: Fri, 10 Feb 2023 20:35:58 +0100 Message-Id: <20230210193612.2143905-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 00/14] Mainline TF-A support and blspec-entry cleanups 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 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