linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200B: Linux does not recognise the external PCI card
@ 2007-11-15 13:30 Juergen Beisert
  2007-11-15 13:49 ` Pedro Luis D. L.
  0 siblings, 1 reply; 5+ messages in thread
From: Juergen Beisert @ 2007-11-15 13:30 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

currently I'm trying to activate the PCI bus of my MPC5200B based card. U-Boot 
outputs:

[...]
PCI:   Bus Dev VenId DevId Class Int
        00  18  1033  0035  0c03  00
        00  18  1033  0035  0c03  00
        00  18  1033  00e0  00e0  00
        00  1a  1057  5809  0680  00
[...]

When I start Linux it outputs:

[...]
PCI: Probing PCI hardware
PCI: device 0000:00:18.0 has unknown header type 7f, ignoring.
mpc52xx_pci_fixup_resources() 1057:5809
[...]

and does not show the external card:

# lspci -v
00:1a.0 Bridge: Motorola Unknown device 5809
        Flags: bus master, 66MHz, medium devsel, latency 248
        Memory at a0000000 (32-bit, non-prefetchable) [size=256K]
        Memory at <unassigned> (32-bit, prefetchable)

Any idea what could cause this behavior?
Could this be an oftree related issue? Or something hardware only related?
The external slot is of 3.3V only type, running at 33 1/3 MHz.

If it is an oftree issue, can someone point me to some kind of documentation, 
what data I must provide in the
	pci@0d00 {
		....
	}
section?

Juergen

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

* RE: MPC5200B: Linux does not recognise the external PCI card
  2007-11-15 13:30 MPC5200B: Linux does not recognise the external PCI card Juergen Beisert
@ 2007-11-15 13:49 ` Pedro Luis D. L.
  2007-11-15 14:21   ` Juergen Beisert
  0 siblings, 1 reply; 5+ messages in thread
From: Pedro Luis D. L. @ 2007-11-15 13:49 UTC (permalink / raw)
  To: linuxppc-embedded



> From: jbe@pengutronix.de
> To: linuxppc-embedded@ozlabs.org
> Date: Thu, 15 Nov 2007 14:30:05 +0100
> Subject: MPC5200B: Linux does not recognise the external PCI card
>=20
> Hi,

Hello,


> currently I'm trying to activate the PCI bus of my MPC5200B based card. U=
-Boot=20
> outputs:
>=20
> [...]
> PCI:   Bus Dev VenId DevId Class Int
>         00  18  1033  0035  0c03  00
>         00  18  1033  0035  0c03  00
>         00  18  1033  00e0  00e0  00
>         00  1a  1057  5809  0680  00
> [...]
>=20
> When I start Linux it outputs:
>=20
> [...]
> PCI: Probing PCI hardware
> PCI: device 0000:00:18.0 has unknown header type 7f, ignoring.
> mpc52xx_pci_fixup_resources() 1057:5809
> [...]
>=20
> and does not show the external card:

Which card? Is its driver supported by the kernel? Is it enabled inside the=
 kernel image?
Did you add the PCI bridge in platform configuration file? I suppose so if =
there is a PCI probing test.
I added an external ethernet device and had no problem to made it work with=
 2.6.22 kernel.

Pedro.

> # lspci -v
> 00:1a.0 Bridge: Motorola Unknown device 5809
>         Flags: bus master, 66MHz, medium devsel, latency 248
>         Memory at a0000000 (32-bit, non-prefetchable) [size=3D256K]
>         Memory at  (32-bit, prefetchable)
>=20
> Any idea what could cause this behavior?
> Could this be an oftree related issue? Or something hardware only related=
?
> The external slot is of 3.3V only type, running at 33 1/3 MHz.
>=20
> If it is an oftree issue, can someone point me to some kind of documentat=
ion,=20
> what data I must provide in the
> 	pci@0d00 {
> 		....
> 	}
> section?
>=20
> Juergen
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/=

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

* Re: MPC5200B: Linux does not recognise the external PCI card
  2007-11-15 13:49 ` Pedro Luis D. L.
