Unable to launch application in QEMU on Windows #67690
Replies: 2 comments 7 replies
-
As per this page, QEMU is not supported on Windows? Is there a way to run qemu_cortex_a53 zephyr.elf on Windows I can see zephyr.[dts/elf/map] in "zephyrproject\zephyr\build\zephyr" but hello world dtb is not present? Is this file created during build? |
Beta Was this translation helpful? Give feedback.
-
I don't know if you found the answer by yourself by now, but I just ran through the same problem trying to execute the "hello world" example. As a sanity check I decided to test the default "syncronization" example described in the docs for all QEMU ports and found the missing piece in the puzzle seems to be By the way, you also might experience |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have successfully build the hello world application for QEMU Cortex A53 using the command
west build -p always -b qemu_cortex_a53 samples\hello_world
But when executed the following command
west build -t run
Following error is observed
-- west build: running target run
[0/1] To exit from QEMU enter: 'CTRL+a, x'[QEMU] CPU: cortex-a53'QEMU-NOTFOUND' is not recognized as an internal or external command,
operable program or batch file.
FAILED: zephyr/CMakeFiles/run_qemu C:/Users/m3n1iz/zephyrproject/zephyr/build/zephyr/CMakeFiles/run_qemu
cmd.exe /C "cd /D C:\Users\m3n1iz\zephyrproject\zephyr\build && QEMU-NOTFOUND -cpu cortex-a53 -nographic -machine virt,secure=on,gic-version=3 -net none -pidfile qemu.pid -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -icount shift=4,align=off,sleep=on -rtc clock=vm -kernel C:/Users/m3n1iz/zephyrproject/zephyr/build/zephyr/zephyr.elf"
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\Users\m3n1iz\zephyrproject\zephyr\build' --target run
Can someone help? Is QEMU supported on Windows 11?
Beta Was this translation helpful? Give feedback.
All reactions