From: Ben Leslie <benno@benno.id.au>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Allow ARMv7M to be started without a kernel
Date: Thu, 5 May 2011 18:23:45 +1000 [thread overview]
Message-ID: <BANLkTimNiviT9SsMpcqqdcFJ4d81qVGXOA@mail.gmail.com> (raw)
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
next reply other threads:[~2011-05-05 8:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 8:23 Ben Leslie [this message]
2011-05-05 9:56 ` [Qemu-devel] Allow ARMv7M to be started without a kernel 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTimNiviT9SsMpcqqdcFJ4d81qVGXOA@mail.gmail.com \
--to=benno@benno.id.au \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).