help debugging linux setting PLX Gen2 PCIe switches to gen1 speed
ayman at elkhashab.com
Wed Feb 9 06:19:13 EST 2011
I've got a custom 460SX board with PLX gen2 (8616) switches.
When u-boot comes up everything is fine and my switches are indicating they
are in Gen2 PCIe mode. If I let it boot my linux kernel (denx 188.8.131.52), boot
almost immediately, the LEDs on my switches start to blink indicating they
have are now at Gen1 speed. I've turned on debug in ppc4xx_pci.c but don't see
anything obvious. As far as when it happens, it looks like the last message
to the console is "uncompressing kernel" and then the LEDs start blinking.
seems that it indicates it is very early. I've also tried removing all the PCIe
from the device tree, but that did not matter.
In the data sheet it indicates that PEDSRn_RCEI can change the advertised rate.
I've disabled that in the code, but it did not make any difference.
I am just not sure where things are getting switched over. Any help would be
More information about the Linuxppc-dev