Skip to content

Conversation

@sebastianene07
Copy link

fixes #2093

Summary of changes

This patch addresses the first issue described in the linked ticket:

Disable CONFIG_NSH_ARCHINIT to prevent the boardctl() logic to call
multiple times the oneshot_register() function. The boardctl logic is
already called from nxwm_main.

Testing

Verified that the error message:ERROR: Failed to register oneshot at /dev/oneshot: -17
is no longer shown during simulation start.

Signed-off-by: Sebastian Ene sene@apache.org

 ## Summary of changes

Disable CONFIG_NSH_ARCHINIT to prevent the boardctl() logic to call
multiple times the oneshot_register() function. The boardctl logic is
already called from nxwm_main.

Signed-off-by: Sebastian Ene <sene@apache.org>
@xiaoxiang781216 xiaoxiang781216 merged commit 2073730 into apache:master Oct 31, 2020
@Ouss4
Copy link
Member

Ouss4 commented Nov 1, 2020

@xiaoxiang781216 This one needs to be backported?

@xiaoxiang781216
Copy link
Contributor

Yes, we need backport this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sim:nxwm Test failure

3 participants