Do Not Merge
Informational purpose only, to aid mainline development of SpacemiT K3
support.
As of 2026 October there is initial SpacemiT K3 mainline U-Boot
support merged for U-Boot main app in the v2027.01 development cycle;
the vendor Board Support Package is used as an SPL to read DDR model
from EEPROM and then configure DDR before loading U-Boot main app.
Patches in reply to this cover letter are in support of the vendored
fork of U-Boot 2022.10 that we currently rely on for building the SPL.
Guidance how to build this to be continued in reply to this message...
E Shattow (7):
reduced SpacemiT K3 vendor BSP: use MKIMAGE build env
reduced SpacemiT K3 vendor BSP: add guards around config optioned k3.c
code
reduced SpacemiT K3 vendor BSP: add fallback fastboot buf addr and
size def
reduced SpacemiT K3 vendor BSP: force UART boot when YMODEM_SUPPORT
enabled
reduced SpacemiT K3 vendor BSP: add UART SPI defconfig
reduced SpacemiT K3 vendor BSP: add UART (no SPI) defconfig
reduced SpacemiT K3 vendor BSP: set uart compatible for mainline
OpenSBI
arch/riscv/dts/k3.dtsi | 2 +-
board/spacemit/k3/config.mk | 12 ++---
board/spacemit/k3/k3.c | 28 +++++++++++
board/spacemit/k3/spl.c | 8 ++++
configs/spacemit_k3_uart_nospi_defconfig | 44 +++++++++++++++++
configs/spacemit_k3_uart_spi_defconfig | 61 ++++++++++++++++++++++++
include/configs/k3.h | 8 ++++
7 files changed, 153 insertions(+), 10 deletions(-)
create mode 100644 configs/spacemit_k3_uart_nospi_defconfig
create mode 100644 configs/spacemit_k3_uart_spi_defconfig
base-commit: 289dc2b7bd25bf9d88ce9e7e263e95234868ca14
--
2.53.0