[U-Boot] u-boot-2011.12 QorIQ P1013 + XIO2001 PCIE-PCI Bridge

BRUNMAYR Peter Peter.BRUNMAYR at frequentis.com
Wed Jul 11 13:27:25 CEST 2012


I'm porting the u-boot-2011.12 to our new board consisting of a QorIQ P1013 connected to a XIO2001 PCIE-PCI bridge from TI. I configured the u-boot in the following way (only PCIE relevant defines):

/*--- General PCI --------------------------------------------------------------------*/
#define CONFIG_PCI                      /* Enable PCI/PCIE */
#define CONFIG_PCIE1                    /* PCIE controler 1 (slot 1) */
#define CONFIG_FSL_PCI_INIT             /* Use common FSL init code */
#define CONFIG_FSL_PCIE_RESET           /* need PCIe reset errata */

/* Memory space is mapped 1-1, but I/O space must start from 0. */

/* controller 1, Slot 1, tgtid 1, Base address 5000 */
#define CONFIG_SYS_PCIE1_MEM_VIRT       0x50000000
#define CONFIG_SYS_PCIE1_MEM_BUS        0x50000000
#define CONFIG_SYS_PCIE1_MEM_PHYS       0x50000000
#define CONFIG_SYS_PCIE1_MEM_SIZE       0x20000000      /* 512M */
#define CONFIG_SYS_PCIE1_IO_VIRT        0xffc00000
#define CONFIG_SYS_PCIE1_IO_BUS         0x00000000
#define CONFIG_SYS_PCIE1_IO_PHYS        0xffc00000
#define CONFIG_SYS_PCIE1_IO_SIZE        0x00010000      /* 64k */

#define CONFIG_PCI_PNP                  /* do pci plug-and-play */
#define CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup */

#define CONFIG_CMD_PCI                  /* pciinfo */
/*------------------------------------------------------------------------------------*/

Currently the bridge is detected correctly by the u-boot. However, only the bridge itself is listed, not the devices behind the bridge. In the following the output of a pci scan is listed:
  Scanning PCI devices on bus 1
  BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
  _____________________________________________________________
  01.00.00   0x104c     0x8240     Bridge device           0x04

Is there any u-boot define to configure the bridge and/or u-boot so that all PCI devices on the bus are listed in u-boot? Or do I have to manually configure the bridge and/or adapt u-boot?

Thank you,

Peter Brunmayr
Hardware Engineer
Frequentis AG



More information about the U-Boot mailing list