From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XT50o-0002fa-Dc for qemu-devel@nongnu.org; Sun, 14 Sep 2014 04:18:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XT50j-00087x-Vj for qemu-devel@nongnu.org; Sun, 14 Sep 2014 04:18:22 -0400 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:59716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XT50j-00087t-Ng for qemu-devel@nongnu.org; Sun, 14 Sep 2014 04:18:17 -0400 Received: by mail-pa0-f45.google.com with SMTP id rd3so4362706pab.18 for ; Sun, 14 Sep 2014 01:18:16 -0700 (PDT) From: Alistair Francis Date: Sun, 14 Sep 2014 18:18:10 +1000 Message-Id: Subject: [Qemu-devel] [Patch v1 0/8] Netduino 2 Machine Model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, peter.crosthwaite@xilinx.com, konstanty@ieee.org, martin.galvan@tallertechnologies.com 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 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 It is also based on my RFC patches, which can be seen at: https://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg01638.html 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 I have more devices in the works, I figured I would just start with these three Changes from RFC: - Code cleanup thanks to Peter C's comments - Split the Makefile configs to device level - Changes to armv7m_init with interupt and memory passing - See the individual patches for more details Alistair Francis (8): stm32f205_timer: Add the stm32f205 Timer stm32f205_USART: Add the stm32f205 USART Controller stm32f205_SYSCFG: Add the stm32f205 SYSCFG target_arm: Remove memory region init from armv7m_init target_arm: Parameterise the irq lines for armv7m_init target_arm: Change the reset values based on the ELF entry 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 | 46 +++--- hw/arm/netduino2.c | 54 +++++++ hw/arm/stellaris.c | 25 ++- hw/arm/stm32f205_soc.c | 155 +++++++++++++++++++ hw/char/Makefile.objs | 1 + hw/char/stm32f205_usart.c | 213 ++++++++++++++++++++++++++ hw/misc/Makefile.objs | 1 + hw/misc/stm32f205_syscfg.c | 160 +++++++++++++++++++ hw/timer/Makefile.objs | 1 + hw/timer/stm32f205_timer.c | 305 +++++++++++++++++++++++++++++++++++++ include/hw/arm/arm.h | 2 +- include/hw/arm/stm32f205_soc.h | 69 +++++++++ include/hw/char/stm32f205_usart.h | 67 ++++++++ include/hw/misc/stm32f205_syscfg.h | 61 ++++++++ include/hw/timer/stm32f205_timer.h | 97 ++++++++++++ 17 files changed, 1236 insertions(+), 27 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 -- 1.9.1