@derfs
First of all what is gpu.rom, where did you get that and why is it needed? Can't it use the ROM on the card? It may need to be enabled from the host or QEMU run as root, I don't know but I'd just want to make sure the gpu.rom you're using is matching the card and should work at all.
The pegasos2 version at least tries to run the BIOS so it can at least see the card. Did you try to boot anyway and see what happens when the AmigaOS or MorphOS driver starts and if it can init the card itself? Since you have to type the boot command for pegasos2 you need to find out how to get input to the machine with a passed through card. Normally if you type in the window opened by QEMU that goes to the VM but I'm not sure what happens if you only have a passed through graphics card. Do you still have a QEMU window where you can type? If not you may try to add another graphics card such as -device VGA,romfile="" just to have a window where you can type the " /failsafe" io command or the boot command to get past the firmware and see what the OS driver can do with the passed through card, it would ignore the VGA device so that should not be a problem.
The sam460ex case does not seem to work at all, likely because we need more of the PCIe controller emulated. In the info qtree output the ROM is mapped at 0xa0000000 but if you check info mtree there's nothing there. Probably we need similar PCI windows for the PCIe bus that we have for PCI bus but I'm not sure which registers should control that. As I said I have no docs on 460EX so could only consult similar chips and those may work differently. The PCIe controller emulation is implemented at the very end of
https://gitlab.com/qemu-project/qemu/- ... r/hw/ppc/ppc440_uc.c#L764 in case sombody wants to try to fix it just drop me an email if you work on it to avoid duplicated work.
Even if the sam460ex PCIe controller emulation would be fixed the CPU emulation on sam460ex is slower than on pegasos2. I've found the reason (related to software TLB emulation) but fixing it would need some more investigation and time so it's not likely it would be fixed in next QEMU release which means it may only be improved in 8.2 due in December so I think if it works with pegasos2 that may be better for now but you may have better luck with a PCI card than a PCIe card on pegasos2