From 904b95534298378d64b99c1f9e649f8bc27a8048 Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Mon, 12 Feb 2024 13:04:34 +0800 Subject: [PATCH] Increase Stack Size to 64 KB for QuickJS --- .gitignore | 4 ++++ boards/risc-v/bl808/ox64/configs/nsh/defconfig | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 5f21c69b3072c..35ba9286c2d2b 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,7 @@ tools/gdb/__pycache__ /build .ccls-cache compile_commands.json +hello.S +Image +init.S +initrd diff --git a/boards/risc-v/bl808/ox64/configs/nsh/defconfig b/boards/risc-v/bl808/ox64/configs/nsh/defconfig index c83021e5543ec..605921abb438a 100644 --- a/boards/risc-v/bl808/ox64/configs/nsh/defconfig +++ b/boards/risc-v/bl808/ox64/configs/nsh/defconfig @@ -67,6 +67,7 @@ CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_FILE_APPS=y CONFIG_NSH_READLINE=y CONFIG_PATH_INITIAL="/system/bin" +CONFIG_POSIX_SPAWN_DEFAULT_STACKSIZE=65536 CONFIG_RAM_SIZE=1048576 CONFIG_RAM_START=0x50200000 CONFIG_READLINE_CMD_HISTORY=y @@ -81,6 +82,7 @@ CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_NSH_PROGNAME="init" CONFIG_TESTING_GETPRIME=y CONFIG_TESTING_OSTEST=y +CONFIG_TLS_LOG2_MAXSTACK=16 CONFIG_UART3_BAUD=2000000 CONFIG_UART3_SERIAL_CONSOLE=y CONFIG_USEC_PER_TICK=1000