Changes since V9: Added MAINTAINERS entry, rebased (and tested)
against git tip.
Peter C
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the Freescale i.MX31.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
MAINTAINERS |6 +
hw/arm/Makefile.objs |1
hw/kzm.c
., the ones used to feed the periodic
and general purpose timers.
Signed-off-by: Peter Chubb
---
hw/arm/Makefile.objs |2
hw/imx.h | 10 +
hw/imx_ccm.c | 321 +++
3 files changed, 332 insertions(+), 1 deletion(-)
Index
van
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
hw/arm/Makefile.objs |1
hw/imx.h | 16 +
hw/imx_serial.c | 467 +++
3 files changed, 484 insertions(+)
create mode 100644 hw/imx_serial.c
Index: qemu
Implement the Freescale i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.x
Vectors are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
hw/arm/Makefile.objs |2
hw/imx_a
Implement the timers on the Freescale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
h
>>>>> "Peter" == Peter Maydell writes:
Peter> Add a missing cast to avoid gcc complaining about format string
Peter> errors when printing an expression based on a
Peter> target_phys_addr_t.
Peter> Signed-off-by: Peter Maydell
Reviewe
s->cr = value & 0x03ff;
>-set_timerp_freq(s);
>+value &= s->cr;
You're letting the reset function clear the SWR. It's unclear to me
from the docs whether when the SWR bit is set, assignment to other
fields in the CR happens
that it should not have done.
Signed-off-by: Peter Chubb
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 35a21be..c870246 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -6762,6 +6762,7 @@ static void disas_arm_insn(CPUARMState * env,
DisasContext *s
>>>>> "Peter" == Peter Maydell writes:
Peter> On 15 April 2013 05:50, Peter Chubb
Peter> wrote:
>>
>>
>> Since patch 81465888c5306cd94abb9847e560796fd13d3c2f target-arm:
>> factor out handling of SRS instruction the SRS instruction ha
generic stuff that it should do for most instructions -- but not SRS.
Signed-off-by: Peter Chubb
---
target-arm/translate.c |1 +
1 file changed, 1 insertion(+)
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 35a21be..a1b7b8c 100644
--- a/target-arm/translate.c
+++ b/target-arm
>>>>> "Andreas" == Andreas Färber writes:
Andreas> Signed-off-by: Andreas Färber ---
Acked-by: Peter Chubb
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
>>>>> "Andreas" == Andreas Färber writes:
Andreas> Signed-off-by: Andreas Färber ---
Acked-by: Peter Chubb
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
scale cache controller.
Signed-off-by: Peter Chubb
diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c
index bd6c05c..018fc81 100644
--- a/hw/arm/kzm.c
+++ b/hw/arm/kzm.c
@@ -33,6 +33,7 @@
* 0x1fffc000-0x1fff RAM EMULATED
* 0x2000-0x2fff Reserved IG
When imx_epit.c was last refactored, a common usecase (comparison
register zero) broke. This patch fixes that, and simplifies the code
yet more. It also fixes a major thinko in the reset path --- the
wrong bits in the control register were being cleared.
Signed-off-by: Peter Chubb
Reviewed-by
>>>>> "Peter" == Peter Maydell writes:
Peter> On 5 August 2013 02:21, Peter Chubb
Peter> wrote:
>> Reads to unassigned memory now return non-zero (since patch
>> 9b8c69243585). This breaks guests runnong on i.MX31 that use the
>> cache controller
opyright (c) 2010-2012 Calxeda
+ * Copyright (c) 2013 NICTA Peter Chubb
+ *
+ * Based on the PL210 implementation in arm_l2x0.c
+ * Differences: different Cache ID and aux control register values.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and con
OK, this is what I've come up with. Dunno whether it's right or not
-- the object model is decoupled from the memory model, so there's no
straightforward way to override just a few of the registers.
At this stage this is just for comment, as I don't really have that
much of a clue about how the
There's been a cut-and-paste error, it looks like, in the documentation
in qom/object.h.
Signed-off-by: Peter Chubb
---
include/qom/object.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: qemu/include/qom/obj
ry good with qemu's timer
>> API. Paolo or Paul -- could you check this looks ok on that front?
>>
Yes please! I think there's a bug in there somewhere when using the G
timer, as interrupts appear to arrive too far apart in some modes.
The scaling is probably
Thanks for your reviewing time and expertise Peter. It's much
appreciated.
May I add your Reviewed-By: line to the imx-serial patch too? The
only change is CamelCasing the typedef.
Peter C
--
Dr Peter Chubb peter.chubb AT nicta.com.au
Implement the timers on the FreeScale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter
Implement the FreeSCALE i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.0.x
Vectors are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |2
hw/imx_avic.c |
runs Linux
and seL4 nicely.
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
van
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |1
hw/imx.h| 16 +
hw/imx_serial.c | 467
3 files changed, 484 insertions(+)
create mode 100644 hw/imx_serial.c
Index: qemu-working/
., the ones used to feed the periodic
and general purpose timers.
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/imx.h| 10 +
hw/imx_ccm.c| 321
3 files changed, 332 insertions(+), 1 deletion(-)
Index: qemu
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the FreeScale i.MX31.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/kzm.c| 155
2 files ch
>>>>> "Andreas" == Andreas Färber writes:
Andreas> Hello Peter, Am 06.06.2012 05:47, schrieb Peter Chubb:
>> There are no major changes since last time, just rebased to current
>> tip now that QEMU 1.2 is open.
>>
>> For those who have come in
;
unsigned int size, rev = 0, ex = 0;
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
Changes since V8: Recovered my stuff-up from backup --- changes that
were in V7 are back in!
Andreas's comments addressed (except adding MAINTAINER field)
Peter Maydell's comments against V6/7 are addressed.
Peter C
--
Dr P
Implement the Freescale i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.x
Vectors are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |2
hw/imx_avic.c |
Implement the timers on the Freescale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter
., the ones used to feed the periodic
and general purpose timers.
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/imx.h| 10 +
hw/imx_ccm.c| 321
3 files changed, 332 insertions(+), 1 deletion(-)
Index: qemu
van
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |1
hw/imx.h| 16 +
hw/imx_serial.c | 467
3 files changed, 484 insertions(+)
create mode 100644 hw/imx_serial.c
Index: qemu-working/
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the Freescale i.MX31.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/kzm.c| 156
2 files ch
something like that.
Changeset cf36b31db209a261ee3bc2737e788e1ced0a1bec Limit ptimer rate
to something achievable
is meant to fix this in the cases where the timer is auto-reloaded.
xilinx_timer.c always uses the timer in one-shot mode, so it needs to
be fixed in there.
--
Dr Peter C
y the CPU before
it'll fire again. So the CPU always gets a look in --- or ought to.
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the FreeScale i.MX31.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/kzm.c| 161
2 files ch
the result with Linux 3.3.0 and a variety of unit tests.
DVFS is still not implemented; but apart from that, timer ticks seem to
come at around the right rate, and the timer values when read are sane.
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.ni
., the ones used to feed the periodic
and general purpose timers.
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/imx.h| 14 ++
hw/imx_ccm.c| 334
3 files changed, 349 insertions(+), 1 deletion(-)
Index: qemu
Implement the FreeSCALE i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.0.x
Vectors are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |2
hw/imx_avic.c |
van
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |1
hw/imx.h| 16 +
hw/imx_serial.c | 467
3 files changed, 484 insertions(+)
create mode 100644 hw/imx_serial.c
Index: qemu-working/
Implement the timers on the FreeScale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter
>>>>> "Peter" == Peter Maydell writes:
Peter> On 3 April 2012 02:55, Peter Chubb
Peter> wrote:
> +
> +uint32_t imx_timer_frequency(DeviceState *s, IMXClk clock);
> +void imx_timer_create(const char * const name,
> +
>>>>> "Peter" == Peter Maydell writes:
Peter> On 3 April 2012 02:55, Peter Chubb
Peter> wrote:
>+/*
>+ * Artificially limit tick rate to something
>+ * achievable under QEMU. Otherwise, QEMU spends all
>+ * its
>>>>> "Peter" == Peter Chubb writes:
Peter> I'm not sure how to make qdev properties work. The timers need
Peter> to be able to get at the CCM-generated frequencies, which of
Peter> course are private to the CCM.
I've just split the problematic
ce to get at the monitor.
Reported-by: Anna Lyons
Signed-off-by: Peter Chubb
---
hw/ptimer.c | 13 +
1 file changed, 13 insertions(+)
Index: qemu-working/hw/ptimer.c
===
--- qemu-working.orig/hw/ptimer.c 2012-04-
ot in this series) against ptimer.c
-- Move function prototypes in imx.h into the correct patch.
Peter C
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
., the ones used to feed the periodic
and general purpose timers.
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/imx.h| 10 +
hw/imx_ccm.c| 312
3 files changed, 323 insertions(+), 1 deletion(-)
Index: qemu
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the FreeScale i.MX31.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/kzm.c| 161
2 files ch
van
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |1
hw/imx.h| 16 +
hw/imx_serial.c | 467
3 files changed, 484 insertions(+)
create mode 100644 hw/imx_serial.c
Index: qemu-working/
Implement the timers on the FreeScale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter
Implement the FreeSCALE i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.0.x
Vectors are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |2
hw/imx_avic.c |
>>>>> "Peter" == Peter Maydell writes:
Peter> On 23 April 2012 00:31, Peter Chubb
Peter> wrote:
Peter> Rather than having the *_clk_freq saved and loaded in the
Peter> vmstate, I think it would be nicer to have a post-load-hook
Peter> that called update
>>>>> "Peter" == Peter Maydell writes:
Peter> On 23 April 2012 00:31, Peter Chubb
Peter> wrote:
>> Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board
>> built around the FreeScale i.MX31.
>> + if (serial_hds[3]) {
>
>>>>> "Paolo" == Paolo Bonzini writes:
Paolo> Il 23/04/2012 22:54, Peter Chubb ha scritto:
Peter> What is this calculation supposed to do? It doesn't convert a
Peter> 10-bit signed twos-complement number into an int32_t, unless
Peter> I'm confused.
>>>>> "Andreas" == Andreas Färber writes:
Andreas> Am 23.04.2012 01:31, schrieb Peter Chubb:
>> Hi all, Most of the files are unchanged since last time.
Andreas> Indeed... On v5 I had asked you to shorten the subjects to
Andreas> conform to our commit me
Implement the timers on the FreeScale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter
-- ignores baud rate, and implements only a
one character FIFO
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the FreeScale i.MX31.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
Makefile.target |1
hw/kzm.c| 159
2 files ch
Implement the FreeSCALE i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.0.x
Vectors are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/imx_avic.c |
van
Signed-off-by: Peter Chubb
---
Makefile.target |1
hw/imx_serial.c | 466
2 files changed, 467 insertions(+)
create mode 100644 hw/imx_serial.c
Index: qemu-working/
You can add my
Reviewed-by: Peter Chubb
line.
Peter C
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
Public bug reported:
When booting a multiboot image,. mem_upper is now always zero.
To test, build qemu from current git head, then do
cd tests/multiboot
./run_test.sh
You will see the test fail. In each case mem_upper is 0k.
git-bisect says the bad commit is
0169c511554cb0014a00290b0d3d26
This change fixes it.
diff --git a/exec.c b/exec.c
index 2435d9e..b387d28 100644
--- a/exec.c
+++ b/exec.c
@@ -1070,7 +1070,7 @@ static void *file_ram_alloc(RAMBlock *block,
}
/* MAP_POPULATE silently ignores failures */
-for (i = 0; i < (memory/hpagesize); i++) {
+
>>>>> "Peter" == Peter Chubb writes:
This change fixes it.
> diff --git a/exec.c b/exec.c
> index 2435d9e..b387d28 100644
> --- a/exec.c
> +++ b/exec.c
> @@ -1070,7 +1070,7 @@ static void *file_ram_alloc(RAMBlock *block,
> }
>
>
Public bug reported:
I do:
./configure --target-list=arm-softmmu
make
sudo make install
and see:
install -d -m 0755 "/usr/local/bin"
libtool --quiet --mode=install install -c -m 0755 qemu-ga qemu-nbd qemu-img
qemu-io fsdev/virtfs-proxy-helper "/usr/local/bin"
strip "/usr/local/bin/qemu-
Public bug reported:
I'm running on Odroid-XU, Debian Jessie armhf
qemu built from today's head d7d3d6092cb7edc75dc49fb90c86dd5425ab4805
sudo qemu-system-arm -M vexpress-a15 -drive
if=none,file=arm.img,cache=writeback,id=foo -device virtio-blk-device,drive=foo
-netdev user,id=user.0 -device vi
The libexec case doesn't actually work, which is why IO switched to a
separate variable. One of the reasons I said the patch is probably
wrong.
I suspect we need something like
$(STRIP) $(addprefix $(DESTDIR)/$(BINDIR), $(notdir ${TOOLS)))
And I didn't see the problem on x86_64, only on armhf. I
_timer_epit_clocks[clksrc]) / prescaler;
>
> -s->freq = freq;
> DPRINTF("Setting ptimer frequency to %u\n", freq);
And here it's inconsistent --- s/freq/s->freq/ and as you've renamed,
maybe s/ptimer/epit/
The rest looks OK.
I'm not that keen on the longer names, though.
Maybe s/timer_epit/epit/ throughout.
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
eview them separately, and keep functional and
non-functional changes separate.
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
>
> -static char const *imx_timerg_reg_name(uint32_t reg)
> +static char const *imx_timer_gpt_reg_name(uint32_t reg)
You could just use imc_gpt_xxx in line with the imx_epit_xxx naming
from your other patch series.
Otherwise this looks good.
--
Dr Pe
The rfe instruction has been broken since patch
5a839c0d54fac9db0516904db873a4fe01f50f4b because of a typo.
Signed-off-by: Peter Chubb
diff --git a/target-arm/translate.c b/target-arm/translate.c
index e5a2e4c..29e8f27 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -6798,7
nd 2, so we have to test for 2.
Good catch. I hate hard coded constants, they're so easy to get wrong!
Stefan> Signed-off-by: Stefan Weil
Signed-off-by: Peter Chubb
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
ts.
--
Dr Peter Chubbwww.nicta.com.au peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
>From Imagination to Impact Imagining the (ICT) Future
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the Freescale i.MX31.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/kzm.c| 155
2 files ch
Implement the Freescale i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.x
Vectors are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |2
hw/imx_avic.c |
., the ones used to feed the periodic
and general purpose timers.
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/imx.h| 10 +
hw/imx_ccm.c| 321
3 files changed, 332 insertions(+), 1 deletion(-)
Index: qemu
Implement the timers on the Freescale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.
Signed-off-by: Philip O'Sullivan
Signed-off-by: Peter Chubb
Review
van
Signed-off-by: Peter Chubb
Reviewed-by: Peter Maydell
---
Makefile.target |1
hw/imx.h| 16 +
hw/imx_serial.c | 467
3 files changed, 484 insertions(+)
create mode 100644 hw/imx_serial.c
Index: qemu-working/
.
Signed-Off-By: Peter Chubb
Signed-Off-By: Hans Jang
Signed-off-by: Adam Clench
---
Makefile.target |1 +
hw/imx-int.c| 155
hw/imx-serial.c | 195 ++
hw/imx-timer.c | 355 +++
hw
s a raw ROM image and qemu should treate the first few
bytes as the reset vector, and otherwise emulate the boot-loader.
What do you think?
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
This patch was written by David Mirabito.
Properly implement the dual-timer read/write for the sp804 dual timer module.
Based on ARM specs at
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0271d/index.html
Signed-off-by: Peter Chubb
Signed-off-by: David Mirabito
Signed-off-by
This patch was originally written by Bernard Blackham, and modified by
Peter Chubb.
From 0d755af2f5bef22432da71f2fe0a9dce7d2882cd Mon Sep 17 00:00:00 2001
From: Bernard Blackham
Date: Fri, 24 Jul 2009 13:38:03 +1000
Subject: Disable line-based log buffering.
There's no real reason for
>>>>> "Stefan" == Stefan Weil writes:
Stefan> Am 29.09.2011 04:43, schrieb Peter Chubb:
>>
>> This patch was originally written by Bernard Blackham, and modified
>> by Peter Chubb.
>>
>> From 0d755af2f5bef22432da71f2fe0a9dce7d2882c
dual timer module.
Based on ARM specs at
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0271d/index.html
Signed-off-by: Peter Chubb
Signed-off-by: David Mirabito
Signed-off-by: Hans Jang
---
hw/arm_timer.c | 63 -
1
>>>>> "Peter" == Peter Maydell writes:
Peter> On 30 September 2011 01:20, Peter Chubb
Peter> wrote:
>> Thanks Peter!
>>
>> Here's a reworked patch.
Peter> NB: when you resend patches it's better to send them as
Peter> complete
s and implemented enough extra that Linux will boot
on the patched QEMU using a ram disk.
The i.MX 31 Serial controller is found in most of the i.MX SoCs;
the AVIC and timer implementations can also be shared, albeit with
fewer chips.
Signed-off-by: Peter Chubb
Signed-off-by: Hans Jang
S
Hi Peter,
Here's a fixed patch for the sp804 timer.
Properly implement the dual-timer read/write for the sp804 dual timer module.
Based on ARM specs at
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0271d/index.html
Signed-off-by: Peter Chubb
Signed-off-by: David Mir
>>>>> "Andreas" == Andreas Färber writes:
Andreas> Hi Peter, Am 21.11.2011 22:58, schrieb Peter Chubb:
>> Hi Peter, Please find appended a patch containing initial support
>> for the FreeScale i.MX31 and the KZM Arm11 evaluation board.
Andreas> Y
the guest does
something wrong and the qemu instance dies with a message. It's not
as it that'll affect any other guests, each of which will have their
own qemu instance.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au
Fix names of functions in error messages: as suggested by Andreas
Färber, use the C99 standard __func__ macro to get the correct name.
This fixes one real bug (the message used to print sp804 instead of
icp_pit), the other changes are cosmetic.
Signed-off-by: Peter Chubb
---
hw/arm_timer.c
>>>>> "Peter" == Peter Maydell writes:
Peter> On 21 November 2011 23:54, Peter Chubb
Peter> wrote:
>> Do you have a suggestion for an alternative to hw_error for guest
>> bad behaviour? It seems to be used historically. For emulating
>> ARM, c
Two of the calls to hw_error() in arm_timer.c contain the wrong function name.
As suggested by Andreas Färber, use the C99 standard __func__ macro to
get the correct name, instead of putting the name directly into the code.
Signed-off-by: Peter Chubb
---
hw/arm_timer.c |8
1
Properly implement dual-timer read/write for the sp804 dual timer module.
Based on ARM specs at
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0271d/index.html
Signed-off-by: Hans Jang
Signed-off-by: David Mirabito
Signed-off-by: Peter Chubb
---
hw/arm_timer.c | 41
sufficient new functionality to get Linux
running with an initial RAM disk.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
Implement the FreeScale i.MX UART. This uart is used in a variety of
SoCs, including some by Motorola, as well as in the FreeScale i.MX
series.
Signed-off-by: Hans Jang
Signed-off-by: Adam Clench
Signed-off-by: Peter Chubb
---
hw/imx_serial.c | 307
Implement the timers on the FreeScale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run.
Signed-off-by: Hans Jang
Signed-off-by: Adam Clench
Signed-off-by: Peter Chubb
---
hw/imx_timer.c | 441
Implement the FreeSCALE i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.0.x
Signed-off-by: Hans Jang
Signed-off-by: Adam Clench
Signed-off-by: Peter Chubb
---
hw/imx_avic.c | 363 ++
1 file
Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the FreeScale i.MX31.
Signed-off-by: Hans Jang
Signed-off-by: Adam Clench
Signed-off-by: Peter Chubb
---
Makefile.target |2
hw/kzm.c| 155 ++
1 - 100 of 114 matches
Mail list logo