WIP: qemu script updates#10753
Draft
lgirdwood wants to merge 7 commits intothesofproject:mainfrom
Draft
Conversation
Add support for running multiple firmware images in sequence (batch mode) and suffixing log files for each run. Improve the main monitoring loop with explicit timeout tracking and PTY support. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Enable execution on the native_sim board, allowing Zephyr to run as a native Linux process. Add support for memory leak and corruption analysis via Valgrind. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add support for monitoring architecture-specific trace (MTrace) files during QEMU execution. This allows capturing low-level firmware logs from the Intel ADSP ACE30 platform and injecting them into the main test output stream. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add an --interactive flag to run QEMU directly without the automated monitoring loop. Include helpful quick tips in the console output to assist with real-time log monitoring and IPC debugging. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Introduce --test-ztest and --test-fw-standard flags to automate the compilation and signing of Zephyr firmware with unit testing overlays. Handle rimage PATH injection to ensure seamless binary authentication. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Automatically detect the target board from the Zephyr configuration. Implement recursive firmware image searching to support complex multi-image boot tests, and enable explicit QEMU binary path overrides for Intel ADSP ACE30 targets. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Align argument names with standard testing nomenclature. Implement robust board detection via CMakeCache.txt and add automatic log cleanup before execution. Add support for passing arbitrary QEMU flags via the environment. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
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.
Update for latest qemu, some of these in the native sim patch for rebase.