I had an issue with the given
qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel myos.elf
command in this tutorial. It output:
Unable to init server: Could not connect: Connection refused
gtk initialization failed
THE FIX:
changed "stdio" to "mon:stdio" and added "-nographic" option.
Full command that worked:
qemu-system-arm -m 256 -M raspi2 -serial mon:stdio -kernel myos.elf -nographic
Versions I'm using:
Linux 5.10.16.3-microsoft-standard-WSL2 x86_64
qemu-system-arm: 1:4.2-3ubuntu6.18
I had an issue with the given
THE FIX:
changed "stdio" to "mon:stdio" and added "-nographic" option.
Full command that worked:
Versions I'm using:
Linux 5.10.16.3-microsoft-standard-WSL2 x86_64
qemu-system-arm: 1:4.2-3ubuntu6.18