mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 05:57:16 +00:00
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> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore | ||
| x86/qemu/qemu-i486 | ||
| x86_64/qemu/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||