From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N93HE-0004Nw-12 for qemu-devel@nongnu.org; Fri, 13 Nov 2009 16:01:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N93H9-0004KZ-MF for qemu-devel@nongnu.org; Fri, 13 Nov 2009 16:01:51 -0500 Received: from [199.232.76.173] (port=47965 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N93H9-0004KW-Dw for qemu-devel@nongnu.org; Fri, 13 Nov 2009 16:01:47 -0500 Received: from mail-yx0-f188.google.com ([209.85.210.188]:50340) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N93H8-00069O-NB for qemu-devel@nongnu.org; Fri, 13 Nov 2009 16:01:46 -0500 Received: by yxe26 with SMTP id 26so3203951yxe.4 for ; Fri, 13 Nov 2009 13:01:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Blue Swirl Date: Fri, 13 Nov 2009 23:01:25 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 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: Artyom Tarasenko Cc: qemu-devel 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. > - [SparcStation-20] 0xef8010000 DBRI, 0x9000X00X FCode SIMMs. > "unassigned address exception". > > AFX, DBRI and FCode SIMMs can be implemented as stubs. Yet better > would be if SBUS probing would do a proper fault. This devices seem to > be optional. > DBRI audio could be useful, even though cs4231 does not work.