[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v8 0/7] Netduino 2 Machine Model
From: |
Alistair Francis |
Subject: |
[Qemu-devel] [PATCH v8 0/7] Netduino 2 Machine Model |
Date: |
Fri, 26 Dec 2014 14:22:23 +1000 |
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.8
This patch series makes some changes to the armv7m_init function
that allows the code to be reused with the Netduino 2 and the
Stellaris machines.
Some example code that runs on QEMU is avaliable at:
at: https://github.com/alistair23/CSSE3010-QEMU-Examples
There are more devices in the works, I figured I would just start
with these three
V8:
- Update the timer device based on Peter C's comments
- Update the USART device based on Peter C's comments
V7:
- Rebase to QEMU 2.2
V6:
- Rename the three devices to STM32FXX*
- Correct the timer to use ns
- Correct the number of devices that are inited
- Rename memory regions
V5:
- Remove the reset changes based on the ELF entry
V4:
- Rebase
- Correct timer units
V3:
- Correct the timer interrupts
- Update debug printing
- Remove the sram_size argument from armv7m_init
Alistair Francis (7):
stm32f2xx_timer: Add the stm32f2xx Timer
stm32f2xx_USART: Add the stm32f2xx USART Controller
stm32f2xx_SYSCFG: Add the stm32f2xx SYSCFG
target_arm: Remove memory region init from armv7m_init
target_arm: Parameterise the irq lines for armv7m_init
stm32f205: Add the stm32f205 SoC
netduino2: Add the Netduino 2 Machine
default-configs/arm-softmmu.mak | 4 +
hw/arm/Makefile.objs | 2 +
hw/arm/armv7m.c | 38 +----
hw/arm/netduino2.c | 54 ++++++
hw/arm/stellaris.c | 27 ++-
hw/arm/stm32f205_soc.c | 157 +++++++++++++++++
hw/char/Makefile.objs | 1 +
hw/char/stm32f2xx_usart.c | 229 +++++++++++++++++++++++++
hw/misc/Makefile.objs | 1 +
hw/misc/stm32f2xx_syscfg.c | 160 ++++++++++++++++++
hw/timer/Makefile.objs | 2 +
hw/timer/stm32f2xx_timer.c | 337 +++++++++++++++++++++++++++++++++++++
include/hw/arm/arm.h | 3 +-
include/hw/arm/stm32f205_soc.h | 69 ++++++++
include/hw/char/stm32f2xx_usart.h | 69 ++++++++
include/hw/misc/stm32f2xx_syscfg.h | 61 +++++++
include/hw/timer/stm32f2xx_timer.h | 103 ++++++++++++
17 files changed, 1279 insertions(+), 38 deletions(-)
create mode 100644 hw/arm/netduino2.c
create mode 100644 hw/arm/stm32f205_soc.c
create mode 100644 hw/char/stm32f2xx_usart.c
create mode 100644 hw/misc/stm32f2xx_syscfg.c
create mode 100644 hw/timer/stm32f2xx_timer.c
create mode 100644 include/hw/arm/stm32f205_soc.h
create mode 100644 include/hw/char/stm32f2xx_usart.h
create mode 100644 include/hw/misc/stm32f2xx_syscfg.h
create mode 100644 include/hw/timer/stm32f2xx_timer.h
--
2.1.0
- [Qemu-devel] [PATCH v8 0/7] Netduino 2 Machine Model,
Alistair Francis <=
- [Qemu-devel] [PATCH v8 1/7] stm32f2xx_timer: Add the stm32f2xx Timer, Alistair Francis, 2014/12/25
- [Qemu-devel] [PATCH v8 2/7] stm32f2xx_USART: Add the stm32f2xx USART Controller, Alistair Francis, 2014/12/25
- [Qemu-devel] [PATCH v8 3/7] stm32f2xx_SYSCFG: Add the stm32f2xx SYSCFG, Alistair Francis, 2014/12/25
- [Qemu-devel] [PATCH v8 4/7] target_arm: Remove memory region init from armv7m_init, Alistair Francis, 2014/12/25
- [Qemu-devel] [PATCH v8 5/7] target_arm: Parameterise the irq lines for armv7m_init, Alistair Francis, 2014/12/25
- [Qemu-devel] [PATCH v8 6/7] stm32f205: Add the stm32f205 SoC, Alistair Francis, 2014/12/25
- [Qemu-devel] [PATCH v8 7/7] netduino2: Add the Netduino 2 Machine, Alistair Francis, 2014/12/25