AnsweredAssumed Answered

I.MX6Q   PCI-E Can't  assign mem pref

Question asked by yinlong huo on Mar 20, 2017
Latest reply on Aug 21, 2018 by Jay O'Brien

My board is imx6q-sabresd  ,I am using  pi7c9x2g608gp to expand 5 ports PCI ports, and connected with five 88E8057 Phy,  However  My board just found 3 chips ,the  remind 2 lost, any one can help me?  Best regards!

 

1.my bsp is  fsl-yocto-L4.1.15_2.0.0-ga

 

2.The following is the message ,the last 2 ports  cannot  find  drivers

lspci -mk
00:00.0 "Class 0604" "16c3" "abcd" "0000" "0000" "pcieport"
01:00.0 "Class 0604" "12d8" "2608" "0000" "0000" "pcieport"
02:01.0 "Class 0604" "12d8" "2608" "0000" "0000" "pcieport"
02:02.0 "Class 0604" "12d8" "2608" "0000" "0000" "pcieport"
02:03.0 "Class 0604" "12d8" "2608" "0000" "0000" "pcieport"
02:04.0 "Class 0604" "12d8" "2608" "0000" "0000" "pcieport"
02:05.0 "Class 0604" "12d8" "2608" "0000" "0000" "pcieport"
03:00.0 "Class 0200" "11ab" "4380" "11ab" "4380" "sky2"
04:00.0 "Class 0200" "11ab" "4380" "11ab" "4380" "sky2"
05:00.0 "Class 0200" "11ab" "4380" "11ab" "4380" "sky2"
06:00.0 "Class 0200" "11ab" "4380" "11ab" "4380"
07:00.0 "Class 0200" "11ab" "4380" "11ab" "4380"

 

3.The detail  message  of pci bus is :

 

imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x1000-0x7ffff]
pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus2: Fast back to back transfers disabled
pci 0000:02:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:02:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:02:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:02:04.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:02:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus3: Fast back to back transfers disabled
PCI: bus4: Fast back to back transfers disabled
PCI: bus5: Fast back to back transfers disabled
PCI: bus6: Fast back to back transfers disabled
PCI: bus7: Fast back to back transfers disabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x01afffff]
pci 0000:00:00.0: BAR 9: no space for [mem size 0x00a00000 pref]
pci 0000:00:00.0: BAR 9: failed to assign [mem size 0x00a00000 pref]
pci 0000:00:00.0: BAR 6: assigned [mem 0x01b00000-0x01b0ffff pref]
pci 0000:00:00.0: BAR 7: assigned [io 0x1000-0x5fff]
pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x01afffff]
pci 0000:01:00.0: BAR 9: no space for [mem size 0x00a00000 64bit pref]
pci 0000:01:00.0: BAR 9: failed to assign [mem size 0x00a00000 64bit pref]
pci 0000:01:00.0: BAR 7: assigned [io 0x1000-0x5fff]
pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
pci 0000:02:01.0: BAR 9: assigned [mem 0x01300000-0x014fffff 64bit pref]
pci 0000:02:02.0: BAR 8: assigned [mem 0x01500000-0x016fffff]
pci 0000:02:02.0: BAR 9: assigned [mem 0x01700000-0x018fffff 64bit pref]
pci 0000:02:03.0: BAR 8: assigned [mem 0x01900000-0x01afffff]
pci 0000:02:03.0: BAR 9: no space for [mem size 0x00200000 64bit pref]
pci 0000:02:03.0: BAR 9: failed to assign [mem size 0x00200000 64bit pref]
pci 0000:02:04.0: BAR 8: no space for [mem size 0x00200000]
pci 0000:02:04.0: BAR 8: failed to assign [mem size 0x00200000]
pci 0000:02:04.0: BAR 9: no space for [mem size 0x00200000 64bit pref]
pci 0000:02:04.0: BAR 9: failed to assign [mem size 0x00200000 64bit pref]
pci 0000:02:05.0: BAR 8: no space for [mem size 0x00200000]
pci 0000:02:05.0: BAR 8: failed to assign [mem size 0x00200000]
pci 0000:02:05.0: BAR 9: no space for [mem size 0x00200000 64bit pref]
pci 0000:02:05.0: BAR 9: failed to assign [mem size 0x00200000 64bit pref]
pci 0000:02:01.0: BAR 7: assigned [io 0x1000-0x1fff]
pci 0000:02:02.0: BAR 7: assigned [io 0x2000-0x2fff]
pci 0000:02:03.0: BAR 7: assigned [io 0x3000-0x3fff]
pci 0000:02:04.0: BAR 7: assigned [io 0x4000-0x4fff]
pci 0000:02:05.0: BAR 7: assigned [io 0x5000-0x5fff]
pci 0000:03:00.0: BAR 0: assigned [mem 0x01100000-0x01103fff 64bit]
pci 0000:03:00.0: BAR 2: assigned [io 0x1000-0x10ff]
pci 0000:02:01.0: PCI bridge to [bus 03]
pci 0000:02:01.0: bridge window [io 0x1000-0x1fff]
pci 0000:02:01.0: bridge window [mem 0x01100000-0x012fffff]
pci 0000:02:01.0: bridge window [mem 0x01300000-0x014fffff 64bit pref]
pci 0000:04:00.0: BAR 0: assigned [mem 0x01500000-0x01503fff 64bit]
pci 0000:04:00.0: BAR 2: assigned [io 0x2000-0x20ff]
pci 0000:02:02.0: PCI bridge to [bus 04]
pci 0000:02:02.0: bridge window [io 0x2000-0x2fff]
pci 0000:02:02.0: bridge window [mem 0x01500000-0x016fffff]
pci 0000:02:02.0: bridge window [mem 0x01700000-0x018fffff 64bit pref]
pci 0000:05:00.0: BAR 0: assigned [mem 0x01900000-0x01903fff 64bit]
pci 0000:05:00.0: BAR 2: assigned [io 0x3000-0x30ff]
pci 0000:02:03.0: PCI bridge to [bus 05]
pci 0000:02:03.0: bridge window [io 0x3000-0x3fff]
pci 0000:02:03.0: bridge window [mem 0x01900000-0x01afffff]
pci 0000:06:00.0: BAR 0: no space for [mem size 0x00004000 64bit]
pci 0000:06:00.0: BAR 0: failed to assign [mem size 0x00004000 64bit]
pci 0000:06:00.0: BAR 2: assigned [io 0x4000-0x40ff]
pci 0000:02:04.0: PCI bridge to [bus 06]
pci 0000:02:04.0: bridge window [io 0x4000-0x4fff]
pci 0000:07:00.0: BAR 0: no space for [mem size 0x00004000 64bit]
pci 0000:07:00.0: BAR 0: failed to assign [mem size 0x00004000 64bit]
pci 0000:07:00.0: BAR 2: assigned [io 0x5000-0x50ff]
pci 0000:02:05.0: PCI bridge to [bus 07]
pci 0000:02:05.0: bridge window [io 0x5000-0x5fff]
pci 0000:01:00.0: PCI bridge to [bus 02-07]
pci 0000:01:00.0: bridge window [io 0x1000-0x5fff]
pci 0000:01:00.0: bridge window [mem 0x01100000-0x01afffff]
pci 0000:00:00.0: PCI bridge to [bus 01-07]
pci 0000:00:00.0: bridge window [io 0x1000-0x5fff]
pci 0000:00:00.0: bridge window [mem 0x01100000-0x01afffff]
pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
pci 0000:02:01.0: Signaling PME through PCIe PME interrupt
pci 0000:03:00.0: Signaling PME through PCIe PME interrupt
pci 0000:02:02.0: Signaling PME through PCIe PME interrupt
pci 0000:04:00.0: Signaling PME through PCIe PME interrupt
pci 0000:02:03.0: Signaling PME through PCIe PME interrupt
pci 0000:05:00.0: Signaling PME through PCIe PME interrupt
pci 0000:02:04.0: Signaling PME through PCIe PME interrupt
pci 0000:06:00.0: Signaling PME through PCIe PME interrupt
pci 0000:02:05.0: Signaling PME through PCIe PME interrupt
pci 0000:07:00.0: Signaling PME through PCIe PME interrupt
pcieport 0000:01:00.0: enabling device (0140 -> 0143)
pcieport 0000:02:01.0: enabling device (0140 -> 0143)
pcieport 0000:02:02.0: enabling device (0140 -> 0143)
pcieport 0000:02:03.0: enabling device (0140 -> 0143)
pcieport 0000:02:04.0: enabling device (0140 -> 0141)
pcieport 0000:02:05.0: enabling device (0140 -> 0141)
sky2 0000:03:00.0: enabling device (0140 -> 0143)
sky2: --luhao--0xba--luhao--
sky2 0000:03:00.0: Yukon-2 UL 2 chip revision 0
sky2 0000:03:00.0 (unnamed net_device) (uninitialized): Invalid MAC address, defaulting to random
sky2: dev->dev_addr = rky2 0000:03:00.0 eth1: addr f2:18:9a:50:72:c8
sky2 0000:04:00.0: enabling device (0140 -> 0143)
sky2 0000:04:00.0: Yukon-2 UL 2 chip revision 0
sky2 0000:04:00.0 (unnamed net_device) (uninitialized): Invalid MAC address, defaulting to random
sky2: dev->dev_addr = sky2 0000:04:00.0 eth2: addr fe:eb:90:30:98:15
sky2 0000:05:00.0: enabling device (0140 -> 0143)
sky2 0000:05:00.0: Yukon-2 UL 2 chip revision 0
sky2 0000:05:00.0 (unnamed net_device) (uninitialized): Invalid MAC address, defaulting to random
sky2: dev->dev_addr = dky2 0000:05:00.0 eth3: addr 9a:eb:6e:4e:64:ea
sky2 0000:06:00.0: enabling device (0140 -> 0141)
sky2 0000:06:00.0: unsupported chip type 0xb2
sky2: probe of 0000:06:00.0 failed with error -95
sky2 0000:07:00.0: enabling device (0140 -> 0141)
sky2 0000:07:00.0: unsupported chip type 0xb2
sky2: probe of 0000:07:00.0 failed with error -95

Outcomes