load memory with images directly. emulation runs correctly now.

This commit is contained in:
Mariano Alvira 2009-04-11 09:08:38 -04:00
parent 7881c8945e
commit 2ea5f005ee
2 changed files with 20 additions and 20 deletions

View file

@ -8,12 +8,13 @@ Build qemu
Run with
arm-softmmu/qemu-system-arm -S -M mc1322x -nographic \
-pflash ~/mc1322x-tests/tests/blink-red.bin \
-mtdblock ~/mcmc1322x-tests/doc/mc13224v.img
foo
which will load mc13224v.img at 0x00000000 and blink-red.bin at
which will load rom.img at 0x00000000 and ram.img at
0x00400000 --- execution will start at 0x00400000 (type c).
I'll be adding command line options for those images soon.
Debug with gdb:
Build gdb for an arm target: