linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* FireWire on Apple PowerBook PISMO
@ 2000-05-05 11:18 Albrecht Dre_
  2000-05-11 12:54 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Albrecht Dre_ @ 2000-05-05 11:18 UTC (permalink / raw)
  To: FireWire devel; +Cc: LinuxPPC-Dev Liste, tas


Hi!

With the information from some people on the LinuxPPC list, I was able to talk
to the FireWire OHCI controller in the new Apple PowerBook (PISMO).  I had to
add the vendor/device id of the chip and (as usual, as OpenFirmware does not do
it) add a few lines to enable the pci device.  The "basic" startup seems to
work, but any further operation (e.g. testlibraw) hangs.  Maybe one of the FW
gurus can tell me from the logs below what is missing?

Thanks, Albrecht.


from lspci:
00:0e.0 FireWire (IEEE 1394): Apple Computer Inc.: Unknown device 0018 (rev 01)
(prog-if 10)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 40
	Region 0: Memory at f5000000 (32-bit, non-prefetchable) [disabled]

from /var/log/messages:
ieee1394: registered ohci1394 driver, initializing now
ohci1394: looking for Ohci1394 cards
ohci1394_0: allocated interrupt 40
ohci1394_0: The 1st byte at offset 0x404 is: 0x31
ohci1394_0: remapped memory spaces reg 0xdc8b1000
ohci1394_0: soft reset finished
ohci1394_0: max packet size = 2048 bytes
ohci1394_0: 4 iso contexts available
ohci1394_0: Receive DMA ctx=2 initialized
ohci1394_0: Receive DMA ctx=0 initialized
ohci1394_0: Receive DMA ctx=1 initialized
ohci1394_0: AT dma ctx=0 initialized
ohci1394_0: AT dma ctx=1 initialized
ohci1394_0: request csr_rom address: D4A8DC00
ohci1394_0: Cancel request received
ohci1394_0: resetting bus on request and attempting to become root
ieee1394: detected 1 ohci1394 adapter
ohci1394_0: SelfID process finished (phyid 1, root)
ohci1394_0: selfid packet 0x807f8494 rcvd
ohci1394_0: selfid packet 0x817f84d2 rcvd
ohci1394_0: This node self-id is 0x817f84d2
ohci1394_0: calling self-id complete


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FireWire on Apple PowerBook PISMO
  2000-05-05 11:18 FireWire on Apple PowerBook PISMO Albrecht Dre_
@ 2000-05-11 12:54 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2000-05-11 12:54 UTC (permalink / raw)
  To: Albrecht Dreß, LinuxPPC-Dev Liste


On Fri, May 5, 2000, Albrecht Dreß <ad@mpifr-bonn.mpg.de> wrote:

>With the information from some people on the LinuxPPC list, I was able
to talk
>to the FireWire OHCI controller in the new Apple PowerBook (PISMO).  I had to
>add the vendor/device id of the chip and (as usual, as OpenFirmware does
>not do
>it) add a few lines to enable the pci device.  The "basic" startup seems to
>work, but any further operation (e.g. testlibraw) hangs.  Maybe one of the FW
>gurus can tell me from the logs below what is missing?

OF does it, but will undo it when "quiesce" is called (like for the USB
controllers). This is a safety to make sure the chip is no longer bus
mastering when the OS relocates itself.

A strange thing is that the address 0xf5000000 looks more like an IO
region than a memory region, but this may not be a problem actually. (the
cell is inside the north bridge which has a weird PCI management.

It's possible that, like the GMAC ethernet (which is also inside Apple
ASIC), the device clock need to be enabled in the memory controller. You
can try to look at OF methods for it to see what's up.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-11 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-05 11:18 FireWire on Apple PowerBook PISMO Albrecht Dre_
2000-05-11 12:54 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).