@ 2007-11-15 14:21   ` Juergen Beisert
  2007-11-15 14:31     ` Pedro Luis D. L.
  2007-11-18  0:51     ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Juergen Beisert @ 2007-11-15 14:21 UTC (permalink / raw)
  To: linuxppc-embedded

On Thursday 15 November 2007 14:49, Pedro Luis D. L. wrote:
> > [...]
> > PCI: Probing PCI hardware
> > PCI: device 0000:00:18.0 has unknown header type 7f, ignoring.
> > mpc52xx_pci_fixup_resources() 1057:5809
> > [...]
> >
> > and does not show the external card:
>
> Which card?

Its a NEC USB 2.0 card.

> Is its driver supported by the kernel?

I think so.

> Is it enabled inside the kernel image?

But until the card gets recognised it makes no sense to play with the driver.

> Did you add the PCI bridge in platform configuration file? I
> suppose so if there is a PCI probing test. I added an external ethernet
> device and had no problem to made it work with 2.6.22 kernel.

My kernel is a 2.6.23.1

Juergen

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

* RE: MPC5200B: Linux does not recognise the external PCI card
  2007-11-15 14:21   ` Juergen Beisert
@ 2007-11-15 14:31     ` Pedro Luis D. L.
  2007-11-18  0:51     ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Pedro Luis D. L. @ 2007-11-15 14:31 UTC (permalink / raw)
  To: linuxppc-embedded





------------------------------------------------------------------ Todas mi=
s chorradas alemanas en: http://carcadiz.blogspot.com ---------------------=
---------------------------------------------

----------------------------------------
> From: jbe@pengutronix.de
> To: linuxppc-embedded@ozlabs.org
> Date: Thu, 15 Nov 2007 15:21:41 +0100
> CC: carcadiz@hotmail.com
> Subject: Re: MPC5200B: Linux does not recognise the external PCI card
>=20
> On Thursday 15 November 2007 14:49, Pedro Luis D. L. wrote:
>>> [...]
>>> PCI: Probing PCI hardware
>>> PCI: device 0000:00:18.0 has unknown header type 7f, ignoring.
>>> mpc52xx_pci_fixup_resources() 1057:5809
>>> [...]
>>>
>>> and does not show the external card:
>>
>> Which card?
>=20
> Its a NEC USB 2.0 card.
>=20
>> Is its driver supported by the kernel?
>=20
> I think so.
>=20
>> Is it enabled inside the kernel image?
>=20
> But until the card gets recognised it makes no sense to play with the dri=
ver.

Does it? It looks to me that the kernel detects an attached device to the P=
CI interface, but doesn't know wich one.
May that be the reason why it says "PCI: device 0000:00:18.0 has unknown he=
ader type 7f, ignoring."?

>> Did you add the PCI bridge in platform configuration file? I
>> suppose so if there is a PCI probing test. I added an external ethernet
>> device and had no problem to made it work with 2.6.22 kernel.
>=20
> My kernel is a 2.6.23.1
>=20
> Juergen

Pedro.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/=

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

* Re: MPC5200B: Linux does not recognise the external PCI card
  2007-11-15 14:21   ` Juergen Beisert
  2007-11-15 14:31     ` Pedro Luis D. L.
@ 2007-11-18  0:51     ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2007-11-18  0:51 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: linuxppc-embedded

In message <200711151521.43047.jbe@pengutronix.de> you wrote:
>
> > Which card?
> 
> Its a NEC USB 2.0 card.

Are you absolutely sure that this card is 3.3V clean, i. e. that the
PCI slot on the Lite5200B provides all the needed voltages?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A supercomputer is a machine that runs an endless loop in 2 seconds.

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

end of thread, other threads:[~2007-11-18  0:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-15 13:30 MPC5200B: Linux does not recognise the external PCI card Juergen Beisert
2007-11-15 13:49 ` Pedro Luis D. L.
2007-11-15 14:21   ` Juergen Beisert
2007-11-15 14:31     ` Pedro Luis D. L.
2007-11-18  0:51     ` Wolfgang Denk

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).