How to run qemu sample application
I'm having trouble getting the 'qemu' sample application working that comes with gcc-arm-
(Disclaimer: this is my first time trying to use qemu and I'm very new to the GNU Tools for ARM Embedded Processors also)
1) change CORTEX_M=3 in samples/
2) build application
cd samples/src/qemu/
make
3) I installed qemu on Mac OSX Yosemite using Macports:
sudo port install qemu +target_arm
4) Try to run application in qemu
qemu-system-arm -machine none -cpu cortex-m3 -nographic -monitor null -serial null -semihosting -kernel hello-CM3.axf
5) It seems to just hang here, nothing is printed on the terminal. I would assume that it should print "Hello, world!".
FYI, I added "-machine none" because I get the following error without it:
No machine specified, and there is no default.
Use -machine help to list supported machines!
Here is my qemu version:
$ qemu-system-arm --version
QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard
Can anybody give me a quick tutorial on getting this working?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Christopher Wilson for more information if necessary.