From: E Shattow <e@freeshell.de>
To: u-boot@lists.u-boot-project.org
Cc: E Shattow <e@freeshell.de>
Subject: [DNM PATCH v1 5/7] reduced SpacemiT K3 vendor BSP: add UART SPI defconfig
Date: Wed, 28 Oct 2026 17:15:53 -0700 [thread overview]
Message-ID: <20261029001555.1890775-6-e@freeshell.de> (raw)
In-Reply-To: <20261029001555.1890775-1-e@freeshell.de>
Do Not Merge
Informational purpose only, to aid mainline development of SpacemiT K3
support.
Minimize config to only YMODEM load and SPI as new defconfig
---
configs/spacemit_k3_uart_spi_defconfig | 61 ++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 configs/spacemit_k3_uart_spi_defconfig
diff --git a/configs/spacemit_k3_uart_spi_defconfig b/configs/spacemit_k3_uart_spi_defconfig
new file mode 100644
index 000000000000..734df7eba4ca
--- /dev/null
+++ b/configs/spacemit_k3_uart_spi_defconfig
@@ -0,0 +1,61 @@
+CONFIG_RISCV=y
+CONFIG_SYS_TEXT_BASE=0x102000000
+CONFIG_SYS_MALLOC_LEN=0x1000000
+CONFIG_SYS_MALLOC_F_LEN=0x80000
+CONFIG_NR_DRAM_BANKS=2
+CONFIG_ENV_SIZE=0x4000
+CONFIG_ENV_OFFSET=0xA0000
+CONFIG_SPL_DM_SPI=y
+CONFIG_DEFAULT_DEVICE_TREE="k3_spl"
+CONFIG_SPL_TEXT_BASE=0xc0801000
+CONFIG_SPL_DRIVERS_MISC=y
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x8000
+CONFIG_SPL_SIZE_LIMIT=0x72F00
+CONFIG_SPL=y
+CONFIG_SPL_SPI_FLASH_SUPPORT=y
+CONFIG_SPL_SPI=y
+CONFIG_SYS_LOAD_ADDR=0x102000000
+CONFIG_TARGET_SPACEMIT_K3=y
+CONFIG_SPL_OPENSBI_LOAD_ADDR=0x100000000
+CONFIG_K3_BOARD_ASIC=y
+CONFIG_ARCH_RV64I=y
+CONFIG_RISCV_SMODE=y
+CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
+CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x102300000
+CONFIG_STACK_SIZE=0x100000
+CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x140000000
+CONFIG_LOGLEVEL=6
+CONFIG_SPL_MAX_SIZE=0x70F00
+CONFIG_SPL_PAD_TO=0x0
+CONFIG_SPL_BSS_START_ADDR=0xc0874000
+CONFIG_SPL_BSS_MAX_SIZE=0x3000
+# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+CONFIG_SPL_STACK=0xc0880000
+CONFIG_SPL_ENV_SUPPORT=y
+CONFIG_SPL_I2C=y
+CONFIG_SPL_MTD_SUPPORT=y
+CONFIG_SPL_DM_SPI_FLASH=y
+CONFIG_SPL_DM_RESET=y
+CONFIG_SPL_SPI_FLASH_MTD=y
+CONFIG_SPL_YMODEM_SUPPORT=y
+CONFIG_CMD_TLV_EEPROM=y
+CONFIG_ENV_IS_IN_MTD=y
+# CONFIG_SPL_ENV_IS_NOWHERE is not set
+CONFIG_SPL_CLK=y
+CONFIG_SPL_CLK_CCF=y
+CONFIG_SPACEMIT_K3_CCU=y
+CONFIG_DM_I2C=y
+# CONFIG_SPL_DM_I2C is not set
+CONFIG_SPL_SYS_I2C_LEGACY=y
+CONFIG_SPL_SYS_I2C_SPACEMIT=y
+CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
+CONFIG_SPI_FLASH_MTD=y
+CONFIG_RESET_SPACEMIT_K3=y
+CONFIG_SYS_NS16550=y
+CONFIG_SYS_NS16550_IER=0x40
+CONFIG_SPI=y
+CONFIG_K1X_QSPI=y
+CONFIG_TIMER_EARLY=y
+CONFIG_SPL_LZO=y
--
2.53.0
next prev parent reply other threads:[~2026-10-29 0:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 0:15 [DNM v1 0/7] Guide to build reduced SpacemiT K3 vendor BSP E Shattow
2026-10-29 0:15 ` [DNM PATCH v1 1/7] reduced SpacemiT K3 vendor BSP: use MKIMAGE build env E Shattow
2026-10-29 0:15 ` [DNM PATCH v1 2/7] reduced SpacemiT K3 vendor BSP: add guards around config optioned k3.c code E Shattow
2026-10-29 0:15 ` [DNM PATCH v1 3/7] reduced SpacemiT K3 vendor BSP: add fallback fastboot buf addr and size def E Shattow
2026-10-29 0:15 ` [DNM PATCH v1 4/7] reduced SpacemiT K3 vendor BSP: force UART boot when YMODEM_SUPPORT enabled E Shattow
2026-10-29 0:15 ` E Shattow [this message]
2026-10-29 0:15 ` [DNM PATCH v1 6/7] reduced SpacemiT K3 vendor BSP: add UART (no SPI) defconfig E Shattow
2026-10-29 0:15 ` [DNM PATCH v1 7/7] reduced SpacemiT K3 vendor BSP: set uart compatible for mainline OpenSBI E Shattow
2026-10-29 0:33 ` [DNM v1 0/7] Guide to build reduced SpacemiT K3 vendor BSP (continued) E Shattow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261029001555.1890775-6-e@freeshell.de \
--to=e@freeshell.de \
--cc=u-boot@lists.u-boot-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox