Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/sim: Update defconfig for NXWM and disable CONFIG_NSH_ARCHINIT #2185

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 [email protected]

 ## 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 <[email protected]>
@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