[U-Boot] Question about PCIe configuration

Swarthout Edward L-SWARTHOU SWARTHOU at freescale.com
Thu Oct 7 07:39:15 CEST 2010


From: Carlos Roberto Moratelli
> 
> I am trying to map a PCIe peripherical on my MPC8536 custom board.
> The peripherical is on PCIe1 port. 

Is this still an issue?

>    pci_init_board: devdisr=40900, sdrs2_io_sel=7, io_sel=7
>     Serdes2 disalbed

That is fine.

>     PCIE3: disabled
> 
>     PCIE1: disabled

This is the problem.  Check:

	pcie_configured = is_serdes_configured(PCIE1);
	if (pcie_configured && !(devdisr & MPC85xx_DEVDISR_PCIE))

in your board file.

> 
>     PCIE2: disabled
> 
>     PCI: 32 bit, 66 MHz, sync, host, arbiter (base address ffe08000)
...
>                Scanning PCI bus 00
>     PCIE1 on bus 00 - 00

This is a code bug, it really should say is PCI1 and not PCIE1.


> Running pci command I can see:
> 
> => pci
> Scanning PCI devices on bus 0
> BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
> _____________________________________________________________
> 00.00.00   0x1957     0x0050     Processor               0x20
> 
> I don't know if I am correct, but I understand that the PCIe 
> controller identify itself. However, the PCIe peripherical was not
found. 

You need to figure out why "PCIE1: disabled" is occurring

-Ed Swarthout



More information about the U-Boot mailing list