From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: Aliaksei Karpovich <akarpovich@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH] Introduce bookworm for stm32mp157d-dk1
Date: Fri, 18 Jul 2025 16:25:33 +0200 [thread overview]
Message-ID: <7c538a55-1a11-4647-bdd0-58f21b4b8fc1@siemens.com> (raw)
In-Reply-To: <20250718140750.392601-1-akarpovich@ilbers.de>
On 18.07.25 16:07, Aliaksei Karpovich wrote:
> Replace stm32mp157c-ev1 with stm32mp157d-dk1 for which
> we have the hardware.
> Mainline U-Boot doesn't support stm32mp157d-dk1 yet, so
> we use the 2022.10 u-boot version, which is used by NXP
I suppose you meant STM here :)
> for stm32mp157d-dk1 board support.
> Use mainline U-Boot with patches for easier upgrades.
> Add bookworm support.
>
> Signed-off-by: Aliaksei Karpovich <akarpovich@ilbers.de>
> ---
> kas/machine/Kconfig | 1 +
> meta-isar/conf/machine/stm32mp15x.conf | 11 +-
> meta-isar/conf/mc.conf | 1 +
> .../conf/multiconfig/stm32mp15x-bookworm.conf | 5 +
> .../optee-os/optee-os-stm32mp15x_3.21.0.inc | 7 +-
> ...dd-support-for-new-binutils-versions.patch | 65 ++
> ...2mp15-fdts-add-stm32mp157d-dk1-board.patch | 55 ++
> ...dts-fulfill-diversity-for-STM32M15x-.patch | 90 ++
> .../trusted-firmware-a-stm32mp15x_2.4.bb | 23 -
> .../trusted-firmware-a-stm32mp15x_2.8.bb | 41 +
> ...e-remove-unused-probe-local-variable.patch | 42 +
> ...s-tee-optee-discover-OP-TEE-services.patch | 307 ++++++
> ...e_rng-register-to-CONFIG_OPTEE_SERVI.patch | 69 ++
> ...-dts-stm32mp-alignment-with-v6.0-rc3.patch | 265 ++++++
> ...1-use-of-correct-compatible-string-t.patch | 39 +
> ...defines-for-BSEC_LOCK-status-in-stm3.patch | 80 ++
> ...22-ARM-dts-stm32mp15-update-DDR-node.patch | 112 +++
> ...dts-stm32-update-SCMI-dedicated-file.patch | 35 +
> ...dd-sdmmc-cd-gpios-for-STM32MP135F-DK.patch | 37 +
> ...-disabled-node-in-pmic_bind_children.patch | 41 +
> ...on-t-fail-probe-because-of-optee-rng.patch | 37 +
> ...er-services-dependent-on-tee-supplic.patch | 116 +++
> ...e-bind-the-TA-drivers-on-OP-TEE-node.patch | 68 ++
> ...5-remove-clksrc-include-in-SCMI-dtsi.patch | 50 +
> ...32-Add-timer-interrupts-on-stm32mp15.patch | 162 ++++
> ...m32mp-cosmetic-Update-of-bsec-driver.patch | 43 +
> ...mp-Add-OP-TEE-support-in-bsec-driver.patch | 383 ++++++++
> ...uid-comparisons-on-service-discovery.patch | 36 +
> ...clk-probe-the-clock-before-dump-them.patch | 80 ++
> ...x-node-name-order-and-node-name-and-.patch | 764 +++++++++++++++
> ...ordering-nodes-in-stm32mp151.dtsi-fi.patch | 120 +++
> ...10-configs-Resync-with-savedefconfig.patch | 56 ++
> ...move-stm32mp157-scmi.dtb-from-compil.patch | 126 +++
> ...clude-board-scmi.dtsi-in-each-board-.patch | 878 ++++++++++++++++++
> ...llfill-diversity-with-OPP-for-STM32M.patch | 90 ++
> ...apt-stm32mp157a-dk1-board-to-stm32-D.patch | 32 +
> ...32-add-stm32mp157d-dk1-board-support.patch | 103 ++
> .../u-boot/u-boot-stm32mp15x_2020.10.bb | 12 -
> .../u-boot/u-boot-stm32mp15x_2022.10.bb | 47 +
> ...32-add-stm32mp157d-dk1-board-support.patch | 60 ++
> .../linux/linux-mainline_6.6.11.bb | 3 +-
> .../lib/wic/canned-wks/stm32mp15x.wks.in | 12 +-
> 42 files changed, 4553 insertions(+), 51 deletions(-)
> create mode 100644 meta-isar/conf/multiconfig/stm32mp15x-bookworm.conf
> create mode 100644 meta-isar/recipes-bsp/trusted-firmware-a/files/0001-feat-build-add-support-for-new-binutils-versions.patch
> create mode 100644 meta-isar/recipes-bsp/trusted-firmware-a/files/0001-feat-stm32mp15-fdts-add-stm32mp157d-dk1-board.patch
> create mode 100644 meta-isar/recipes-bsp/trusted-firmware-a/files/0001-feat-stm32mp15-fdts-fulfill-diversity-for-STM32M15x-.patch
> delete mode 100644 meta-isar/recipes-bsp/trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.4.bb
> create mode 100644 meta-isar/recipes-bsp/trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.8.bb
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0003-drivers-tee-optee-remove-unused-probe-local-variable.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0004-drivers-tee-optee-discover-OP-TEE-services.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0005-drivers-rng-optee_rng-register-to-CONFIG_OPTEE_SERVI.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0014-ARM-dts-stm32mp-alignment-with-v6.0-rc3.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0016-board-st-stm32mp1-use-of-correct-compatible-string-t.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0017-arm-stm32mp-add-defines-for-BSEC_LOCK-status-in-stm3.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0022-ARM-dts-stm32mp15-update-DDR-node.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0042-ARM-dts-stm32-update-SCMI-dedicated-file.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0053-ARM-dts-stm32-add-sdmmc-cd-gpios-for-STM32MP135F-DK.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0063-dm-pmic-ignore-disabled-node-in-pmic_bind_children.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0069-tee-optee-don-t-fail-probe-because-of-optee-rng.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0070-tee-optee-discover-services-dependent-on-tee-supplic.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0071-optee-bind-the-TA-drivers-on-OP-TEE-node.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0081-ARM-dts-stm32mp15-remove-clksrc-include-in-SCMI-dtsi.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0083-ARM-dts-stm32-Add-timer-interrupts-on-stm32mp15.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0084-stm32mp-cosmetic-Update-of-bsec-driver.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0085-stm32mp-Add-OP-TEE-support-in-bsec-driver.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0092-tee-optee-fix-uuid-comparisons-on-service-discovery.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0095-cmd-clk-probe-the-clock-before-dump-them.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0107-ARM-dts-stm32-fix-node-name-order-and-node-name-and-.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0108-ARM-dts-stm32-reordering-nodes-in-stm32mp151.dtsi-fi.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0110-configs-Resync-with-savedefconfig.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0111-ARM-dts-stm32-remove-stm32mp157-scmi.dtb-from-compil.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0112-ARM-dts-stm32-include-board-scmi.dtsi-in-each-board-.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0113-ARM-dts-stm32-fullfill-diversity-with-OPP-for-STM32M.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0114-ARM-dts-stm32-adapt-stm32mp157a-dk1-board-to-stm32-D.patch
> create mode 100644 meta-isar/recipes-bsp/u-boot/files/stm32mp15x/0117-ARM-dts-stm32-add-stm32mp157d-dk1-board-support.patch
> delete mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb
> create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2022.10.bb
> create mode 100644 meta-isar/recipes-kernel/linux/files/0001-ARM-dts-stm32-add-stm32mp157d-dk1-board-support.patch
>
> diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig
> index 8c334a8f..d96c9f0a 100644
> --- a/kas/machine/Kconfig
> +++ b/kas/machine/Kconfig
> @@ -216,6 +216,7 @@ config MACHINE_STM32MP15X
> bool "stm32mp15x"
> select DISTRO_DEBIAN
> select CODENAME_BULLSEYE
> + select CODENAME_BOOKWORM
> select ARCH_ARMHF
>
> config MACHINE_VIRTUALBOX
> diff --git a/meta-isar/conf/machine/stm32mp15x.conf b/meta-isar/conf/machine/stm32mp15x.conf
> index b10dead3..7a79fcd7 100644
> --- a/meta-isar/conf/machine/stm32mp15x.conf
> +++ b/meta-isar/conf/machine/stm32mp15x.conf
> @@ -1,5 +1,6 @@
> #
> -# Copyright (c) Siemens AG, 2020
> +# Copyright (c) Siemens AG, 2020-2023
> +# Copyright (c) 2021-2025 ilbers GmbH
> #
> # SPDX-License-Identifier: MIT
>
> @@ -7,13 +8,13 @@ DISTRO_ARCH ?= "armhf"
>
> KERNEL_NAME ?= "mainline"
>
> -U_BOOT_CONFIG:stm32mp15x = "stm32mp15_trusted_defconfig"
> -U_BOOT_BIN:stm32mp15x = "u-boot.stm32"
> +U_BOOT_CONFIG:stm32mp15x = "stm32mp15_defconfig"
> +U_BOOT_BIN:stm32mp15x = "u-boot-nodtb.bin u-boot.dtb"
>
> IMAGE_FSTYPES ?= "wic"
> WKS_FILE ?= "stm32mp15x.wks.in"
> -IMAGER_INSTALL:wic += "trusted-firmware-a-stm32mp15x optee-os-stm32mp15x u-boot-stm32mp15x"
> -IMAGER_BUILD_DEPS += "trusted-firmware-a-stm32mp15x optee-os-stm32mp15x u-boot-stm32mp15x"
> +IMAGER_INSTALL:wic += "trusted-firmware-a-stm32mp15x"
> +IMAGER_BUILD_DEPS += "trusted-firmware-a-stm32mp15x"
>
> IMAGE_INSTALL += "u-boot-script \
> optee-examples-stm32mp15x-acipher-host \
> diff --git a/meta-isar/conf/mc.conf b/meta-isar/conf/mc.conf
> index 55969c7b..45de8557 100644
> --- a/meta-isar/conf/mc.conf
> +++ b/meta-isar/conf/mc.conf
> @@ -50,6 +50,7 @@ BBMULTICONFIG = " \
> nanopi-neo-bookworm \
> nanopi-neo-efi-bookworm \
> stm32mp15x-bullseye \
> + stm32mp15x-bookworm \
> virtualbox-bullseye \
> virtualbox-bookworm \
> x86-pc-bookworm \
> diff --git a/meta-isar/conf/multiconfig/stm32mp15x-bookworm.conf b/meta-isar/conf/multiconfig/stm32mp15x-bookworm.conf
> new file mode 100644
> index 00000000..d699d0fe
> --- /dev/null
> +++ b/meta-isar/conf/multiconfig/stm32mp15x-bookworm.conf
> @@ -0,0 +1,5 @@
> +# This software is a part of ISAR.
>
> +# Copyright (C) 2025 ilbers GmbH
>
> +
>
Something wrong with line breaks in this file.
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/7c538a55-1a11-4647-bdd0-58f21b4b8fc1%40siemens.com.
prev parent reply other threads:[~2025-07-18 14:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-18 14:07 Aliaksei Karpovich
2025-07-18 14:25 ` 'Jan Kiszka' via isar-users [this message]
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=7c538a55-1a11-4647-bdd0-58f21b4b8fc1@siemens.com \
--to=isar-users@googlegroups.com \
--cc=akarpovich@ilbers.de \
--cc=jan.kiszka@siemens.com \
/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