On Wed, Aug 1, 2012 at 6:48 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > On Wed, Aug 1, 2012 at 6:42 AM, Miguel Ángel Álvarez > <caronteycerbero@xxxxxxxxx> wrote: >> Dear all, >> >> We are developing a board using a Freescale P2020. This micro has >> three PCIexpress ports. 2 1xlane PCIe and 1 2xlane PCIe. >> >> We have been able to successfully use the PCIe interfaces. >> >> However, now we want to expand the number of PCIe slots connecting the >> 2xlane PCIe to a PCIe switch (89HPES6T5E). This switch offers a 2xlane >> upstream port and 4 1xlane downstream ports. >> >> The problem is that we do not really know how PCIe switches are >> managed in Linux. If any of you can recommend us some resources to >> read, we will appreciate it very much. > > pcie switch should show as three or more pci bridges in the pci tree. > OK. >> >> If there is no information to read, let me describe our main problem. >> >> The question is that if I let u-boot scan the PCIe, the upstream and >> downstream ports are detected as well as the cards connected to the >> downstream port. However when u-boot launches Linux, this last just >> finds a device (the HPES6T5E), and none of the downstream ports or >> card connected to them. >> >> >> I know that the problem could be in the u-boot, so I am trying to >> analyse its code also... but I think there could be something in Linux >> I am not taking into account yet. > > can you post whole log with pci debug enabled? > Which one? The one in which the switch is detected by the u-boot or the one in which the switch is detected by the Linux? Thanks Miguel Ángel -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html