All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Add Genio 510 and Genio 700 SPL boot support
@ 2026-07-30 14:18 Carlo Caione
  2026-07-30 14:18 ` [PATCH v3 1/6] arm: dts: mediatek: prepare Genio 510 and 700 devices for SPL Carlo Caione
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Carlo Caione @ 2026-07-30 14:18 UTC (permalink / raw)
  To: GSS_MTK_Uboot_upstream, u-boot
  Cc: Julien Masson, Quentin Schulz, Marek Vasut, Ryder Lee, Weijie Gao,
	Chunfeng Yun, Igor Belwon, David Lechner, Julien Stephan,
	Macpaul Lin, Tom Rini, Ilias Apalodimas, Carlo Caione,
	Vitor Sato Eschholz, Johan Jonker, Bastien Curutchet,
	Neil Armstrong, Alexey Charkov, Julien Masson, Suhrid Subramaniam,
	Arnaud Ferraris, Pablo Sun (孫毓翔)

The Genio 510 and Genio 700 boot chains use a platform DDR loader built
separately from U-Boot to initialize DRAM before entering U-Boot SPL. Add
the shared SPL devicetree and configuration needed to initialize the debug
UART, watchdog, pinctrl and eMMC, then load a conventional FIT from the
bootloaders GPT partition.

Add an opt-in binman description that generates the images consumed by
the MediaTek flashing flow:

  mtk-boot.bin
    MediaTek BootROM wrapper containing the platform DDR loader and SPL

  mtk-boot-payload.bin
    Raw DDR-loader and SPL payload for external MediaTek signing tools

  bootloaders.img
    FIT containing BL31, OP-TEE, U-Boot proper, and its control DT

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
---
Changes in v3:
- Add Genio 510 support using the shared MT8188-family SPL configuration,
  pre-RAM devicetree annotations and binman layout.
- Make complete image packaging opt-in through CONFIG_MTK_BOOT_IMAGES.
- Keep the binman image description in a separate optional include.
- Leave SPL binman symbols disabled by default on MT8188.
- Add optional RSA-3072 signing for the bootloader FIT.
- Emit the raw BootROM payload required by external MediaTek signing tools.
- Document component-only, unsigned, and signed build procedures.
- Link to v2: https://patch.msgid.link/20260722-ccaione-upstream-mt8390-spl-v2-0-7aa005345711@baylibre.com

Changes in v2:
- Clarify that the platform DDR loader is built separately from U-Boot.
- Fix the SPL copy-window wording in patch 2.
- Keep the SPL annotations board-scoped and drop the unused pericfg_ao tag.
- Normalize the firmware-stage names in the board documentation.
- Simplify the documented build commands.
- Remove the redundant MediaTek documentation maintainer pattern.
- Add links to Genio Tools and prebuilt images.
- Link to v1: https://patch.msgid.link/20260718-ccaione-upstream-mt8390-spl-v1-0-1256b6dfda3f@baylibre.com

---
Carlo Caione (6):
      arm: dts: mediatek: prepare Genio 510 and 700 devices for SPL
      configs: mt8188: enable eMMC FIT boot from SPL
      arm: mediatek: build Genio 510 and 700 boot images with binman
      arm: dts: mediatek: support signed Genio 510 and 700 bootloader FIT
      arm: dts: mediatek: emit the Genio 510 and 700 BootROM payload
      doc: board: mediatek: document Genio 510 and 700 SPL boot

 arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi |   9 +-
 arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi |   9 +-
 arch/arm/dts/mt8390-genio-common-binman.dtsi  | 155 +++++++++++++++
 arch/arm/dts/mt8390-genio-common-u-boot.dtsi  |  94 ++++++++++
 arch/arm/mach-mediatek/Kconfig                |   8 +
 board/mediatek/MAINTAINERS                    |   3 +
 common/spl/Kconfig                            |   1 +
 configs/mt8188.config                         |  27 +++
 doc/board/mediatek/index.rst                  |   1 +
 doc/board/mediatek/mt8188-genio-evk.rst       | 260 ++++++++++++++++++++++++++
 10 files changed, 565 insertions(+), 2 deletions(-)
---
base-commit: bf75f80082a194a95eb2aef039a746c5765ba8d1
change-id: 20260717-ccaione-upstream-mt8390-spl-7f64ca12dfbd

Best regards,
--  
Carlo Caione <ccaione@baylibre.com>


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

end of thread, other threads:[~2026-08-13  8:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30 14:18 [PATCH v3 0/6] Add Genio 510 and Genio 700 SPL boot support Carlo Caione
2026-07-30 14:18 ` [PATCH v3 1/6] arm: dts: mediatek: prepare Genio 510 and 700 devices for SPL Carlo Caione
2026-07-30 14:18 ` [PATCH v3 2/6] configs: mt8188: enable eMMC FIT boot from SPL Carlo Caione
2026-07-30 14:18 ` [PATCH v3 3/6] arm: mediatek: build Genio 510 and 700 boot images with binman Carlo Caione
2026-07-30 14:18 ` [PATCH v3 4/6] arm: dts: mediatek: support signed Genio 510 and 700 bootloader FIT Carlo Caione
2026-07-30 14:18 ` [PATCH v3 5/6] arm: dts: mediatek: emit the Genio 510 and 700 BootROM payload Carlo Caione
2026-07-30 14:18 ` [PATCH v3 6/6] doc: board: mediatek: document Genio 510 and 700 SPL boot Carlo Caione
2026-08-13  8:03 ` [PATCH v3 0/6] Add Genio 510 and Genio 700 SPL boot support Carlo Caione

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.