[OpenBIOS] SPARC64 device tree model - SBUS or PCI?

Artyom Tarasenko atar4qemu at gmail.com
Mon Feb 27 11:10:12 CET 2012

On 2/26/12, Blue Swirl <blauwirbel at gmail.com> wrote:
> On Sun, Feb 26, 2012 at 12:13, Mark Cave-Ayland
> <mark.cave-ayland at ilande.co.uk> wrote:
>> Hi all,
>> I've been spending some time recently trying to figure out why the SPARC64
>> serial console doesn't appear to work outside of OpenBIOS under QEMU, and
>> so
>> was looking at the example device trees in the Debian sparc-utils package.
> Maybe on the real machine, serial console isn't using the 'su' devices
> (PC serial) but 'se' device which does not exist in QEMU?

Yes, at least Ultra-5 uses "se" ports for ttya and ttyb.

Linux, Solaris and NetBSD are able to handle zs, se and su ports. But
since qemu-sparc64 doesn't have a compatible IRQ controller, the
serial ports under qemu can be used only in polling mode. Or perhaps
via promlib.

>> Now AFAICT the examples/ultra2 file represents an Ultra 2 SBUS which is
>> different from QEMU which I believe is attempting to emulate an Ultra 2
>> PCI
>> (Sabre) system. I know there was some talk previously on the mailing list
>> about which device model to use moving forward, but I don't remember a
>> definite decision being made. If QEMU is going to continue to use a
>> PCI-based system, does anyone have a copy of the prtconf output for such a
>> system?
> IIRC we discussed earlier about using Ultra 5 which doesn't have a SBus.
>> ATB,
>> Mark.

Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/search/label/qemu

More information about the OpenBIOS mailing list