From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGoFr-00017p-5d for qemu-devel@nongnu.org; Thu, 29 Jan 2015 07:31:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGoFl-00020q-Eh for qemu-devel@nongnu.org; Thu, 29 Jan 2015 07:31:27 -0500 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:47258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGoFl-0001zO-2y for qemu-devel@nongnu.org; Thu, 29 Jan 2015 07:31:21 -0500 Received: by mail-pa0-f42.google.com with SMTP id bj1so38653852pad.1 for ; Thu, 29 Jan 2015 04:31:19 -0800 (PST) From: Alistair Francis Date: Thu, 29 Jan 2015 22:31:14 +1000 Message-Id: Subject: [Qemu-devel] [PATCH v10 0/5] 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.9 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 V9/V10: - Correct timer device based on Peter C's comments 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 Alistair Francis (5): stm32f2xx_timer: Add the stm32f2xx Timer stm32f2xx_USART: Add the stm32f2xx USART Controller stm32f2xx_SYSCFG: Add the stm32f2xx SYSCFG stm32f205: Add the stm32f205 SoC netduino2: Add the Netduino 2 Machine default-configs/arm-softmmu.mak | 4 + hw/arm/Makefile.objs | 2 + hw/arm/netduino2.c | 54 +++++++ 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 | 324 +++++++++++++++++++++++++++++++++++++ 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 | 101 ++++++++++++ 14 files changed, 1234 insertions(+) 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