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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
3,542 Views
longnv521
Contributor I

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

Labels (3)
0 Kudos
1 Solution
1,471 Views
igorpadykov
NXP Employee
NXP Employee

Hi yinlong

please check pcie bar limitations described on

PCIe BAR length limit 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
5 Replies
1,472 Views
igorpadykov
NXP Employee
NXP Employee

Hi yinlong

please check pcie bar limitations described on

PCIe BAR length limit 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,471 Views
longnv521
Contributor I

Dear igorpadykov:

   I followed your advice,my pci dts  file is this,the problem still exist, I was confused,

   Best regards!

pcie: pcie@0x01000000 {
compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
reg = <0x01ffc000 0x04000>,
<0x01f00000 0x80000>;
reg-names = "dbi", "config";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";

ranges = <0x00000800 0 0x01f00000 0x01f00000 0 0x00100000 /* configuration space */
0x81000000 0 0 0x01e00000 0 0x00100000 /* downstream I/O */
0x82000000 0 0x01000000 0x01000000 0 0x00e00000>; /* non-prefetchable memory */

num-lanes = <1>;
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
<&clks IMX6QDL_CLK_LVDS1_GATE>,
<&clks IMX6QDL_CLK_PCIE_REF_125M>;
clock-names = "pcie", "pcie_bus", "pcie_phy";
status = "disabled";
};

2.the message log is this

