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 <[email protected]>
---
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-1256b6dfd...@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 <[email protected]>