From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NInkT-0005jd-Pf for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:28:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NInkP-0005eq-A6 for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:28:21 -0500 Received: from [199.232.76.173] (port=51853 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NInkO-0005eg-Sv for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:28:17 -0500 Received: from mail-yw0-f176.google.com ([209.85.211.176]:48959) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NInkP-0004lx-EL for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:28:17 -0500 Received: by ywh6 with SMTP id 6so61825ywh.4 for ; Thu, 10 Dec 2009 10:28:15 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Artyom Tarasenko Date: Thu, 10 Dec 2009 19:27:54 +0100 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] Re: [PATCH] sparc32 fix carry flag handling (Solaris bootblk fix) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel 2009/11/13 Blue Swirl : > On Fri, Nov 13, 2009 at 4:28 PM, Artyom Tarasenko > wrote: >>>> Could you describe the steps how to boot Solaris with OBP? I'm sure >>>> there are a lot of people who'd like to test if their favorite Sparc >>>> Solaris programs work on QEMU. >> >> Gathered things for which I currently have hacks here: >> http://tyom.blogspot.com/2009/11/things-missing-in-vanilla-qemu.html >> >> Actually for OBP itself it's just two (SS-5) or three (SS-20) things: >> >> - Floppy. Instead of fixing it, I broke it completely, so OBP doesn't >> try to initialize it and hang. Actually it maybe not the fdc itself, >> but the irq handling. There are OBP tests which may help to understand >> what is currently going wrong. I didn't need it, does the fdc actually >> work under linux/netbsd/OpenBIOS? > > Not at least Linux, IIRC Linux floppy driver is broken. FDC is wired a > bit differently from PC setup. We don't need it, but getting OBP just > to accept it would be nice. > >> - [SparcStation-5] 0x6e000000 AFX. OBP tries to access it and fails >> with "unassigned address exception". Is only present in the SS-5's >> TCX. The required address space is just one byte long. IMHO makes no >> sense to create a special stub device for it. Can we push it into the >> TCX? > > I'd put it to sun4m.c, there is similar device (idreg) already. Ok, I made one patch for fdc.c (it turned out that for SS5-only fix, a very small change is needed), and a small afx patch for sun4m.c . Shall I post them marked "for 0.12" or shall we do it in 0.13 ? -- Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/