osd-contiki/qemu/README.qemu.mc1322x

27 lines
576 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 \
-pflash ~/mc1322x-tests/tests/blink-red.bin \
-mtdblock ~/mcmc1322x-tests/doc/mc13224v.img
2009-04-10 18:14:26 +02:00
2009-04-11 00:02:31 +02:00
which will load mc13224v.img at 0x00000000 and blink-red.bin at
0x00400000 --- execution will start at 0x00400000 (type c).
2009-04-10 18:14:26 +02:00
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