Skip to content

WIP: qemu script updates#10753

Draft
lgirdwood wants to merge 7 commits intothesofproject:mainfrom
lgirdwood:topic/qemu-script
Draft

WIP: qemu script updates#10753
lgirdwood wants to merge 7 commits intothesofproject:mainfrom
lgirdwood:topic/qemu-script

Conversation

@lgirdwood
Copy link
Copy Markdown
Member

Update for latest qemu, some of these in the native sim patch for rebase.

lrgirdwo added 7 commits May 6, 2026 20:15
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>
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.

2 participants