-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hello QBox Team @alwalidsalama @MarceronT ,
I am trying to use QBox with QEMU’s Cortex-M7 (ARMv7-M) CPU, which is part of the arm-softmmu target. QBox currently supports AArch64 and other architectures through libqemu, but ARM32 / Cortex-M support seems to be missing.
What I am trying to achieve
Enable QBox to load and run QEMU’s ARM32 targets, specifically Cortex-M CPUs such as:
-M mps2-an500 -cpu cortex-m7
What I have tried
Updated qemu.cmake to add arm-softmmu to the target list.
Updated the main CMakeLists to generate libqemu-arm.
Tried enabling ARM32 targets similarly to existing AArch64, RISC-V, etc.
But ran into several build issues:
Missing libqemu-arm target
Duplicate target creation errors
Conflicts between interface libraries and generated shared libraries
What I need
Could you please clarify:
Is ARM32 / Cortex-M support currently expected to work with QBox?
Which QEMU version should be used for adding ARM softmmu support?
What is the correct way to extend QBox’s build system (CMake + qemu.cmake) to add a new QEMU target?
Are there any known limitations or required patches when adding ARM32 targets to libqemu?