[PATCH 2/6] configs: reduce stack size of Sipeed MAIX

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Jul 29 17:42:31 CEST 2020


The K210 has only 8 MiB RAM thereof 2 MiB reserved for AI.

Allow only 1 MiB for the stack.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 configs/sipeed_maix_bitm_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/sipeed_maix_bitm_defconfig b/configs/sipeed_maix_bitm_defconfig
index 96651f0268..459bf0d530 100644
--- a/configs/sipeed_maix_bitm_defconfig
+++ b/configs/sipeed_maix_bitm_defconfig
@@ -1,6 +1,7 @@
 CONFIG_RISCV=y
 CONFIG_TARGET_SIPEED_MAIX=y
 CONFIG_ARCH_RV64I=y
+CONFIG_STACK_SIZE=0x100000
 # CONFIG_NET is not set
 # CONFIG_INPUT is not set
 # CONFIG_DM_ETH is not set
--
2.27.0



More information about the U-Boot mailing list