From 94ff1eadb008ee0328fdf43f9802727391c5fb96 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Fri, 10 Apr 2009 18:02:31 -0400 Subject: [PATCH] added a way to load the rom image --- qemu/README.qemu.mc1322x | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/qemu/README.qemu.mc1322x b/qemu/README.qemu.mc1322x index 1d43d576c..1509d38cf 100644 --- a/qemu/README.qemu.mc1322x +++ b/qemu/README.qemu.mc1322x @@ -7,11 +7,12 @@ Build qemu make Run with - arm-softmmu/qemu-system-arm -S -M mc1322x -nographic -pflash /home/malvira/mc1322x-tests/tests/blink-red.bin + arm-softmmu/qemu-system-arm -S -M mc1322x -nographic \ + -pflash ~/mc1322x-tests/tests/blink-red.bin \ + -mtdblock ~/mcmc1322x-tests/doc/mc13224v.img -which will load the bin at 0x00400000 and execution will start there (type c). - -I plan to add a way to load a rom image as well... +which will load mc13224v.img at 0x00000000 and blink-red.bin at +0x00400000 --- execution will start at 0x00400000 (type c). Debug with gdb: