Re: Is OpenPIC mandatory for an ofppc-machine?

Frank Wille <[email protected]> Sat, 06 Sep 2014 11:40:17 +0200
Newsgroups gmane.os.netbsd.ports.ofppc
Organization Privates Internet Ostwestfalen/Lippe e.V.
Message-ID <[email protected]>
Artyom Tarasenko wrote:

> experimenting with Open Firmware for QEMU PReP target.
> [...]
> And here it hangs. Saw in some boot logs openpic initialization here.
> QEMU uses an i8259, can this be the reason?

Does QEMU PReP really emulate OpenFirmware correctly? There must be an
OFW-tree entry with a name or device_type of "interrupt-controller".
NetBSD/ofppc works with the Pegasos 2, which is an OpenFirmware machine
with i8259 PIC. So theoretically it should work.

OFW PIC detection is in src/sys/arch/powerpc/pci/pci_machdep_ofw.c
genofw_find_ofpics().

-- 
Frank Wille