-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Arch: xtensaIssues related to the Xtensa architectureIssues related to the Xtensa architectureArea: File SystemFile System issuesFile System issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
Description
I noticed a recent issue on ESP32-S3 board configurations related to Wi-Fi (STA/AP): the default esp32s3-devkit:sta_softap configuration does not enable SMP.
When CONFIG_SMP is enabled, board bringup fails during SPI flash storage initialization, and /data (mounted from MTD as non-volatile storage) is not created.
The bringup consistently fails in the flash filesystem setup path.
Base configuration used
./tools/configure.sh esp32s3-devkit:sta_softapThen SMP was enabled (CONFIG_SMP=y).
Steps to reproduce
- Configure with:
./tools/configure.sh esp32s3-devkit:sta_softap
- Enable SMP (
CONFIG_SMP=y). - Build and flash.
- Boot and run:
ls /
- Try manual mount:
mount -t littlefs -o forceformat /dev/esp32s3flash /data
Expected behavior
- Bringup completes normally.
/datais created/mounted from SPI flash MTD.- Manual mount with
forceformatsucceeds if media is empty/corrupted.
Actual behavior
- Bringup fails in SPI flash filesystem setup.
/datais not created.- Manual mount fails with error 28.
Relevant logs
littlefs: lfs_mount failed ret=-14
nx_mount: ERROR: Bind method failed: -14
littlefs: forceformat requested
lfs_dir_commitcrc: commitcrc mismatch at crc-tag block=0x0 off=0x30 ...
lfs_dir_compact: Superblock 0x0 has become unwritable
littlefs: lfs_format failed ret=-28
nx_mount: ERROR: Bind method failed: -28
ERROR: Failed to setup littlefs
ERROR: Failed to initialize SPI Flash: -28
Notes
- Board: ESP32-S3 DevKit
- Wi-Fi mode: STA + AP
- Reproducible when SMP is enabled
- Without SMP, storage bringup path works as expected
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Ubuntu 24
NuttX Version
release 12.12
Issue Architecture
[Arch: xtensa]
Issue Area
[Area: File System]
Host information
No response
Verification
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: xtensaIssues related to the Xtensa architectureIssues related to the Xtensa architectureArea: File SystemFile System issuesFile System issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working