[meta-freescale] SabreSD - PCIe device (XR17V454) is not detected

Lars Michael lh_post at yahoo.com
Mon Jan 26 00:55:13 PST 2015


Hi all,


I am trying to get SabreSD to detect the Exar PCIe eval. board XR17V354. No luck with daisy (U-Boot or kernel 3.10.17). I tried with no PCI enabled in U-Boot, the kernel finds the PCIe root, but no device is detected (lspci lists only the root):

root at imx6qsabresd:~# dmesg | grep pci
imx6q-pcie 1ffc000.pcie: phy link never came up 
pci_bus 0000:00: root bus resource [io  0x1000-0x10000] 
pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff] 
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] 
pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400 
pci 0000:00:00.0: reg 10: [mem 0x00000000-0x000fffff] 
pci 0000:00:00.0: reg 38: [mem 0x00000000-0x0000ffff pref] 
pci 0000:00:00.0: supports D1 
pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold 
pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 
pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff] 
pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref] 
pci 0000:00:00.0: PCI bridge to [bus 01] 
pci_bus 0000:00: resource 4 [io  0x1000-0x10000] 
pci_bus 0000:00: resource 5 [mem 0x01000000-0x01efffff] 
ehci-pci: EHCI PCI platform driver

root at imx6qsabresd:~# lspci
00:00.0 PCI bridge: Device 16c3:abcd (rev 01)

U-Boot 2014.10 should have PCI working, so I tried that but it fails: 
=> pci
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
pci_bus_to_hose() failed


mx6sabresd.h looks like (untouched):
#define CONFIG_CMD_PCI 
#ifdef CONFIG_CMD_PCI 
#define CONFIG_PCI 
#define CONFIG_PCI_PNP 
#define CONFIG_PCI_SCAN_SHOW 
#define CONFIG_PCIE_IMX 
#define CONFIG_PCIE_IMX_PERST_GPIO IMX_GPIO_NR(7, 12) 
#define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(3, 19) 
#endif
 
Am I missing something in the configuration?

Thanks and regards,
Lars


More information about the meta-freescale mailing list