Skip to content

RFC Netduino 2 Machine Model

Alistair Francis qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6stm32f205_timer: Add the stm32f205 SoC Timer2 to 5default-configs/arm-softmmu.mak hw/timer/Makefile.objs hw/timer/stm32f205_timer.c +1 more+420 -04 replies
2/6stm32f205_USART: Add the stm32f205 SoC USART Controllerhw/char/Makefile.objs hw/char/stm32f205_usart.c include/hw/char/stm32f205_usart.h+270 -02 replies
3/6stm32f205_SYSCFG: Add the stm32f205 SYSCFGhw/misc/Makefile.objs hw/misc/stm32f205_syscfg.c include/hw/misc/stm32f205_syscfg.h+220 -00 replies
4/6target_arm: Update armv7_init to support more parametershw/arm/armv7m.c hw/arm/stellaris.c include/hw/arm/arm.h+29 -98 replies
5/6stm32f205: Add the SoChw/arm/Makefile.objs hw/arm/stm32f205_soc.c include/hw/arm/stm32f205_soc.h+202 -12 replies
6/6netduino2: Add the Netduino 2 Machinehw/arm/Makefile.objs hw/arm/netduino2.c+61 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC v1 0/6] Netduino 2 Machine Model

This patch series adds the Netduino 2 Machine to QEMU

Information on the board is avalible at:
http://www.netduino.com/netduino2/specs.htm

The git tree can be found at:
https://github.com/alistair23/qemu/tree/netduino2.1

This is a fully implemented machine, except for the hack changes that have been made to armv7_init. See that individual patch for more information

This is based on my original patch series to add the Netduino Plus 2 Machine to QEMU. This can be seen at:
http://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg04026.html

As this is a completly different machine I have decided to restart the version numbers

Some example code that runs on QEMU is avaliable at:
at: https://github.com/alistair23/CSSE3010-QEMU-Examples

I have more devices in the works, I figured I would just start with these three

Alistair Francis (6):
stm32f205_timer: Add the stm32f205 SoC Timer2 to 5
stm32f205_USART: Add the stm32f205 SoC USART Controller
stm32f205_SYSCFG: Add the stm32f205 SYSCFG
target_arm: Update armv7_init to support more parameters
stm32f205: Add the SoC
netduino2: Add the Netduino 2 Machine

 default-configs/arm-softmmu.mak    |   1 +
 hw/arm/Makefile.objs               |   2 +-
 hw/arm/armv7m.c                    |  33 +++-
 hw/arm/netduino2.c                 |  60 +++++++
 hw/arm/stellaris.c                 |   2 +-
 hw/arm/stm32f205_soc.c             | 140 ++++++++++++++++
 hw/char/Makefile.objs              |   1 +
 hw/char/stm32f205_usart.c          | 205 +++++++++++++++++++++++
 hw/misc/Makefile.objs              |   1 +
 hw/misc/stm32f205_syscfg.c         | 160 ++++++++++++++++++
 hw/timer/Makefile.objs             |   1 +
 hw/timer/stm32f205_timer.c         | 334 +++++++++++++++++++++++++++++++++++++
 include/hw/arm/arm.h               |   3 +-
 include/hw/arm/stm32f205_soc.h     |  61 +++++++
 include/hw/char/stm32f205_usart.h  |  64 +++++++
 include/hw/misc/stm32f205_syscfg.h |  59 +++++++
 include/hw/timer/stm32f205_timer.h |  84 ++++++++++
 17 files changed, 1201 insertions(+), 10 deletions(-)
 create mode 100644 hw/arm/netduino2.c
 create mode 100644 hw/arm/stm32f205_soc.c
 create mode 100644 hw/char/stm32f205_usart.c
 create mode 100644 hw/misc/stm32f205_syscfg.c
 create mode 100644 hw/timer/stm32f205_timer.c
 create mode 100644 include/hw/arm/stm32f205_soc.h
 create mode 100644 include/hw/char/stm32f205_usart.h
 create mode 100644 include/hw/misc/stm32f205_syscfg.h
 create mode 100644 include/hw/timer/stm32f205_timer.h
Signature · 1 line
1.9.1