qemu-system-arm -cpu cortex-m33 -machine mps2-an521 -nographic -m 16 -vga none -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -icount shift=7,align=off,sleep=off -rtc clock=vm -device loader,file=<remote_dir>/zephyr.elf -s -S -kernel <master_dir>/zephyr.elf
i've included both .elf files in a zip. That should be enough for running the sample ** Attachment added: "zephyr_sample.zip" https://bugs.launchpad.net/qemu/+bug/1921092/+attachment/5480969/+files/zephyr_sample.zip -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1921092 Title: gdbstub debug of multi-cluster machines is undocumented and confusing Status in QEMU: Confirmed Bug description: Working with Zephyr RTOS, running a multi core sample on mps2_an521 works fine. Both cpus start. Trying to debug with options -s -S the second core fails to boot. Posted with explanation also at: https://github.com/zephyrproject- rtos/zephyr/issues/33635 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1921092/+subscriptions