All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/6] Add support for the STM32MP257F-EV1 board
@ 2026-10-22 15:13 Dario Binacchi
  2026-10-22 15:13 ` [Buildroot] [PATCH 1/6] package/uboot-tools: add host mkfwumdata support Dario Binacchi
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Dario Binacchi @ 2026-10-22 15:13 UTC (permalink / raw)
  To: buildroot
  Cc: Dario Binacchi, Dick Olsson, Sergey Matyukevich, Thomas Petazzoni,
	linux-amarula

This series adds a defconfig for the STMicroelectronics STM32MP257F
Evaluation board (EV1), built from upstream TF-A, U-Boot and Linux, with
TF-A configured for the FWU (Firmware Update) multi bank support, as in
the official STMicroelectronics Yocto layers.

Unfortunately, it was not possible to use upstream OP-TEE OS as well,
because it does not support yet, on STM32MP25, the STPMIC2 PMIC and the
SCMI voltage domains, which the mainline Linux device tree requires for
the microSD card supplies [1]. Until this is resolved, the
STMicroelectronics downstream version has to be used.

Patches 1-5 add what the defconfig needs:

- the mkfwumdata host tool, to generate the FWU metadata, and the
  fwumdata target tool, to inspect and modify it from Linux (1-2);
- the STM32MP2 DDR PHY firmware, required by upstream TF-A, and a fix
  for the TF-A build of host tools (3-5).

[1] https://github.com/OP-TEE/optee_os/issues/8027

Dario Binacchi (6):
  package/uboot-tools: add host mkfwumdata support
  package/uboot-tools: add fwumdata target tool
  boot/arm-trusted-firmware: pass HOSTLD
  boot/stm32-ddr-phy-binary: new package
  boot/arm-trusted-firmware: add stm32-ddr-phy-binary support
  configs/stm32mp257f_ev1_defconfig: new defconfig

 DEVELOPERS                                    |  3 +
 .../stm32mp257f-ev1/genimage.cfg              | 52 ++++++++++++++
 .../overlay/boot/extlinux/extlinux.conf       |  4 ++
 .../overlay/etc/fwumdata.config               |  4 ++
 .../arm-trusted-firmware.hash                 |  2 +
 ...-arm-smc-id-of-the-SMC-watchdog-on-s.patch | 53 ++++++++++++++
 .../stm32mp257f-ev1/patches/linux/linux.hash  |  2 +
 ...2mp25-rename-the-PCIe-bus-SCMI-clock.patch | 44 ++++++++++++
 .../patches/optee-os/optee-os.hash            |  2 +
 .../stm32mp257f-ev1/patches/uboot/uboot.hash  |  2 +
 .../stm32mp257f-ev1/post-image.sh             | 18 +++++
 .../stm32mp257f-ev1/readme.txt                | 72 +++++++++++++++++++
 boot/Config.in                                |  1 +
 .../arm-trusted-firmware.mk                   |  8 ++-
 boot/stm32-ddr-phy-binary/Config.in           |  9 +++
 .../stm32-ddr-phy-binary.hash                 |  3 +
 .../stm32-ddr-phy-binary.mk                   | 13 ++++
 configs/stm32mp257f_ev1_defconfig             | 66 +++++++++++++++++
 package/uboot-tools/Config.in                 | 14 ++++
 package/uboot-tools/Config.in.host            | 10 +++
 package/uboot-tools/uboot-tools.mk            | 20 ++++++
 21 files changed, 401 insertions(+), 1 deletion(-)
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/genimage.cfg
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/overlay/boot/extlinux/extlinux.conf
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/overlay/etc/fwumdata.config
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/arm-trusted-firmware/arm-trusted-firmware.hash
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/linux/0001-arm64-dts-st-fix-arm-smc-id-of-the-SMC-watchdog-on-s.patch
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/linux/linux.hash
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/optee-os/0001-dts-stm32mp25-rename-the-PCIe-bus-SCMI-clock.patch
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/optee-os/optee-os.hash
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/patches/uboot/uboot.hash
 create mode 100755 board/stmicroelectronics/stm32mp257f-ev1/post-image.sh
 create mode 100644 board/stmicroelectronics/stm32mp257f-ev1/readme.txt
 create mode 100644 boot/stm32-ddr-phy-binary/Config.in
 create mode 100644 boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash
 create mode 100644 boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk
 create mode 100644 configs/stm32mp257f_ev1_defconfig

-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-10-23 14:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-22 15:13 [Buildroot] [PATCH 0/6] Add support for the STM32MP257F-EV1 board Dario Binacchi
2026-10-22 15:13 ` [Buildroot] [PATCH 1/6] package/uboot-tools: add host mkfwumdata support Dario Binacchi
2026-10-23  9:18   ` Kory Maincent via buildroot
2026-10-22 15:13 ` [Buildroot] [PATCH 2/6] package/uboot-tools: add fwumdata target tool Dario Binacchi
2026-10-23  9:18   ` Kory Maincent via buildroot
2026-10-22 15:13 ` [Buildroot] [PATCH 3/6] boot/arm-trusted-firmware: pass HOSTLD Dario Binacchi
2026-10-23  9:20   ` Kory Maincent via buildroot
2026-10-22 15:13 ` [Buildroot] [PATCH 4/6] boot/stm32-ddr-phy-binary: new package Dario Binacchi
2026-10-23  9:35   ` Kory Maincent via buildroot
2026-10-22 15:13 ` [Buildroot] [PATCH 5/6] boot/arm-trusted-firmware: add stm32-ddr-phy-binary support Dario Binacchi
2026-10-23  9:35   ` Kory Maincent via buildroot
2026-10-22 15:13 ` [Buildroot] [PATCH 6/6] configs/stm32mp257f_ev1_defconfig: new defconfig Dario Binacchi
2026-10-23  9:46   ` Kory Maincent via buildroot
2026-10-23 14:20     ` Dario Binacchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.