From: Alistair Francis <alistair23@gmail.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, peter.crosthwaite@xilinx.com,
konstanty@ieee.org
Subject: [Qemu-devel] [PATCH v1 0/5] Netduino Plus 2 Machine Model
Date: Sun, 24 Aug 2014 10:13:37 +1000 [thread overview]
Message-ID: <cover.1408838440.git.alistair23@gmail.com> (raw)
This patch series adds the Netduio Plus 2 Machine to QEMU.
Information on the board is avaliable here:
http://netduino.com/netduinoplus2/specs.htm
The git tree is avalible at:
https://github.com/alistair23/qemu/tree/csse4080.1
Some notes about this implementation:
The Netduino Plus 2 has a Cortex-M4 in it, while this model uses
a Cortex-M3 as that is supported by QEMU. This means that the code
that runs on the Netduino Plus 2 is recompiled for a Cortex-M3 with
out Floating Point or DSP optimisations.
For my use of this it doesn't matter if the code has to be recompiled,
so I have no desire to add support for the Cortex-M4.
Code compiled for the Cortex-M3 (and QEMU) can still be run nativly
on the Netduino Plus 2 (this has been tested).
Some example code that runs on QEMU and the actual board is avaliable
at: https://github.com/alistair23/CSSE3010-QEMU-Examples
All of the peripherals that have been added work, although they will
probalbly need to be extended apon as more complex examples are tested.
They are enough to boot and run bare metal code from the examples above.
I have plans to add more devices and ideally be able to boot FreeRTOS on
QEMU.
The board is similar to the Stellaris boards, but it doesn't use the same
init functions armv7m_init() as that doesn't allow the configuration that is
required for this board.
There is a bit of a reset address hack due to the memory offsets, I couldn't
find a better way around that
Alistair Francis (5):
Netduino_USART: Add the Netduino Plus 2 USART Controller
Netduino_GPIO: Add the Netduino Plus 2 GPIO controller
Netduino_SYSCFG: Add the Netduino Plus 2 SYSCFG
Netduino_Timer: Add the Netduino Plus 2 Timer2 to 5
Netduino: Add the Netduino Plus 2 Machine Model
default-configs/arm-softmmu.mak | 1 +
hw/arm/Makefile.objs | 2 +-
hw/arm/netduinoplus2.c | 202 +++++++++++++++++++++
hw/char/Makefile.objs | 1 +
hw/char/netduino_usart.c | 252 ++++++++++++++++++++++++++
hw/gpio/Makefile.objs | 1 +
hw/gpio/netduino_gpio.c | 285 +++++++++++++++++++++++++++++
hw/misc/Makefile.objs | 1 +
hw/misc/netduino_syscfg.c | 201 +++++++++++++++++++++
hw/timer/Makefile.objs | 1 +
hw/timer/netduino_timer.c | 384 ++++++++++++++++++++++++++++++++++++++++
11 files changed, 1330 insertions(+), 1 deletion(-)
create mode 100644 hw/arm/netduinoplus2.c
create mode 100644 hw/char/netduino_usart.c
create mode 100644 hw/gpio/netduino_gpio.c
create mode 100644 hw/misc/netduino_syscfg.c
create mode 100644 hw/timer/netduino_timer.c
--
1.9.1
next reply other threads:[~2014-08-24 0:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-24 0:13 Alistair Francis [this message]
2014-08-24 0:13 ` [Qemu-devel] [PATCH v1 1/5] Netduino_USART: Add the Netduino Plus 2 USART Controller Alistair Francis
2014-08-24 2:09 ` Peter Crosthwaite
2014-08-26 14:19 ` Alistair Francis
2014-09-01 16:30 ` Peter Maydell
2014-09-02 2:04 ` Alistair Francis
2014-08-24 0:13 ` [Qemu-devel] [PATCH v1 2/5] Netduino_GPIO: Add the Netduino Plus 2 GPIO controller Alistair Francis
2014-09-01 16:29 ` Peter Maydell
2014-09-02 2:37 ` Alistair Francis
2014-08-24 0:14 ` [Qemu-devel] [PATCH v1 3/5] Netduino_SYSCFG: Add the Netduino Plus 2 SYSCFG Alistair Francis
2014-08-24 3:09 ` Peter Crosthwaite
2014-09-01 11:49 ` Alistair Francis
2014-08-24 0:14 ` [Qemu-devel] [PATCH v1 4/5] Netduino_Timer: Add the Netduino Plus 2 Timer2 to 5 Alistair Francis
2014-08-24 3:27 ` Peter Crosthwaite
2014-08-24 0:14 ` [Qemu-devel] [PATCH v1 5/5] Netduino: Add the Netduino Plus 2 Machine Model Alistair Francis
2014-08-24 13:20 ` Peter Crosthwaite
2014-09-01 12:34 ` Alistair Francis
2014-09-01 12:44 ` Peter Maydell
2014-09-01 16:33 ` Peter Maydell
2014-09-02 2:02 ` Alistair Francis
2014-09-01 16:39 ` [Qemu-devel] [PATCH v1 0/5] " Peter Maydell
2014-09-02 1:55 ` Alistair Francis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1408838440.git.alistair23@gmail.com \
--to=alistair23@gmail.com \
--cc=konstanty@ieee.org \
--cc=peter.crosthwaite@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).