From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvtfX-0004f2-Bh for qemu-devel@nongnu.org; Sun, 07 Jul 2013 14:26:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvtfW-0004iu-3X for qemu-devel@nongnu.org; Sun, 07 Jul 2013 14:26:43 -0400 Received: from mail-ye0-f175.google.com ([209.85.213.175]:45574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvtZc-00036o-2F for qemu-devel@nongnu.org; Sun, 07 Jul 2013 14:20:36 -0400 Received: by mail-ye0-f175.google.com with SMTP id q8so1380917yen.20 for ; Sun, 07 Jul 2013 11:20:35 -0700 (PDT) Date: Thu, 04 Jul 2013 07:18:11 -0500 From: Rob Landley References: <1372385337.2776.153@driftwood> <51CE03D4.1050505@ilande.co.uk> <51CF4394.2030909@caramail.com> In-Reply-To: <51CF4394.2030909@caramail.com> (from odanet@caramail.com on Sat Jun 29 15:29:08 2013) Message-Id: <1372940291.6645.0@driftwood> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Openbios upgrade broke sparc32 linux. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Olivier Danet Cc: Blue Swirl , Mark Cave-Ayland , qemu-devel@nongnu.org On 06/29/2013 03:29:08 PM, Olivier Danet wrote: > How embarrassing... >=20 > - QEMU 1.5.1 can boot Debian Etch (kernel 2.6.18), RedHat 4.2 (kernel =20 > 2.0.30), NetBSD 6.1 and OpenBSD 5.3. >=20 > - Your image (Linux 3.8) can be started with a TurboSparc CPU : > qemu -cpu "Fujitsu MB86907". Yay! That fixes it. Thanks. > - My SparcStation-5 has a 110MHz MicroSPARC-II and the .attributes =20 > (aka .properties) fields are identical > to OpenBIOS values, except for the mask_rev : I have 0x26, OpenBIOS =20 > sets 0x23 >=20 > Before the patch, OpenBIOS had an incoherence between the PSR =20 > register content and the BIOS defined values. > In Linux "arch/sparc/mm/srmmu.c:get_srmmu_type(void)", this =20 > correspond to "a TurboSparc emulating Swift". > (Swift is the MS-2). >=20 > TurboSPARC could be the new QEMU default, but, ideally, the MS-II =20 > should be preferred > as it is compatible with more OSes ( hoping to run NextStep in QEMU =20 > one day ...). >=20 > Maybe recent Linux kernels are not compatible with the way QEMU =20 > emulates the MS-II... Or it could require a config tweak to the kernel, or some -mtune a =20 compile time. I'm happy enough with a different -cpu for sparc: I just =20 want to run the thing to natively compile software under emulation and =20 avoid more cross compiling. Thanks, Rob=