boards/esp32c3-devkit/dropbear: enable SCHED_HAVE_PARENT#19474
Merged
xiaoxiang781216 merged 1 commit intoJul 19, 2026
Merged
Conversation
Dropbear's NSH PTY session reaps the child task with waitpid() and needs CONFIG_SCHED_CHILD_STATUS, which depends on SCHED_HAVE_PARENT. The netutils/dropbear Kconfig now depends on SCHED_HAVE_PARENT and selects SCHED_CHILD_STATUS (apache/nuttx-apps#3648); set SCHED_HAVE_PARENT here so the dropbear defconfig stays consistent and the session no longer fails with ECHILD after authentication. Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
linguini1
approved these changes
Jul 18, 2026
xiaoxiang781216
approved these changes
Jul 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dropbear's NSH PTY session reaps the child task with
waitpid()and needsCONFIG_SCHED_CHILD_STATUS, which depends onSCHED_HAVE_PARENT. Thenetutils/dropbearKconfig nowdepends on SCHED_HAVE_PARENTand selectsSCHED_CHILD_STATUS(apache/nuttx-apps#3648).SCHED_HAVE_PARENTcannot beenabled via
select, so it must come from the board defconfig — add it to theesp32c3 dropbear config (the
simdropbear config already has it).Without this, the SSH session fails with
ECHILDright after authentication(
NSH session wait failed: Unknown error 10).Impact
One line in the esp32c3 dropbear defconfig. Companion to apache/nuttx-apps#3648
— merge this first so that PR's CI passes.
Testing
esp32c3-devkit:dropbearandsim:dropbearconfigure with a validSCHED_HAVE_PARENT=y+SCHED_CHILD_STATUS=yand passsavedefconfignormalization (no diff).