root@imx6qsabresd:~# dmesg |grep pci
[ 1.456030] ehci-pci: EHCI PCI platform driver
[ 3.710938] reset device pci
[ 4.767978] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[ 4.772956] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 4.777946] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01dfffff]
[ 4.783529] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 4.787749] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 4.787771] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 4.787789] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 4.787847] pci 0000:00:00.0: supports D1
[ 4.787855] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 4.792544] pci 0000:01:00.0: [12d8:2608] type 01 class 0x060400
[ 4.792969] pci 0000:01:00.0: supports D1 D2
[ 4.792976] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.797532] pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.804589] pci 0000:02:01.0: [12d8:2608] type 01 class 0x060400
[ 4.805016] pci 0000:02:01.0: supports D1 D2
[ 4.805024] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.805334] pci 0000:02:02.0: [12d8:2608] type 01 class 0x060400
[ 4.805760] pci 0000:02:02.0: supports D1 D2
[ 4.805768] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.806071] pci 0000:02:03.0: [12d8:2608] type 01 class 0x060400
[ 4.806494] pci 0000:02:03.0: supports D1 D2
[ 4.806503] pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.806812] pci 0000:02:04.0: [12d8:2608] type 01 class 0x060400
[ 4.807235] pci 0000:02:04.0: supports D1 D2
[ 4.807243] pci 0000:02:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.807542] pci 0000:02:05.0: [12d8:2608] type 01 class 0x060400
[ 4.807960] pci 0000:02:05.0: supports D1 D2
[ 4.807967] pci 0000:02:05.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.812785] pci 0000:02:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.819573] pci 0000:02:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.826322] pci 0000:02:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.833055] pci 0000:02:04.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.839801] pci 0000:02:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.846850] pci 0000:03:00.0: [11ab:4380] type 00 class 0x020000
[ 4.846947] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 4.846985] pci 0000:03:00.0: reg 0x18: [io 0x0000-0x00ff]
[ 4.847323] pci 0000:03:00.0: supports D1 D2
[ 4.847330] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.851855] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[ 4.852171] pci 0000:04:00.0: [11ab:4380] type 00 class 0x020000
[ 4.852267] pci 0000:04:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 4.852306] pci 0000:04:00.0: reg 0x18: [io 0x0000-0x00ff]
[ 4.852642] pci 0000:04:00.0: supports D1 D2
[ 4.852650] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.857192] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04
[ 4.857521] pci 0000:05:00.0: [11ab:4380] type 00 class 0x020000
[ 4.857616] pci 0000:05:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 4.857653] pci 0000:05:00.0: reg 0x18: [io 0x0000-0x00ff]
[ 4.857988] pci 0000:05:00.0: supports D1 D2
[ 4.857995] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.862510] pci_bus 0000:05: busn_res: [bus 05-ff] end is updated to 05
[ 4.862836] pci 0000:06:00.0: [11ab:4380] type 00 class 0x020000
[ 4.862929] pci 0000:06:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 4.862967] pci 0000:06:00.0: reg 0x18: [io 0x0000-0x00ff]
[ 4.863299] pci 0000:06:00.0: supports D1 D2
[ 4.863307] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.867839] pci_bus 0000:06: busn_res: [bus 06-ff] end is updated to 06
[ 4.868166] pci 0000:07:00.0: [11ab:4380] type 00 class 0x020000
[ 4.868261] pci 0000:07:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 4.868300] pci 0000:07:00.0: reg 0x18: [io 0x0000-0x00ff]
[ 4.868632] pci 0000:07:00.0: supports D1 D2
[ 4.868639] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 4.873161] pci_bus 0000:07: busn_res: [bus 07-ff] end is updated to 07
[ 4.873183] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 07
[ 4.873206] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 07
[ 4.873879] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[ 4.879377] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x01afffff]
[ 4.884886] pci 0000:00:00.0: BAR 9: no space for [mem size 0x00a00000 pref]
[ 4.890640] pci 0000:00:00.0: BAR 9: failed to assign [mem size 0x00a00000 pref]
[ 4.896754] pci 0000:00:00.0: BAR 6: assigned [mem 0x01b00000-0x01b0ffff pref]
[ 4.902681] pci 0000:00:00.0: BAR 7: assigned [io 0x1000-0x5fff]
[ 4.907497] pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x01afffff]
[ 4.912990] pci 0000:01:00.0: BAR 9: no space for [mem size 0x00a00000 64bit pref]
[ 4.919276] pci 0000:01:00.0: BAR 9: failed to assign [mem size 0x00a00000 64bit pref]
[ 4.925908] pci 0000:01:00.0: BAR 7: assigned [io 0x1000-0x5fff]
[ 4.930717] pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[ 4.936224] pci 0000:02:01.0: BAR 9: assigned [mem 0x01300000-0x014fffff 64bit pref]
[ 4.942672] pci 0000:02:02.0: BAR 8: assigned [mem 0x01500000-0x016fffff]
[ 4.948211] pci 0000:02:02.0: BAR 9: assigned [mem 0x01700000-0x018fffff 64bit pref]
[ 4.954675] pci 0000:02:03.0: BAR 8: assigned [mem 0x01900000-0x01afffff]
[ 4.960170] pci 0000:02:03.0: BAR 9: no space for [mem size 0x00200000 64bit pref]
[ 4.966456] pci 0000:02:03.0: BAR 9: failed to assign [mem size 0x00200000 64bit pref]
[ 4.973078] pci 0000:02:04.0: BAR 8: no space for [mem size 0x00200000]
[ 4.978408] pci 0000:02:04.0: BAR 8: failed to assign [mem size 0x00200000]
[ 4.984084] pci 0000:02:04.0: BAR 9: no space for [mem size 0x00200000 64bit pref]
[ 4.990356] pci 0000:02:04.0: BAR 9: failed to assign [mem size 0x00200000 64bit pref]
[ 4.996986] pci 0000:02:05.0: BAR 8: no space for [mem size 0x00200000]
[ 5.002303] pci 0000:02:05.0: BAR 8: failed to assign [mem size 0x00200000]
[ 5.007982] pci 0000:02:05.0: BAR 9: no space for [mem size 0x00200000 64bit pref]
[ 5.014285] pci 0000:02:05.0: BAR 9: failed to assign [mem size 0x00200000 64bit pref]
[ 5.020908] pci 0000:02:01.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 5.025722] pci 0000:02:02.0: BAR 7: assigned [io 0x2000-0x2fff]
[ 5.030522] pci 0000:02:03.0: BAR 7: assigned [io 0x3000-0x3fff]
[ 5.035333] pci 0000:02:04.0: BAR 7: assigned [io 0x4000-0x4fff]
[ 5.040131] pci 0000:02:05.0: BAR 7: assigned [io 0x5000-0x5fff]
[ 5.044946] pci 0000:03:00.0: BAR 0: assigned [mem 0x01100000-0x01103fff 64bit]
[ 5.051004] pci 0000:03:00.0: BAR 2: assigned [io 0x1000-0x10ff]
[ 5.055828] pci 0000:02:01.0: PCI bridge to [bus 03]
[ 5.059504] pci 0000:02:01.0: bridge window [io 0x1000-0x1fff]
[ 5.064330] pci 0000:02:01.0: bridge window [mem 0x01100000-0x012fffff]
[ 5.069834] pci 0000:02:01.0: bridge window [mem 0x01300000-0x014fffff 64bit pref]
[ 5.076345] pci 0000:04:00.0: BAR 0: assigned [mem 0x01500000-0x01503fff 64bit]
[ 5.082401] pci 0000:04:00.0: BAR 2: assigned [io 0x2000-0x20ff]
[ 5.087223] pci 0000:02:02.0: PCI bridge to [bus 04]
[ 5.090897] pci 0000:02:02.0: bridge window [io 0x2000-0x2fff]
[ 5.095722] pci 0000:02:02.0: bridge window [mem 0x01500000-0x016fffff]
[ 5.101224] pci 0000:02:02.0: bridge window [mem 0x01700000-0x018fffff 64bit pref]
[ 5.107714] pci 0000:05:00.0: BAR 0: assigned [mem 0x01900000-0x01903fff 64bit]
[ 5.113784] pci 0000:05:00.0: BAR 2: assigned [io 0x3000-0x30ff]
[ 5.118594] pci 0000:02:03.0: PCI bridge to [bus 05]
[ 5.122267] pci 0000:02:03.0: bridge window [io 0x3000-0x3fff]
[ 5.127092] pci 0000:02:03.0: bridge window [mem 0x01900000-0x01afffff]
[ 5.132619] pci 0000:06:00.0: BAR 0: no space for [mem size 0x00004000 64bit]
[ 5.138472] pci 0000:06:00.0: BAR 0: failed to assign [mem size 0x00004000 64bit]
[ 5.144672] pci 0000:06:00.0: BAR 2: assigned [io 0x4000-0x40ff]
[ 5.149482] pci 0000:02:04.0: PCI bridge to [bus 06]
[ 5.153155] pci 0000:02:04.0: bridge window [io 0x4000-0x4fff]
[ 5.158015] pci 0000:07:00.0: BAR 0: no space for [mem size 0x00004000 64bit]
[ 5.163867] pci 0000:07:00.0: BAR 0: failed to assign [mem size 0x00004000 64bit]
[ 5.170054] pci 0000:07:00.0: BAR 2: assigned [io 0x5000-0x50ff]
[ 5.174876] pci 0000:02:05.0: PCI bridge to [bus 07]
[ 5.178550] pci 0000:02:05.0: bridge window [io 0x5000-0x5fff]
[ 5.183393] pci 0000:01:00.0: PCI bridge to [bus 02-07]
[ 5.187338] pci 0000:01:00.0: bridge window [io 0x1000-0x5fff]
[ 5.192151] pci 0000:01:00.0: bridge window [mem 0x01100000-0x01afffff]
[ 5.197685] pci 0000:00:00.0: PCI bridge to [bus 01-07]
[ 5.201616] pci 0000:00:00.0: bridge window [io 0x1000-0x5fff]
[ 5.206454] pci 0000:00:00.0: bridge window [mem 0x01100000-0x01afffff]
[ 5.212218] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 5.217902] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[ 5.223133] pci 0000:02:01.0: Signaling PME through PCIe PME interrupt
[ 5.228376] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt
[ 5.233605] pci 0000:02:02.0: Signaling PME through PCIe PME interrupt
[ 5.238845] pci 0000:04:00.0: Signaling PME through PCIe PME interrupt
[ 5.244086] pci 0000:02:03.0: Signaling PME through PCIe PME interrupt
[ 5.249317] pci 0000:05:00.0: Signaling PME through PCIe PME interrupt
[ 5.254556] pci 0000:02:04.0: Signaling PME through PCIe PME interrupt
[ 5.259785] pci 0000:06:00.0: Signaling PME through PCIe PME interrupt
[ 5.265026] pci 0000:02:05.0: Signaling PME through PCIe PME interrupt
[ 5.270256] pci 0000:07:00.0: Signaling PME through PCIe PME interrupt
[ 5.275498] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[ 5.275722] aer 0000:00:00.0:pcie02: service driver aer loaded
[ 5.275937] pcieport 0000:01:00.0: enabling device (0140 -> 0143)
[ 5.281285] pcieport 0000:02:01.0: enabling device (0140 -> 0143)
[ 5.286863] pcieport 0000:02:02.0: enabling device (0140 -> 0143)
[ 5.292431] pcieport 0000:02:03.0: enabling device (0140 -> 0143)
[ 5.298016] pcieport 0000:02:04.0: enabling device (0140 -> 0141)
[ 5.303574] pcieport 0000:02:05.0: enabling device (0140 -> 0141)

