Re: [Qemu-devel] [PING][PATCH] Added the -m flag feature to stellaris boards

2016-04-14 Thread Aurelio Remonda
Hello Peter, have you had a chance to look at this? On Mon, Mar 28, 2016 at 3:15 PM, Aurelio Remonda <aurelio.remo...@tallertechnologies.com> wrote: >>> #define NUM_IRQ_LINES 64 >>> +#define LM3S811EVB_DEFAULT_DC0 0x1f00 /* Default value for dc0 >>&g

Re: [Qemu-devel] [PING][PATCH] Added the -m flag feature to stellaris boards

2016-04-14 Thread Aurelio Remonda
Ok, but I explained my decisions on a the mail dated 03/28, responding on your mail dated 03/23 maybe you missed that mail. Thanks!

[Qemu-devel] QEMU singlestep

2016-03-29 Thread Aurelio Remonda
gdb step or stepi. Just to make it clear: I know qemu supports debugging with gdb with target remote localhost:1234, my question aims to control the execution with QEMU/monitor. Thanks! -- Aurelio Remonda Taller Technologies Argentina Software Engineer San Lorenzo 47, 3rd Floor, Office 5

Re: [Qemu-devel] [PING][PATCH] Added the -m flag feature to stellaris boards

2016-03-28 Thread Aurelio Remonda
to see ff00 rather than 65280, or 1f00 instead of 7936. These values are fixed as default values to match the dc0 default value on each board. In the case of LM3S811EVB the value is aligned up and you get a ram size of 8192 but your dc0 will still be 0x001f001f. In the other board LM3S6965EVB the

[Qemu-devel] [PING][PATCH] Added the -m flag feature to stellaris boards

2016-03-21 Thread Aurelio Remonda
this on the LM3S6965evb doing a full system emulation. I couldn't try this on the LM3S811EVB since I am using RTEMS and it does not support that board. Signed-off-by: Aurelio Remonda <aurelio.remo...@tallertechnologies.com> --- hw/arm/stellaris.c | 38 +++

[Qemu-devel] [PATCH] Added the -m flag feature to stellaris boards

2016-03-15 Thread Aurelio Remonda
this on the LM3S6965evb doing a full system emulation. I couldn't try this on the LM3S811EVB since I am using RTEMS and it does not support that board. Signed-off-by: Aurelio Remonda <aurelio.remo...@tallertechnologies.com> --- hw/arm/stellaris.c | 38 +++

Re: [Qemu-devel] Memory on stellaris board

2016-03-11 Thread Aurelio Remonda
on dc0. Again the problem of this es that you will never get the manual default dc0 value even if you run the program without the -m flag. Thanks On Wed, Mar 9, 2016 at 10:54 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 10 March 2016 at 07:23, Aurelio Remonda > &

Re: [Qemu-devel] Memory on stellaris board

2016-03-09 Thread Aurelio Remonda
El 9 mar. 2016 8:25 PM, "Peter Maydell" <peter.mayd...@linaro.org> escribió: > > On 10 March 2016 at 03:56, Aurelio Remonda > <aurelio.remo...@tallertechnologies.com> wrote: > > > > > > On Mon, Mar 7, 2016 at 8:37 PM, Peter Maydell <peter.mayd

Re: [Qemu-devel] Memory on stellaris board

2016-03-09 Thread Aurelio Remonda
On Mon, Mar 7, 2016 at 8:37 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > > On 8 March 2016 at 02:58, Aurelio Remonda > <aurelio.remo...@tallertechnologies.com> wrote: > > Hello, sorry for taking so long, I am working on this again. > > About your last resp

Re: [Qemu-devel] Memory on stellaris board

2016-03-07 Thread Aurelio Remonda
On Thu, Feb 11, 2016 at 10:01 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 11 February 2016 at 12:46, Aurelio Remonda > <aurelio.remo...@tallertechnologies.com> wrote: > > On Fri, Feb 5, 2016 at 2:00 PM, Peter Maydell <peter.mayd...@linaro.org> >

Re: [Qemu-devel] Memory on stellaris board

