This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 76b90e02cbe Revert "boards/esp32s3-xiao: switch defconfigs to nxinit 
entrypoint"
76b90e02cbe is described below

commit 76b90e02cbee6d120809deae3f20da36b6782b15
Author: wangjianyu3 <[email protected]>
AuthorDate: Wed Sep 2 10:14:53 2026 +0800

    Revert "boards/esp32s3-xiao: switch defconfigs to nxinit entrypoint"
    
    This reverts commit 7cc6707a76b10cc951f209c09b7f2b6cd228e535.
    
    Felipe Moura de Oliveira reported on the dev mailing list that this
    commit hangs boot on real Seeed XIAO ESP32-S3 Sense hardware (chip
    rev v0.2): both defconfigs (combo, usbnsh) never reach nx_start after
    a normal reset (no console output, no USB enumeration; only ROM
    download mode via the BOOT strap pin responds). JTAG (OpenOCD + GDB)
    shows the core statically stuck inside the chip boot ROM address
    range (0x40034000-0x40048000), with nx_start never reached at its
    own address (0x42011068) in that build. Reverting only this commits
    defconfig changes on top of current master fixes the boot.
    
    Local static analysis (before/after build product comparison via
    esptool image_info and readelf -S) ruled out image size/segment
    count as the cause: both binaries have 3 segments, identical IRAM
    segment address/size byte-for-byte, and the flash-mapped code/data
    growth from this change is ~14.7KB total against an 8MB flash
    budget. No hardware matching the reported board was available
    locally to reproduce or bisect further; reverting to unblock master
    per the reporters request while root cause is investigated with
    real hardware access.
    
    Reference: https://www.mail-archive.com/[email protected]/msg15063.html
    
    Assisted-by: Kiro:claude-sonnet-5
    Signed-off-by: wangjianyu3 <[email protected]>
---
 boards/xtensa/esp32s3/esp32s3-xiao/configs/combo/defconfig  | 12 ++----------
 boards/xtensa/esp32s3/esp32s3-xiao/configs/usbnsh/defconfig | 12 ++----------
 2 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/boards/xtensa/esp32s3/esp32s3-xiao/configs/combo/defconfig 
b/boards/xtensa/esp32s3/esp32s3-xiao/configs/combo/defconfig
index 1174914cb21..b41c3015748 100644
--- a/boards/xtensa/esp32s3/esp32s3-xiao/configs/combo/defconfig
+++ b/boards/xtensa/esp32s3/esp32s3-xiao/configs/combo/defconfig
@@ -33,19 +33,15 @@ CONFIG_DEV_GPIO=y
 CONFIG_ESP32S3_GPIO_IRQ=y
 CONFIG_ESP32S3_OTG=y
 CONFIG_ESP32S3_UART0=y
-CONFIG_ETC_ROMFS=y
 CONFIG_EXAMPLES_GPIO=y
 CONFIG_EXAMPLES_LEDS=y
-CONFIG_EXPERIMENTAL=y
 CONFIG_FS_PROCFS=y
-CONFIG_FS_ROMFS=y
 CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
-CONFIG_INIT_ENTRYPOINT="init_main"
-CONFIG_INIT_STACKSIZE=8192
+CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INIT_STACKSIZE=4096
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_EXECFUNCS=y
 CONFIG_LINE_MAX=64
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_FILEIOSIZE=512
@@ -54,15 +50,11 @@ CONFIG_PREALLOC_TIMERS=4
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
 CONFIG_RR_INTERVAL=200
-CONFIG_SCHED_CHILD_STATUS=y
-CONFIG_SCHED_HAVE_PARENT=y
 CONFIG_SCHED_WAITPID=y
 CONFIG_START_DAY=6
 CONFIG_START_MONTH=12
 CONFIG_START_YEAR=2011
 CONFIG_SYSLOG_BUFFER=y
 CONFIG_SYSTEM_NSH=y
-CONFIG_SYSTEM_NSH_STACKSIZE=8192
-CONFIG_SYSTEM_NXINIT=y
 CONFIG_USERLED=y
 CONFIG_USERLED_LOWER=y
diff --git a/boards/xtensa/esp32s3/esp32s3-xiao/configs/usbnsh/defconfig 
b/boards/xtensa/esp32s3/esp32s3-xiao/configs/usbnsh/defconfig
index e699eb3110c..f631e45164f 100644
--- a/boards/xtensa/esp32s3/esp32s3-xiao/configs/usbnsh/defconfig
+++ b/boards/xtensa/esp32s3/esp32s3-xiao/configs/usbnsh/defconfig
@@ -30,17 +30,13 @@ CONFIG_DEBUG_FULLOPT=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_ESP32S3_OTG=y
 CONFIG_ESP32S3_UART0=y
-CONFIG_ETC_ROMFS=y
-CONFIG_EXPERIMENTAL=y
 CONFIG_FS_PROCFS=y
-CONFIG_FS_ROMFS=y
 CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
-CONFIG_INIT_ENTRYPOINT="init_main"
-CONFIG_INIT_STACKSIZE=8192
+CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INIT_STACKSIZE=4096
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_EXECFUNCS=y
 CONFIG_LINE_MAX=64
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_FILEIOSIZE=512
@@ -49,13 +45,9 @@ CONFIG_PREALLOC_TIMERS=4
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
 CONFIG_RR_INTERVAL=200
-CONFIG_SCHED_CHILD_STATUS=y
-CONFIG_SCHED_HAVE_PARENT=y
 CONFIG_SCHED_WAITPID=y
 CONFIG_START_DAY=6
 CONFIG_START_MONTH=12
 CONFIG_START_YEAR=2011
 CONFIG_SYSLOG_BUFFER=y
 CONFIG_SYSTEM_NSH=y
-CONFIG_SYSTEM_NSH_STACKSIZE=8192
-CONFIG_SYSTEM_NXINIT=y

Reply via email to