3. I change another rootfs,there more information

root@imx6qsabresd:~# lspci -mk
00:00.0 "PCI bridge" "Synopsys, Inc." "Device abcd" -r01 "" ""
01:00.0 "PCI bridge" "Pericom Semiconductor" "Device 2608" "" ""
02:01.0 "PCI bridge" "Pericom Semiconductor" "Device 2608" "" ""
02:02.0 "PCI bridge" "Pericom Semiconductor" "Device 2608" "" ""
02:03.0 "PCI bridge" "Pericom Semiconductor" "Device 2608" "" ""
02:04.0 "PCI bridge" "Pericom Semiconductor" "Device 2608" "" ""
02:05.0 "PCI bridge" "Pericom Semiconductor" "Device 2608" "" ""
03:00.0 "Ethernet controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller"
04:00.0 "Ethernet controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller"
05:00.0 "Ethernet controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller"
06:00.0 "Ethernet controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller"
07:00.0 "Ethernet controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller" "Marvell Technology Group Ltd." "88E8057 PCI-E Gigabit Ethernet Controller"

which part is wrong ? 

0 Kudos
1,471 Views
igorpadykov
NXP Employee
NXP Employee

my suggestion was to check bar memory limits, given in link

PCIe BAR length limit 

this may explain why 3 chips are found,  may be for 2 lost

there were no left available bar memory (as it is limited)

Best regards
igor

0 Kudos
1,471 Views
longnv521
Contributor I

Thank you igor,I've fix it.

0 Kudos
1,471 Views
my_name_jay
Contributor I

Hi yinlong

I have the same imx6 BAR problem.Can you tell me how dou you fix it?my PCI DSP device need 64M size,what can I do?

0 Kudos