j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
On 25/01/13 20:54, Artyom Tarasenko wrote:
Thanks for doing this. So I've had a play with PearPC and I can make the CMD646ATA fail during its start method similar to the way that QEMU does by commenting out the IDE interface IRQ entry from the "interrupt-map" property. This seems to support my theory that the problem is related to interrupt mapping.
Looks very similar to sparc64/sun4u problems I struggled ~ a half a year ago.
Great - thanks for the insight!
Now AIUI g3beige is an "Old World" Mac and so the interrupt information should be held in the "AAPL,interrupts" property. I've verified that both QEMU and OpenBIOS calculate the irq_line in the same way (based upon device id), however I do see that some of the "AAPL,interrupts" values contain more than one integer. I wonder what this is supposed to represent?
Could it be that the irq line is wired to the interrupt controller not as a PCI irq line? Similarly to the sun4u machines? Have you looked in the Linux/PPC cmd646 driver for the insights?
I've checked in the QEMU/OpenBIOS source that the PCI irq_line is set correctly, and that does go through a Grackle <-> PCI IRQ mapping function so I would think it is okay.
Aside from ProgrammingKid's comments, AFAICT from my test images here the Linux CMD64x driver appears to be working okay - at least the driver loads and manages to probe the CDROM correctly.
ATB,
Mark.
Hi Mark,
On Sat, Jan 26, 2013 at 7:23 PM, Mark Cave-Ayland mark.cave-ayland@ilande.co.uk wrote:
On 25/01/13 20:54, Artyom Tarasenko wrote:
Thanks for doing this. So I've had a play with PearPC and I can make the CMD646ATA fail during its start method similar to the way that QEMU does by commenting out the IDE interface IRQ entry from the "interrupt-map" property. This seems to support my theory that the problem is related to interrupt mapping.
Looks very similar to sparc64/sun4u problems I struggled ~ a half a year ago.
Great - thanks for the insight!
Sorry for being unspecific. I've meant this discussions:
http://lists.openbios.org/pipermail/openbios/2012-April/006781.html http://lists.openbios.org/pipermail/openbios/2012-April/006783.html
Aside from ProgrammingKid's comments, AFAICT from my test images here the Linux CMD64x driver appears to be working okay - at least the driver loads and manages to probe the CDROM correctly.
At least something. I haven't looked into the qemu-ppc implementation of cmd646, does it support DMA? (qemu-sparc64 doesn't ant that's the reason why Linux cmd646 driver fails).
Artyom