From 644268335943cc057979f34c87edf4ac5fab954e Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Fri, 15 Dec 2023 19:33:10 +0800 Subject: [PATCH] sim:thermal: move etc romfs mount from nsh to sched/init Ref: I7afe1047369e91662583c8ef9c98fffcf567fbb7 ``` sched: move etc romfs mount from nsh to sched/init ``` Signed-off-by: wangjianyu3 --- boards/sim/sim/sim/configs/thermal/defconfig | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/boards/sim/sim/sim/configs/thermal/defconfig b/boards/sim/sim/sim/configs/thermal/defconfig index f807cc5934..f0c89ccd95 100644 --- a/boards/sim/sim/sim/configs/thermal/defconfig +++ b/boards/sim/sim/sim/configs/thermal/defconfig @@ -26,10 +26,15 @@ CONFIG_DEBUG_THERMAL_WARN=y CONFIG_DEV_GPIO=y CONFIG_DEV_LOOP=y CONFIG_DEV_ZERO=y +CONFIG_ETC_FATDEVNO=2 +CONFIG_ETC_ROMFS=y +CONFIG_ETC_ROMFSDEVNO=1 CONFIG_EXAMPLES_GPIO=y CONFIG_EXAMPLES_HELLO=y CONFIG_FAT_LCNAMES=y CONFIG_FAT_LFN=y +CONFIG_FSUTILS_PASSWD=y +CONFIG_FSUTILS_PASSWD_READONLY=y CONFIG_FS_BINFS=y CONFIG_FS_FAT=y CONFIG_FS_PROCFS=y @@ -48,13 +53,11 @@ CONFIG_LIBC_LOCALE_GETTEXT=y CONFIG_LIBC_MAX_EXITFUNS=1 CONFIG_LIBC_NUMBERED_ARGS=y CONFIG_NSH_ARCHINIT=y -CONFIG_NSH_ARCHROMFS=y CONFIG_NSH_BUILTIN_APPS=y -CONFIG_NSH_FATDEVNO=2 CONFIG_NSH_FILE_APPS=y +CONFIG_NSH_MOTD=y +CONFIG_NSH_MOTD_STRING="MOTD: username=admin password=Administrator" CONFIG_NSH_READLINE=y -CONFIG_NSH_ROMFSDEVNO=1 -CONFIG_NSH_ROMFSETC=y CONFIG_PATH_INITIAL="/bin" CONFIG_PM=y CONFIG_PSEUDOFS_ATTRIBUTES=y