nes-proj/qemu
Mariano Alvira 121c1bfc07 Merge branch 'untested'
Conflicts:

	qemu/README.qemu.mc1322x
	qemu/hw/mc1322x.c
	qemu/hw/mc1322x.h
2009-04-13 18:21:40 -04:00
..
hw load memory with images directly. emulation runs correctly now. 2009-04-11 09:08:38 -04:00
target-arm initial qemu support. 2009-04-10 12:16:53 -04:00
Makefile.target initial qemu support. 2009-04-10 12:16:53 -04:00
README.qemu.mc1322x Merge branch 'untested' 2009-04-13 18:21:40 -04:00
vl.c initial qemu support. 2009-04-10 12:16:53 -04:00

  apt-get source qemu

use these files in place of those in the qemu tree

Build qemu
  ./configure --target-list=arm-softmmu
  make

Run with

  arm-softmmu/qemu-system-arm -S -M mc1322x -nographic \ 
  foo

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:

  apt-get source gdb
  ./configure --target=arm-linux
  make
  ./gdb
  (gdb) target remote localhost:1234