
1 Aug
2020
1 Aug
'20
3:32 p.m.
On 7/29/20 11:42 AM, Heinrich Schuchardt wrote:
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@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
Why is the stack size set so large? On Linux they use 16K stacks with 64-bit RISC-V. Does EFI need an especially large stack?
--Sean