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

memfault: Clear modem traces after boot on no valid coredump #401

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

simensrostad
Copy link
Collaborator

Clear modem traces after boot on no valid coredump. This is to prevent any issues related to non-volitile variables in the modem trace flash backend such as offset and size.

We have observed that some traces are corrupted and to potentially improve this we clear the modem traces after boot if there is no valid coredump.

Increase timeout when crashing to 10 seconds to allow more time for memfault to save the coredump and modem traces to be saved to flash.

Clear modem traces after boot on no valid coredump.
This is to prevent any issues related to non-volitile variables
in the modem trace flash backend such as offset and size.

We have observed that some traces are corrupted and to potentially
improve this we clear the modem traces after boot if there is
no valid coredump.

Increase timeout when crashing to 10 seconds to allow more time for
memfault to save the coredump and modem traces to be saved to flash.

Signed-off-by: Simen S. Røstad <[email protected]>
Copy link

@simensrostad simensrostad added this pull request to the merge queue Oct 14, 2024
Merged via the queue into main with commit deb71ac Oct 14, 2024
6 checks passed
@simensrostad simensrostad deleted the modemtracesclear branch October 14, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant