osd-contiki/qemu/README.qemu.mc1322x

28 lines
536 B
Plaintext
Raw Normal View History

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