On Wed, 11 Sep 2019 at 15:07, Alistair <alist...@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 <alist...@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