summaryrefslogtreecommitdiffstats
path: root/configs/sipeed_maix_smode_defconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-03-06 08:20:32 +0000
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-04-08 15:37:28 +0800
commitbe5c442a1557ec6b2ffd06538cb40562f5d19b47 (patch)
treeb6909718a990046dc50cd6ea92f3794436c423cb /configs/sipeed_maix_smode_defconfig
parent6eef9c9a23208c0def02b0ac50d93fce8f84587d (diff)
downloadu-boot-be5c442a1557ec6b2ffd06538cb40562f5d19b47.tar.gz
u-boot-be5c442a1557ec6b2ffd06538cb40562f5d19b47.tar.xz
u-boot-be5c442a1557ec6b2ffd06538cb40562f5d19b47.zip
configs: EXT4, FAT, hush shell, env on S-mode MAIX
* enable storing the environment in the SPI flash * enable EXT4 and FAT file system * enable hush shell * run k210_bootcmd as default boot command Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'configs/sipeed_maix_smode_defconfig')
-rw-r--r--configs/sipeed_maix_smode_defconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/sipeed_maix_smode_defconfig b/configs/sipeed_maix_smode_defconfig
index 2516bb7258..c20c389cac 100644
--- a/configs/sipeed_maix_smode_defconfig
+++ b/configs/sipeed_maix_smode_defconfig
@@ -1,10 +1,21 @@
CONFIG_RISCV=y
CONFIG_SYS_TEXT_BASE=0x80020000
+CONFIG_ENV_SIZE=0x1000
+CONFIG_ENV_OFFSET=0xfff000
+CONFIG_ENV_SECT_SIZE=0x1000
CONFIG_TARGET_SIPEED_MAIX=y
CONFIG_ARCH_RV64I=y
CONFIG_RISCV_SMODE=y
CONFIG_STACK_SIZE=0x100000
+CONFIG_USE_BOOTCOMMAND=y
+CONFIG_BOOTCOMMAND="run k210_bootcmd"
+CONFIG_HUSH_PARSER=y
+CONFIG_MTDIDS_DEFAULT="nor0=spi3:0"
+CONFIG_MTDPARTS_DEFAULT="nor0:1M(u-boot),0x1000@0xfff000(env)"
# CONFIG_NET is not set
# CONFIG_INPUT is not set
+CONFIG_SF_DEFAULT_BUS=3
# CONFIG_DM_ETH is not set
+CONFIG_FS_EXT4=y
+CONFIG_FS_FAT=y
# CONFIG_EFI_UNICODE_CAPITALIZATION is not set