From: Peter Maydell <peter.maydell@linaro.org>
To: Alistair <alistair@alistair23.me>
Cc: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v4 0/6] Add the STM32F405 and Netduino Plus 2 machine
Date: Fri, 27 Sep 2019 16:10:22 +0100 [thread overview]
Message-ID: <CAFEAcA9XEkMaZTut4zp+43e3WDhRMu3HQrwvpUYOTziR=nbwyw@mail.gmail.com> (raw)
In-Reply-To: <acd9fbba-71af-47b1-911c-f8b88e806cac@www.fastmail.com>
On Wed, 11 Sep 2019 at 15:07, Alistair <alistair@alistair23.me> wrote:
>
> On Wed, Sep 11, 2019, at 11:49 AM, Peter Maydell wrote:
> > On Fri, 6 Sep 2019 at 07:10, Alistair Francis <alistair@alistair23.me> wrote:
> > > Now that the Arm-M4 CPU has been added to QEMU we can add the Netduino
> > > Plus 2 machine. This is very similar to the STM32F205 and Netduino 2 SoC
> > > and machine.
> > What are the changes for setting initial SP and PC for?
>
> If it's not set the the guest code jumps into some broken address and crashes at boot.
If this happens then something else is wrong. The CPU
should be reading the initial SP and PC from the vector
table that's in the guest image. If it's not doing that
then we need to figure out why (perhaps we're not setting
the correct value for the vector table base register?)
thanks
-- PMM
prev parent reply other threads:[~2019-09-27 17:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-06 6:10 [Qemu-devel] [PATCH v4 0/6] Add the STM32F405 and Netduino Plus 2 machine Alistair Francis
2019-09-06 6:11 ` [Qemu-devel] [PATCH v4 1/6] armv7m: Allow entry information to be returned Alistair Francis
2019-09-06 6:11 ` [Qemu-devel] [PATCH v4 2/6] target/arm: Allow setting M mode entry and sp Alistair Francis
2019-09-06 6:11 ` [Qemu-devel] [PATCH v4 3/6] hw/misc: Add the STM32F4xx Sysconfig device Alistair Francis
2019-09-06 6:11 ` [Qemu-devel] [PATCH v4 4/6] hw/misc: Add the STM32F4xx EXTI device Alistair Francis
2019-09-06 6:11 ` [Qemu-devel] [PATCH v4 5/6] hw/arm: Add the STM32F4xx SoC Alistair Francis
2019-09-06 6:11 ` [Qemu-devel] [PATCH v4 6/6] hw/arm: Add the Netduino Plus 2 Alistair Francis
2019-09-06 6:25 ` [Qemu-devel] [PATCH v4 0/6] Add the STM32F405 and Netduino Plus 2 machine no-reply
2019-09-11 10:49 ` Peter Maydell
2019-09-11 14:05 ` Alistair
2019-09-27 15:10 ` Peter Maydell [this message]
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='CAFEAcA9XEkMaZTut4zp+43e3WDhRMu3HQrwvpUYOTziR=nbwyw@mail.gmail.com' \
--to=peter.maydell@linaro.org \
--cc=alistair@alistair23.me \
--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).