qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] sparc32 fix carry flag handling (Solaris bootbl


From: Blue Swirl
Subject: [Qemu-devel] Re: [PATCH] sparc32 fix carry flag handling (Solaris bootblk fix)
Date: Fri, 13 Nov 2009 23:01:25 +0200

On Fri, Nov 13, 2009 at 4:28 PM, Artyom Tarasenko
<address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]