[OpenBIOS] QEMU old Mac work

Howard Spoelstra hsp.cat7 at gmail.com
Wed Aug 10 11:26:48 CEST 2016

> On 09 Aug 2016, at 13:55, Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> On Tue, 2016-08-09 at 09:15 +0200, Howard Spoelstra wrote:
>> Hi, I tested both OpenBIOS and Qemu from your branches in OSX, using mac model mac99p. Terminal says: 
>> MACIO: Creating PMU
>> qemu-system-ppc-wip: Unknown device 'via-pmu' for default sysbus
> Check you updated the qemu config. I added a new device, you need CONFIG_MAC_PMU,
> the qemu build system won't pick that up automatically.
> I don't remember how I did it, I think make defconfig or something like that..
> Cheers,
> Ben.
Great to see Leopard running. Nice work!

I fixed the error by adding CONFIG_MAC_PMU=y to the default config for ppc-softmmu.mak
Builds from your source fix the USB problem in OpenBIOS mainline needing the -device ich9-usb-uhci1,id=newusb -device usb-mouse,bus=newusb.0 to get mouse/kb going in 10.5.
Leopard now has mouse/keyboard working without any specific USB parameters.

I notice the problem in Puma (10.1) It seems there is some timer error?, as e.g., the time remaining for installation fluctuates like crazy (1600 hrs to go), and the beachball spins like mad. At boot there is a too rapid succession of “still waiting for boot device” . Just guessing, but might a timing issue also explain the slowness of Leopard?


More information about the OpenBIOS mailing list