U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] arm: mediatek: add Genio 700 SPL boot support
@ 2026-07-18 16:16 Carlo Caione
  2026-07-18 16:16 ` [PATCH 1/4] arm: dts: mediatek: prepare Genio 700 devices for SPL Carlo Caione
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Carlo Caione @ 2026-07-18 16:16 UTC (permalink / raw)
  To: GSS_MTK_Uboot_upstream, u-boot
  Cc: Ryder Lee, Weijie Gao, Chunfeng Yun, Igor Belwon, David Lechner,
	Julien Stephan, Macpaul Lin, Tom Rini, Ilias Apalodimas,
	Julien Masson, Johan Jonker, Quentin Schulz, Marek Vasut,
	Vitor Sato Eschholz, Carlo Caione

The Genio 700 boot chain uses an external DDR loader to initialize DRAM
before entering U-Boot SPL. Add the 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 a binman description that generates the two images consumed by the
MediaTek flashing flow:

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

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

The DDR loader, BL31, and OP-TEE remain external build inputs. Document the
complete build and flashing procedure.

Tested on a Genio 700 EVK using a full genio-flash cycle and a cold
boot. SPL loaded the FIT from eMMC and passed OP-TEE as BL32 and U-Boot
proper as BL33 to BL31. Linux 6.6.37 reached the RITY login prompt.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
---
Carlo Caione (4):
      arm: dts: mediatek: prepare Genio 700 devices for SPL
      configs: mt8390: enable eMMC FIT boot from SPL
      arm: mediatek: mt8390: build boot images with binman
      doc: board: mediatek: document Genio 700 SPL boot

 MAINTAINERS                                   |   1 +
 arch/arm/dts/mt8188-u-boot.dtsi               |  40 ++++++
 arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi | 178 ++++++++++++++++++++++++++
 arch/arm/mach-mediatek/Kconfig                |   1 +
 board/mediatek/MAINTAINERS                    |   3 +
 configs/mt8390_genio_700_evk_defconfig        |  28 ++++
 doc/board/mediatek/index.rst                  |   1 +
 doc/board/mediatek/mt8390-genio-700-evk.rst   | 168 ++++++++++++++++++++++++
 8 files changed, 420 insertions(+)
---
base-commit: 96c308b8d2a6a1496c0a7366db9a7becf42d2454
change-id: 20260717-ccaione-upstream-mt8390-spl-7f64ca12dfbd

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


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

end of thread, other threads:[~2026-07-22 21:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18 16:16 [PATCH 0/4] arm: mediatek: add Genio 700 SPL boot support Carlo Caione
2026-07-18 16:16 ` [PATCH 1/4] arm: dts: mediatek: prepare Genio 700 devices for SPL Carlo Caione
2026-07-21  0:01   ` David Lechner via U-Boot
2026-07-21  8:35     ` Carlo Caione via U-Boot
2026-07-22 21:01   ` David Lechner via U-Boot
2026-07-18 16:16 ` [PATCH 2/4] configs: mt8390: enable eMMC FIT boot from SPL Carlo Caione
2026-07-21  0:05   ` David Lechner via U-Boot
2026-07-18 16:16 ` [PATCH 3/4] arm: mediatek: mt8390: build boot images with binman Carlo Caione
2026-07-18 16:16 ` [PATCH 4/4] doc: board: mediatek: document Genio 700 SPL boot Carlo Caione
2026-07-21  0:38   ` David Lechner via U-Boot
2026-07-21 11:22     ` Carlo Caione via U-Boot
2026-07-21 14:50       ` David Lechner via U-Boot
2026-07-21 16:00         ` Carlo Caione via U-Boot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox