qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Allow ARMv7M to be started without a kernel
@ 2011-05-05  8:23 Ben Leslie
  2011-05-05  9:56 ` Peter Maydell
  0 siblings, 1 reply; 15+ messages in thread
From: Ben Leslie @ 2011-05-05  8:23 UTC (permalink / raw)
  To: qemu-devel

Hi all,

For some current software development I'm doing I've found it most easy
to use Qemu in the following manner

qemu-system-arm -M lm3s811evb  -s -S & arm-eabi-gdb

>From GDB I then load any code I want to debug and test and run it.

For this to work however, I needed to make a small change to armv7m.c
to enable starting the simulator without specifying a "-kernel" option.

Is there any reason why such a change is a bad idea? (If not, I'll
submit an appropriate patch).

FWIW, the reason why I'm not using -kernel is that the current
way the armv7m code works, it expects the provided kernel to
be a full flash image including appropriate vector table, whereas
right now I just want to debug some stand-alone code, not the full
system, which the above gdb approach works perfectly for.

Cheers,

Benno

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-05-10 23:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-05  8:23 [Qemu-devel] Allow ARMv7M to be started without a kernel Ben Leslie
2011-05-05  9:56 ` Peter Maydell
2011-05-05 12:03   ` Ben Leslie
2011-05-05 13:20     ` Peter Maydell
2011-05-05 23:26   ` Alexander Graf
2011-05-05 23:50     ` Rob Landley
2011-05-06 12:48       ` Alexander Graf
2011-05-08 14:10         ` Andreas Färber
2011-05-08 18:25           ` Rob Landley
2011-05-09 14:11             ` Alexander Graf
2011-05-09 15:50               ` Peter Maydell
2011-05-10  5:36                 ` Rob Landley
2011-05-10  4:58               ` Rob Landley
2011-05-10  5:13                 ` Alexander Graf
2011-05-10 23:29                   ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).