nuttx/boards/xtensa/esp32s3/common
wangjianyu3 9e66023307 boards/lckfb-szpi-esp32s3: switch adb config to nxinit entrypoint
Replace the default nsh-based init flow on the lckfb-szpi-esp32s3 :adb
defconfig with system/nxinit so that services (sh console, adbd) are
spawned and reaped by init through /etc/init.d/init.rc.

- Enable CONFIG_SYSTEM_NXINIT and set INIT_ENTRYPOINT to init_main
  (CONFIG_EXPERIMENTAL is required by SYSTEM_NXINIT).
- Add a common init.rc under boards/xtensa/esp32s3/common/src/etc/init.d
  defining 'console' (sh) and 'adbd' services and starting both on init.
  fastbootd is wired in for completeness when configured.
- Append the new init.rc to RCSRCS only when SYSTEM_NXINIT is enabled
  so existing nsh-based configs remain unaffected.

Verified on lckfb-szpi-esp32s3 hardware: init_main spawns sh and adbd
(both with PPID=init), 'adb shell' reaches a working NuttShell.

Assisted-by: GitHubCopilot:claude-4.8-opus
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-06-10 20:15:56 +08:00
..
include xtensa/espressif: Update common-source integration for Xtensa devices 2026-03-29 00:33:11 +08:00
kernel protect: move us_heap to userspace_data_s 2026-02-02 11:06:53 +08:00
scripts xtensa/espressif: Update common-source integration for Xtensa devices 2026-03-29 00:33:11 +08:00
src boards/lckfb-szpi-esp32s3: switch adb config to nxinit entrypoint 2026-06-10 20:15:56 +08:00
.gitignore boards/esp32[c3|c6|h2|s2|s3]: Ignore etctmp in common board 2024-07-12 01:01:15 +08:00
Kconfig boards/xtensa: fix optional item on spiflash config 2026-03-19 17:46:28 +08:00
Makefile xtensa/espressif: Update common-source integration for Xtensa devices 2026-03-29 00:33:11 +08:00