From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOdK6-0000wn-Uk for qemu-devel@nongnu.org; Mon, 01 Sep 2014 21:55:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOdK6-0000Gh-51 for qemu-devel@nongnu.org; Mon, 01 Sep 2014 21:55:54 -0400 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:41307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOdK5-0000GZ-TB for qemu-devel@nongnu.org; Mon, 01 Sep 2014 21:55:54 -0400 Received: by mail-oi0-f54.google.com with SMTP id a3so4042684oib.27 for ; Mon, 01 Sep 2014 18:55:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Alistair Francis Date: Tue, 2 Sep 2014 11:55:22 +1000 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [PATCH v1 0/5] Netduino Plus 2 Machine Model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Peter Crosthwaite , QEMU Developers , Konstanty Bialkowski On Tue, Sep 2, 2014 at 2:39 AM, Peter Maydell wrote: > On 24 August 2014 01:13, Alistair Francis wrote: >> 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. > > That does make things a bit awkward. I don't really want to > add something that claims to be a model of board X if in > fact it won't run anything that isn't specifically built for > "QEMU's deficient model of board X". It seems to me that > would just be a recipe for lots of user complaints... So the only way you would take this machine is with Cortex-M4 support? I agree it is a bit awkward, but at the moment it is the best I have. I am going to look into the Netduino 2 as well, as that uses a Cortex-M3, but I'm not sure how similar everything else is. It's my understanding that the FPU in the Cortex-M4 is optional (as in not every M4 has it). Does this mean that the only differences between a M3 and M4 in QEMU would be registers and instructions for DSP? Thanks, Alistair > > thanks > -- PMM