Skip to content

Guide to build reduced SpacemiT K3 vendor BSP

E Shattow u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7reduced SpacemiT K3 vendor BSP: use MKIMAGE build envboard/spacemit/k3/config.mk+3 -90 replies
2/7reduced SpacemiT K3 vendor BSP: add guards around config optioned k3.c codeboard/spacemit/k3/k3.c+28 -00 replies
3/7reduced SpacemiT K3 vendor BSP: add fallback fastboot buf addr and size definclude/configs/k3.h+8 -00 replies
4/7reduced SpacemiT K3 vendor BSP: force UART boot when YMODEM_SUPPORT enabledboard/spacemit/k3/spl.c+8 -00 replies
5/7reduced SpacemiT K3 vendor BSP: add UART SPI defconfigconfigs/spacemit_k3_uart_spi_defconfig+61 -00 replies
6/7reduced SpacemiT K3 vendor BSP: add UART (no SPI) defconfigconfigs/spacemit_k3_uart_nospi_defconfig+44 -00 replies
7/7reduced SpacemiT K3 vendor BSP: set uart compatible for mainline OpenSBIarch/riscv/dts/k3.dtsi+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [DNM v1 0/7] Guide to build reduced SpacemiT K3 vendor BSP

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

Signature · 1 line
2.53.0