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. > > v4: > - Rebase on master > v3: > - Remove custom reset handler > - Add init-entry and init-sp properties > - Rebase on master (including Kconfig changes) > v2: > - Reorder patchset > - Return the kernel entry point instead of using a pointer > - Address Peter's comments > > > Alistair Francis (6): > armv7m: Allow entry information to be returned > target/arm: Allow setting M mode entry and sp > hw/misc: Add the STM32F4xx Sysconfig device > hw/misc: Add the STM32F4xx EXTI device > hw/arm: Add the STM32F4xx SoC > hw/arm: Add the Netduino Plus 2
What are the changes for setting initial SP and PC for? Why is this SoC special? Is it different from the stm32f205 SoC we model already? I'm not in general a fan of individual board models having their own custom behaviour for -kernel. The inconsistencies between architectures and between A- and M- profile are awkward enough as it is... thanks -- PMM