100644
index 000..618791c
--- /dev/null
+++ b/hw/arm/mk64fn1m0.c
@@ -0,0 +1,136 @@
+/*
+ * Kinetis K64 MK64FN1M0 microcontroller emulation.
+ *
+ * Copyright (c) 2017 Advantech Wireless
+ * Written by Gabriel Costa
+ *
+ * This program is free software; you can redistribute it and/or modify
--- /dev/null
+++ b/hw/misc/kinetis_k64_mcg.c
@@ -0,0 +1,208 @@
+/*
+ * Kinetis K64 peripheral microcontroller emulation.
+ *
+ * Copyright (c) 2017 Advantech Wireless
+ * Written by Gabriel Costa
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of
@@
+/*
+ * Kinetis K64 peripheral microcontroller emulation.
+ *
+ * Copyright (c) 2017 Advantech Wireless
+ * Written by Gabriel Costa
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 or
+ * (at your
u_log_mask and added
.valid.min_access_size and .valid.max_access_size
PATCH v6: misunderstood the process to add a new model, next patch will
include the changes in the Makefile in the same patch version.
regards,
Gabriel Costa (5):
arm: kinetis_k64_uart
arm: kinetis_k64_mcg
arm: ki
) 2017 Advantech Wireless
+ * Written by Gabriel Costa
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 or
+ * (at your option) any later version.
+ */
+
+#include "qemu/osdep.h"
+#include &q
Hi Fred,
I have added the .valid field like the bcm2835_aux.c file inside /hw/char.
Gabriel
On Fri, Oct 27, 2017 at 9:26 AM, KONRAD Frederic <
frederic.kon...@adacore.com> wrote:
>
>
> On 10/26/2017 12:34 PM, Gabriel Costa wrote:
>
>> From: Gabriel Augusto Costa
Hi Fred,
Here, I prefer keep the variables names to easy check the Reset default
values.
Gabriel
On Fri, Oct 27, 2017 at 9:20 AM, KONRAD Frederic <
frederic.kon...@adacore.com> wrote:
>
>
> On 10/26/2017 12:34 PM, Gabriel Costa wrote:
>
>> From: Gabriel Augusto Costa
ust be modified in 4/5 kinetis_k64_uart.
>
> Fred
>
>
> On 10/26/2017 12:34 PM, Gabriel Costa wrote:
>
>> From: Gabriel Augusto Costa
>>
>> This file change the Makefiles to compile the mk64fn1m0 machine.
>>
>> Signed-off-by: Gabriel Augusto Costa
>
hw/arm/mk64fn1m0.c
diff --git a/hw/arm/mk64fn1m0.c b/hw/arm/mk64fn1m0.c
new file mode 100644
index 000..618791c
--- /dev/null
+++ b/hw/arm/mk64fn1m0.c
@@ -0,0 +1,136 @@
+/*
+ * Kinetis K64 MK64FN1M0 microcontroller emulation.
+ *
+ * Copyright (c) 2017 Advantech Wireless
+ * Written by Gabriel
From: Gabriel Augusto Costa
This file change the Makefiles to compile the mk64fn1m0 machine.
Signed-off-by: Gabriel Augusto Costa
---
default-configs/arm-softmmu.mak | 1 +
hw/arm/Makefile.objs| 1 +
hw/char/Makefile.objs | 1 +
hw/misc/Makefile.objs | 3 +++
4
new file mode 100644
index 000..6421153
--- /dev/null
+++ b/hw/misc/kinetis_k64_system.c
@@ -0,0 +1,274 @@
+/*
+ * Kinetis K64 peripheral microcontroller emulation.
+ *
+ * Copyright (c) 2017 Advantech Wireless
+ * Written by Gabriel Costa
+ *
+ * This program is free software; you can
100644
index 000..654f96b
--- /dev/null
+++ b/hw/misc/kinetis_k64_mcg.c
@@ -0,0 +1,208 @@
+/*
+ * Kinetis K64 peripheral microcontroller emulation.
+ *
+ * Copyright (c) 2017 Advantech Wireless
+ * Written by Gabriel Costa
+ *
+ * This program is free software; you can redistribute it and/or
/kinetis_k64_uart.c
new file mode 100644
index 000..fc9327d
--- /dev/null
+++ b/hw/char/kinetis_k64_uart.c
@@ -0,0 +1,342 @@
+/*
+ * Kinetis K64 peripheral microcontroller emulation.
+ *
+ * Copyright (c) 2017 Advantech Wireless
+ * Written by Gabriel Costa
+ *
+ * This program is free software; you can
From: Gabriel Augusto Costa
Hi everyone,
I made a new arm machine with some peripherals.
The machine is mk64fn1m0, a cortex-m4 microcontroller from NXP Kinetis family.
I have prepared a series of patchs to include this machine:
PATCH v5 n/5: It adds the machine and peripherals devices;
PATCH v6
Hi Philippe,
Thanks for all your comments!
I will put all this corrections for the next patch, also I removed the
FlexTimer, it is not necessary to do this basic emulation.
Thanks,
Gabriel
On Fri, Oct 20, 2017 at 6:25 PM, Philippe Mathieu-Daudé
wrote:
> > +/*dev = sysbus_create_simple(TY
mode 100644
> > index 000..2eb1f5c
> > --- /dev/null
> > +++ b/include/hw/misc/kinetis_k64_sim.h
>
> I'd rather name it kinetis_k64_system.h or kinetis_k64_sysctl.h
>
> > @@ -0,0 +1,56 @@
> > +/*
> > + * Kinetis K64 peripheral microcontrol
Thanks,
I found an example in [Qemu-devel] and in the next time I will include it.
also, I note now that I did not put [Qemu-devel] and arm: in the messages.
Should I resend everything corrected?
On Fri, Oct 20, 2017 at 4:18 PM, Eric Blake wrote:
> On 10/20/2017 10:37 AM, Gabriel Augusto Costa
, I received an error about a build fail (among others, of course), I
believe that this happened because the first patch was not applied.
Regards to all,
Gabriel Costa
On Thu, Oct 19, 2017 at 1:02 PM, Peter Maydell
wrote:
> On 19 October 2017 at 13:50, wrote:
> > From: Gabriel Augu
18 matches
Mail list logo