nes-proj/qemu/README.qemu.mc1322x

29 lines
537 B
Plaintext
Raw Normal View History

2009-04-10 16:25:58 +00:00
apt-get source qemu
2009-04-10 16:14:26 +00:00
use these files in place of those in the qemu tree
Build qemu
./configure --target-list=arm-softmmu
make
Run with
2009-04-10 22:02:31 +00:00
arm-softmmu/qemu-system-arm -S -M mc1322x -nographic \
foo
2009-04-10 16:14:26 +00:00
which will load rom.img at 0x00000000 and ram.img at
2009-04-10 22:02:31 +00:00
0x00400000 --- execution will start at 0x00400000 (type c).
2009-04-10 16:14:26 +00:00
I'll be adding command line options for those images soon.
2009-04-10 16:14:26 +00:00
2009-04-10 16:25:58 +00:00
Debug with gdb:
Build gdb for an arm target:
apt-get source gdb
./configure --target=arm-linux
make
./gdb
(gdb) target remote localhost:1234
2009-04-10 16:14:26 +00:00