Closed benwei closed 9 years ago
I found issue that why 01-HelloWorld cannot use "Press Ctrl-A and then X to exit QEMU" in my environment. After add "-cpu arm926", it works as well.
patch as bellow.
diff --git a/01-HelloWorld/Makefile b/01-HelloWorld/Makefile index cb4d2eb..a88d386 100644 --- a/01-HelloWorld/Makefile +++ b/01-HelloWorld/Makefile @@ -21,7 +21,7 @@ startup.o: startup.S qemu: $(TARGET) @echo "Press Ctrl-A and then X to exit QEMU" @echo - qemu-system-arm -M versatilepb -m 128M -nographic -kernel $(TARGET) + qemu-system-arm -M versatilepb -cpu arm926 -m 128M -nographic -kernel $(TARGET) clean: rm -f *.o *.bin *.elf
Fixed in commit 2f36b2bb865e809bddd856c48b3c1bb674d8e45d
Thanks!
I found issue that why 01-HelloWorld cannot use "Press Ctrl-A and then X to exit QEMU" in my environment. After add "-cpu arm926", it works as well.
patch as bellow.