From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJNwy-0005ls-9X for qemu-devel@nongnu.org; Sat, 12 Dec 2009 04:07:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJNwt-0005l0-8k for qemu-devel@nongnu.org; Sat, 12 Dec 2009 04:07:39 -0500 Received: from [199.232.76.173] (port=50450 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJNws-0005kx-Uf for qemu-devel@nongnu.org; Sat, 12 Dec 2009 04:07:34 -0500 Received: from mail-yx0-f188.google.com ([209.85.210.188]:33870) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJNws-0007Zl-Hw for qemu-devel@nongnu.org; Sat, 12 Dec 2009 04:07:34 -0500 Received: by yxe26 with SMTP id 26so1590942yxe.4 for ; Sat, 12 Dec 2009 01:07:34 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Blue Swirl Date: Sat, 12 Dec 2009 11:07:14 +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 Thu, Dec 10, 2009 at 8:27 PM, Artyom Tarasenko wrote: > 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 ? Depends on the patches.