From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8ZuE-0004Np-5m for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8ZuB-0004Jc-FP for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:37 -0500 Received: from [199.232.76.173] (port=36874 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8ZuB-0004JS-8K for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:35 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:65325) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8ZuA-0000EC-Nh for qemu-devel@nongnu.org; Fri, 05 Dec 2008 07:35:35 -0500 Message-ID: <49392015.7080209@opensuse.org> Date: Fri, 05 Dec 2008 13:35:33 +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