From: Fabian Aggeler <aggelerf@ethz.ch>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, peter.crosthwaite@xilinx.com
Subject: [Qemu-devel] [PATCH 0/2] Add SP810 to Versatile Express boards
Date: Wed, 16 Jul 2014 16:42:55 +0200 [thread overview]
Message-ID: <1405521777-24085-1-git-send-email-aggelerf@ethz.ch> (raw)
Hi,
The Versatile Express emulation in QEMU currently does not
have a model of the SP810 used in real hardware. The registers
provided by this System Controller can be used to set the
frequency of the SP804 timers. On newer releases of the board
the SP804 is set to 32kHz by default and has to be increased
by writing to the SCCTRL. See:
http://lists.infradead.org/pipermail/linux-arm-kernel/2011-January/038696.html
Since QEMU sets the SP804 timers to 1MHz by default this should
be reflected in the SCCTRL register. These two patches add a
model of the SP804 to the vexpress-boards and sets the SCCTRL
register so that software that queries this register behaves
as expected.
Feedback is greatly appreciated!
Best,
Fabian
Fabian Aggeler (2):
hw/misc/arm_sp810: Create SP810 device
hw/arm/vexpress: add SP810 to the vexpress
default-configs/arm-softmmu.mak | 1 +
hw/arm/vexpress.c | 11 ++-
hw/misc/Makefile.objs | 1 +
hw/misc/arm_sp810.c | 184 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 195 insertions(+), 2 deletions(-)
create mode 100644 hw/misc/arm_sp810.c
--
1.8.3.2
next reply other threads:[~2014-07-16 14:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-16 14:42 Fabian Aggeler [this message]
2014-07-16 14:42 ` [Qemu-devel] [PATCH 1/2] hw/misc/arm_sp810: Create SP810 device Fabian Aggeler
2014-07-16 23:21 ` Peter Crosthwaite
2014-07-16 14:42 ` [Qemu-devel] [PATCH 2/2] hw/arm/vexpress: add SP810 to the vexpress Fabian Aggeler
2014-07-16 15:05 ` Alex Bennée
2014-07-16 23:29 ` Peter Crosthwaite
2014-08-05 9:22 ` Aggeler Fabian
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=1405521777-24085-1-git-send-email-aggelerf@ethz.ch \
--to=aggelerf@ethz.ch \
--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).