MPC5200B: Linux does not recognise the external PCI card
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
Quoted 8 lines
From: [email protected]
To: [email protected]
Date: Thu, 15 Nov 2007 14:30:05 +0100
Subject: MPC5200B: Linux does not recognise the external PCI card =20
Hi,
Hello,
Quoted 1 line
currently I'm trying to activate the PCI bus of my MPC5200B based card. U=
-Boot=20
Quoted 8 lines
outputs:
=20
[...]
PCI: Bus Dev VenId DevId Class Int00 18 1033 0035 0c03 00 00 18 1033 0035 0c03 00 00 18 1033 00e0 00e0 00 00 1a 1057 5809 0680 00
Quoted 11 lines
[...]
=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.
Quoted 8 lines
# 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=?
Quoted 3 lines
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
Quoted 11 lines
what data I must provide in the
pci@0d00 { .... }section?
=20
Juergen
_______________________________________________
Linuxppc-embedded mailing list [email protected]
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/=
Quoted 9 lines · Pedro Luis D. L.
Quoted 7 lines
[...]
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.
Quoted 1 line
Is its driver supported by the kernel?
I think so.
Quoted 1 line
Is it enabled inside the kernel image?
But until the card gets recognised it makes no sense to play with the driver.
Quoted 3 lines
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
------------------------------------------------------------------ Todas mi= s chorradas alemanas en: http://carcadiz.blogspot.com ---------------------=
---------------------------------------------
----------------------------------------
Quoted 19 lines
From: [email protected]
To: [email protected]
Date: Thu, 15 Nov 2007 15:21:41 +0100
CC: [email protected]
Subject: Re: MPC5200B: Linux does not recognise the external PCI card =20Quoted 9 lines · Pedro Luis D. L.
Quoted 7 lines
[...]
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
Quoted 7 lines
Quoted 1 line
Is its driver supported by the kernel?
=20
I think so.
=20Quoted 1 line
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."?
Quoted 7 lines
Quoted 3 lines
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/=
Quoted 4 lines · In message <[email protected]> you wrote:
Quoted 2 lines
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
Signature · 4 lines
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: [email protected] A supercomputer is a machine that runs an endless loop in 2 seconds.