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@f2000000/mac-io@17/ata-3@20000/disk@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.
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.