Skip to content

{bp-19021} boards/lckfb-szpi-esp32s3: switch adb config to nxinit entrypoint#19087

Merged
lupyuen merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19021
Jun 10, 2026
Merged

{bp-19021} boards/lckfb-szpi-esp32s3: switch adb config to nxinit entrypoint#19087
lupyuen merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19021

Conversation

@jerpelea

Copy link
Copy Markdown
Contributor

Summary

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

Impact

RELEASE

Testing

CI

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>
@github-actions github-actions Bot added Size: S The size of the change in this PR is small Board: xtensa labels Jun 10, 2026
@lupyuen lupyuen merged commit 9e66023 into apache:releases/13.0 Jun 10, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Board: xtensa Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants