[OpenBIOS] G3Beige OpenFirmware Tree?

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Thu Jan 24 21:40:12 CET 2013


On 24/01/13 00:27, Amadeusz Sławiński wrote:

> Not sure if it will be of any help, but I stumbled upon this one:
> http://johannes.sipsolutions.net/PowerBook/openfirmware-device-tree
> it's g4 powerbook
>
> you probably need to boot it like:
> qemu-system-ppc -bios openbios-qemu.elf -drive file=cd.img,media=cdrom,index=1,if=ide -g 800x600x32 -m 512 -boot order=d -prom-env "auto-boot?=false"
>
> if you check
> dev /aliases .properties
> there should be ide1 which will be similar to
> cd                      /pci at f2000000/mac-io at 17/ata-3 at 20000/disk at 0
> from powerbook tree
>
> boot ide1:,\\:tbxi
> there won't be one of failures related to ata-3 in debug output, however
> it still seems to stop in almost the same way

Yeah that doesn't have the Grackle PCI bridge on it which is what I'm 
trying to look at.

Interestingly enough I've now managed to get PearPC working, and that 
does manage to detect the CDROM during Darwin installation. So I'm 
having a look at the device tree there for clues.

One thing that is interesting is that PearPC has an extra PCI bridge 
between the PCI node and the CMD646 Controller, e.g.

/pci/pci-bridge/pci-ata/ata-4

compared to:

/pci/pci-ata/ata-1

I'm wondering what the actual device model in QEMU is, i.e. is it a 
problem with the PCI bridge being added directly to the PCI node by 
OpenBIOS as an accident during probing, or whether this is how QEMU 
actually models the hardware.


ATB,

Mark.



More information about the OpenBIOS mailing list