2016-02-11 Thread Aurelio Remonda
On Fri, Feb 5, 2016 at 2:00 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 5 February 2016 at 16:55, Aurelio Remonda > <aurelio.remo...@tallertechnologies.com> wrote: >> Im making something like this: >> >> if (ram_size == 0x800) /*

Re: [Qemu-devel] Memory on stellaris board

2016-02-05 Thread Aurelio Remonda
of set_memory_options function) i can use it instead of hardcoded 0x800. Thanks! On Wed, Feb 3, 2016 at 10:45 AM, Aurelio Remonda <aurelio.remo...@tallertechnologies.com> wrote: > On Wed, Feb 3, 2016 at 10:34 AM, Peter Maydell <peter.mayd...@linaro.org> > wrote: >> On 3 February 2016 a

Re: [Qemu-devel] Memory on stellaris board

2016-02-05 Thread Aurelio Remonda
El 5 feb. 2016 1:24 PM, "Peter Maydell" <peter.mayd...@linaro.org> escribió: > On 5 February 2016 at 16:09, Aurelio Remonda > <aurelio.remo...@tallertechnologies.com> wrote: > > Hello, im working on this feature right now. > > i have a working patch b

Re: [Qemu-devel] Memory on stellaris board

2016-02-03 Thread Aurelio Remonda
On Wed, Feb 3, 2016 at 10:34 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 3 February 2016 at 13:00, Aurelio Remonda > <aurelio.remo...@tallertechnologies.com> wrote: >> Hello, i was trying to understand how does the sram and flash size >> works on lm

[Qemu-devel] Memory on stellaris board

2016-02-03 Thread Aurelio Remonda
ing the same sram_size and flash_size values (the ones calculated with 0x00ff007f) Thank you!! -- Aurelio Remonda Software Engineer San Lorenzo 47, 3rd Floor, Office 5 Córdoba, Argentina Phone: +54-351-4217888 / 4218211

Re: [Qemu-devel] [PATCH V3] Target-arm: Add the Cortex-M4 CPU

2015-06-16 Thread aurelio remonda
Thank you! Im working on it El 16/6/2015 8:21, Peter Maydell peter.mayd...@linaro.org escribió: On 15 June 2015 at 21:31, Aurelio C. Remonda aurelioremo...@gmail.com wrote: This patch adds the Cortex-M4 CPU. The M4 is basically the same as the M3, the main differences being the DSP

Re: [Qemu-devel] [PATCH V3] Target-arm: Add the Cortex-M4 CPU

2015-06-16 Thread aurelio remonda
about the space between ARMCPU *cpu = ARM_CPU(obj); line and the first set_feature, the cortex-m3 initfn does not have it, do you want me to change that one too? Thanks 2015-06-16 9:29 GMT-03:00 Liviu Ionescu i...@livius.net: On 16 Jun 2015, at 14:21, Peter Maydell peter.mayd...@linaro.org

Re: [Qemu-devel] [PATCH V4] Target-arm: Add the Cortex-M4 CPU

2015-06-16 Thread aurelio remonda
Thank you! 2015-06-16 11:20 GMT-03:00 Peter Maydell peter.mayd...@linaro.org: On 16 June 2015 at 14:37, Aurelio C. Remonda aurelioremo...@gmail.com wrote: This patch adds the Cortex-M4 CPU. The M4 is basically the same as the M3, the main differences being the DSP instructions and an optional

Re: [Qemu-devel] [PATCH] Target-arm: Add the Cortex-M4 CPU

2015-05-30 Thread aurelio remonda
if (op 4) { /* Saturating add/subtract. */ +if (!(arm_dc_feature(s, ARM_FEATURE_THUMB_DSP))){ +/* qsub, qadd, qdadd, qdsub are DSP instructions. */ +goto illegal_op; +}

Re: [Qemu-devel] [PATCH] Target-arm: Add the Cortex-M4 CPU

2015-05-29 Thread aurelio remonda
2015-05-28 18:22 GMT-03:00 Liviu Ionescu i...@livius.net: On 29 May 2015, at 00:09, Aurelio C. Remonda aurelioremo...@gmail.com wrote: The optional FPU in the M4 could be added in the future as a Cortex-M4F CPU. in my implementation I had a single name (cortex-m4) and some flags, but a

Re: [Qemu-devel] [ARM]: Adding support for Cortex-M4

2015-05-28 Thread aurelio remonda
...@linaro.org: On 26 May 2015 at 18:13, aurelio remonda aurelioremo...@gmail.com wrote: There are 85 instructions labeled as DSP (all of them thumb2), im just testing on disas_thumb2_insn if the feature is enabled before the instruction is generated.i.e. if (!arm_dc_feature(s, ARM_FEATURE_DSP)) goto

Re: [Qemu-devel] [ARM]: Adding support for Cortex-M4

2015-05-26 Thread aurelio remonda
Manual (there's s table of dsp instructions on page 33) and this http://www.lpcware.com/system/files/1100969_Cortex-Inst.jpg as reference. 2015-05-26 12:36 GMT-03:00 Peter Maydell peter.mayd...@linaro.org: On 26 May 2015 at 16:29, aurelio remonda aurelioremo...@gmail.com wrote: Im working

Re: [Qemu-devel] [ARM]: Adding support for Cortex-M4

2015-05-26 Thread aurelio remonda
Im working on the ARM_FEATURE_DSP. I could use some help to add it to the other CPUs that use it, maybe if someone can provide me with a list of them i could add the feature.

Re: [Qemu-devel] [ARM]: Adding support for Cortex-M4

2015-05-12 Thread aurelio remonda
Im using lm3s6965evb stellaris board, trying to make it work as an M4, i would like to separate them, adding an dsp feature (i.e ARM_FEATURE_DSP) could work? the problem is if this feature is added it has to be set on all the cpus that use dsp instructions.

Re: [Qemu-devel] [ARM]: Adding support for Cortex-M4

2015-05-07 Thread aurelio remonda
cores, but not for M ones. Is this a bug or im missing something? If our cortex-m3 model doesn't fault on an instruction that's not implemented in the M3 then that's a bug, yes. If you provide more detail we can fix it. 2015-05-05 9:52 GMT-03:00 aurelio remonda aurelioremo...@gmail.com: Hi, i would

[Qemu-devel] [ARM]: Adding support for Cortex-M4

2015-05-05 Thread aurelio remonda
Hi, i would like to to add support for cortex-m4 on qemu. Most features of the Cortex-M3 and M4 are the same with the significant difference that Cortex-M4 has DSP extensions and optional FPU. Even so, i really need some pointers for this (im a newbie on qemu devel). I found out that qemu can