From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8Zu5-0004Au-7H for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8Zu4-00049p-CR for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:28 -0500 Received: from [199.232.76.173] (port=36870 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8Zu4-00049e-5r for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:28 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:63621) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8Zu3-0000Ba-2n for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:27 -0500 Message-ID: <49392001.6000806@5etech.eu> Date: Fri, 05 Dec 2008 13:35:13 +0100 From: Martin Mohring MIME-Version: 1.0 Subject: Re: [Qemu-devel] ARMv6 el + vfp: User Mode signals uncaught target signal 4 (Illegal instruction) References: <4938FFCC.3070909@opensuse.org> <761ea48b0812050355x6adaea49nd9434a41bcd8f765@mail.gmail.com> In-Reply-To: <761ea48b0812050355x6adaea49nd9434a41bcd8f765@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Laurent Desnogues wrote: > On Fri, Dec 5, 2008 at 11:17 AM, Martin Mohring > wrote: > >> I put together a qemu from recent svn trunk -r 5862. >> >> when running armv6 eabi + vfp binaries in user mode emulation, i get: >> >> qemu: uncaught target signal 4 (Illegal instruction) - exiting >> >> running the same compiled for armv5 eabi + vfp works. I use the binaries >> from mojo (mojo.handhelds.org) project, they ported Ubuntu 8.04 to arm. >> They also have a compiled version for ARMv6 + VFP, which I wanted to try >> in the openSUSE Buildservice. >> > > You should specify the CPU when launching qemu. Look at "qemu -cpu ?" > output and select the right one. You probably want -cpu arm1136. > I use qemu user mode, and call qemu with host linux kernels binfmt handler. How do I specify the cpu type there? Or must I compile in the "default cpu type" somehow? > >> How do I find out whats wrong? From the source code, I would guess qemu >> is implemented up to ARMv7, right? >> > > Yes ARMv7 is in, including NEON. > > I thought that, from looking into the code. I was sure I missed something... Martin