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

The Genio 700 boot chain uses a platform DDR loader built separately
from U-Boot 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 platform 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>
---
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 (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

 arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi | 206 ++++++++++++++++++++++++++
 arch/arm/mach-mediatek/Kconfig                |   1 +
 board/mediatek/MAINTAINERS                    |   1 +
 configs/mt8390_genio_700_evk_defconfig        |  28 ++++
 doc/board/mediatek/index.rst                  |   1 +
 doc/board/mediatek/mt8390-genio-700-evk.rst   | 164 ++++++++++++++++++++
 6 files changed, 401 insertions(+)
---
base-commit: d0c49353a648e135f269a2953dc9326505ba87de
change-id: 20260717-ccaione-upstream-mt8390-spl-7f64ca12dfbd

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


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

end of thread, other threads:[~2026-07-30 11:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 21:35 [PATCH v2 0/4] Add Genio 700 SPL boot support Carlo Caione via U-Boot
2026-07-22 21:35 ` [PATCH v2 1/4] arm: dts: mediatek: prepare Genio 700 devices for SPL Carlo Caione via U-Boot
2026-07-22 21:35 ` [PATCH v2 2/4] configs: mt8390: enable eMMC FIT boot from SPL Carlo Caione via U-Boot
2026-07-28 16:00   ` Julien Stephan
2026-07-30  6:43     ` Carlo Caione
2026-07-22 21:35 ` [PATCH v2 3/4] arm: mediatek: mt8390: build boot images with binman Carlo Caione via U-Boot
2026-07-29 19:35   ` David Lechner
2026-07-22 21:35 ` [PATCH v2 4/4] doc: board: mediatek: document Genio 700 SPL boot Carlo Caione via U-Boot
2026-07-28 16:13   ` Julien Stephan
2026-07-30 11:32     ` 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.