<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LX2160A RDB rev2 board. PCIe devices not enumerated behind PCIe bridge in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LX2160A-RDB-rev2-board-PCIe-devices-not-enumerated-behind-PCIe/m-p/1396306#M9796</link>
    <description>&lt;P&gt;Hello Zhao,&lt;BR /&gt;&lt;BR /&gt;many thanks for the hint, I compared u-boot LSDK 21.08 against mainline U-Boot git tree,&lt;BR /&gt;and patched 4 files in U-Boot + one in kernel, see attached archive.&lt;/P&gt;&lt;P&gt;No changes were required in LX2160ARDB device tree or&lt;BR /&gt;default config file configs/lx2160ardb_tfa_defconfig&lt;/P&gt;&lt;P&gt;All PCIe devices were correctly detected in kernel, up to 14 devices.&lt;BR /&gt;&lt;BR /&gt;Have a nice day,&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 22:57:00 GMT</pubDate>
    <dc:creator>kikote</dc:creator>
    <dc:date>2022-01-07T22:57:00Z</dc:date>
    <item>
      <title>LX2160A RDB rev2 board. PCIe devices not enumerated behind PCIe bridge</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160A-RDB-rev2-board-PCIe-devices-not-enumerated-behind-PCIe/m-p/1367545#M9271</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Enumeration of PCIe devices behind a PCIe bridge on LX2160ARDBrev2 fails, tested in LSDK 21.08 or LSDK 20.12.&lt;/P&gt;&lt;P&gt;Tested using two type of PCIe bridges - Pericom [12d8:2404] 1/3 and PLX8714 1/4&lt;/P&gt;&lt;P&gt;In both cases I see similar message in kernel log:&lt;BR /&gt;pci_bus 0001:03: busn_res: can not insert [bus 03] under [bus 02] (conflicts with (null) [bus 02])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Prebuilt LX2160 SD image used, downloaded from &lt;A href="https://lsdk.github.io/components.html" target="_blank" rel="noopener"&gt;https://lsdk.github.io/components.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_lx2160ardb_rev2_sdboot.img" target="_blank" rel="noopener"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_lx2160ardb_rev2_sdboot.img&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Booting RDB, 3 PCIe cards are inserted @ Pericom switch (usb3.0 host + SATA hpost + dual eth Intel card),&lt;BR /&gt;but no card is visible. All 3 cards are correctly detected when plugged into RDB pcie slot.&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;[ 2.498146] layerscape-pcie 3600000.pcie: host bridge /soc/pcie@3600000 ranges:&lt;BR /&gt;[ 2.505463] layerscape-pcie 3600000.pcie: MEM 0x9040000000..0x907fffffff -&amp;gt; 0x0040000000&lt;BR /&gt;[ 2.514050] layerscape-pcie 3600000.pcie: PCI host bridge to bus 0000:00&lt;BR /&gt;[ 2.520747] pci_bus 0000:00: root bus resource [bus 00-ff]&lt;BR /&gt;[ 2.526226] pci_bus 0000:00: root bus resource [mem 0x9040000000-0x907fffffff] (bus address [0x40000000-0x7fffffff])&lt;BR /&gt;[ 2.536761] pci 0000:00:00.0: [1957:8d80] type 01 class 0x060400&lt;BR /&gt;[ 2.542814] pci 0000:00:00.0: supports D1 D2&lt;BR /&gt;[ 2.547076] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot&lt;BR /&gt;[ 2.554584] pci 0000:00:00.0: PCI bridge to [bus 01-ff]&lt;BR /&gt;[ 2.559918] layerscape-pcie 3800000.pcie: host bridge /soc/pcie@3800000 ranges:&lt;BR /&gt;[ 2.567235] layerscape-pcie 3800000.pcie: MEM 0xa040000000..0xa07fffffff -&amp;gt; 0x0040000000&lt;BR /&gt;[ 2.575822] layerscape-pcie 3800000.pcie: PCI host bridge to bus 0001:00&lt;BR /&gt;[ 2.582517] pci_bus 0001:00: root bus resource [bus 00-ff]&lt;BR /&gt;[ 2.587997] pci_bus 0001:00: root bus resource [mem 0xa040000000-0xa07fffffff] (bus address [0x40000000-0x7fffffff])&lt;BR /&gt;[ 2.598526] pci 0001:00:00.0: [1957:8d80] type 01 class 0x060400&lt;BR /&gt;[ 2.604588] pci 0001:00:00.0: supports D1 D2&lt;BR /&gt;[ 2.608851] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot&lt;BR /&gt;[ 2.615875] pci 0001:01:00.0: [12d8:2404] type 01 class 0x060400&lt;BR /&gt;[ 2.623192] pci 0001:01:00.0: supports D1 D2&lt;BR /&gt;[ 2.627455] pci 0001:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold&lt;BR /&gt;[ 2.635989] pci 0001:02:01.0: [12d8:2404] type 01 class 0x060400&lt;BR /&gt;[ 2.643316] pci 0001:02:01.0: supports D1 D2&lt;BR /&gt;[ 2.647578] pci 0001:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold&lt;BR /&gt;[ 2.655036] pci 0001:02:02.0: [12d8:2404] type 01 class 0x060400&lt;BR /&gt;[ 2.662363] pci 0001:02:02.0: supports D1 D2&lt;BR /&gt;[ 2.666625] pci 0001:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold&lt;BR /&gt;[ 2.674093] pci 0001:02:03.0: [12d8:2404] type 01 class 0x060400&lt;BR /&gt;[ 2.681425] pci 0001:02:03.0: supports D1 D2&lt;BR /&gt;[ 2.685687] pci 0001:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold&lt;BR /&gt;[ 2.694199] pci_bus 0001:03: busn_res: can not insert [bus 03] under [bus 02] (conflicts with (null) [bus 02])&lt;BR /&gt;[ 2.720698] pci 0001:02:01.0: devices behind bridge are unusable because [bus 03] cannot be assigned for them&lt;BR /&gt;[ 2.730954] pci_bus 0001:04: busn_res: can not insert [bus 04] under [bus 02] (conflicts with (null) [bus 02])&lt;BR /&gt;[ 2.757448] pci 0001:02:02.0: devices behind bridge are unusable because [bus 04] cannot be assigned for them&lt;BR /&gt;[ 2.767706] pci_bus 0001:05: busn_res: can not insert [bus 05] under [bus 02] (conflicts with (null) [bus 02])&lt;BR /&gt;[ 2.794197] pci 0001:02:03.0: devices behind bridge are unusable because [bus 05] cannot be assigned for them&lt;BR /&gt;[ 2.804269] pci 0001:01:00.0: bridge has subordinate 02 but max busn 05&lt;BR /&gt;[ 2.810954] pci 0001:02:01.0: PCI bridge to [bus 03]&lt;BR /&gt;[ 2.816021] pci 0001:02:02.0: PCI bridge to [bus 04]&lt;BR /&gt;[ 2.821086] pci 0001:02:03.0: PCI bridge to [bus 05]&lt;BR /&gt;[ 2.826151] pci 0001:01:00.0: PCI bridge to [bus 02]&lt;BR /&gt;[ 2.831217] pci 0001:00:00.0: PCI bridge to [bus 01-ff]&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;# lspci -ntv&lt;BR /&gt;-+-[0001:00]---00.0-[01-ff]----00.0-[02]--+-01.0-[03]--&lt;BR /&gt;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+-02.0-[04]--&lt;BR /&gt;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \-03.0-[05]--&lt;BR /&gt;\-[0000:00]---00.0-[01-ff]--&lt;/P&gt;&lt;P&gt;# lspci -nv&lt;BR /&gt;0000:00:00.0 0604: 1957:8d80 (rev 20) (prog-if 00 [Normal decode])&lt;BR /&gt;Flags: bus master, fast devsel, latency 0, IRQ 381, IOMMU group 10&lt;BR /&gt;Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0&lt;BR /&gt;I/O behind bridge: [disabled]&lt;BR /&gt;Memory behind bridge: [disabled]&lt;BR /&gt;Prefetchable memory behind bridge: [disabled]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit+&lt;BR /&gt;Capabilities: [70] Express Root Port (Slot-), MSI 00&lt;BR /&gt;Capabilities: [b0] MSI-X: Enable- Count=8 Masked-&lt;BR /&gt;Capabilities: [100] Advanced Error Reporting&lt;BR /&gt;Capabilities: [158] Secondary PCI Express&lt;BR /&gt;Kernel driver in use: pcieport&lt;/P&gt;&lt;P&gt;0001:00:00.0 0604: 1957:8d80 (rev 20) (prog-if 00 [Normal decode])&lt;BR /&gt;Flags: bus master, fast devsel, latency 0, IRQ 382, IOMMU group 11&lt;BR /&gt;Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0&lt;BR /&gt;I/O behind bridge: [disabled]&lt;BR /&gt;Memory behind bridge: [disabled]&lt;BR /&gt;Prefetchable memory behind bridge: [disabled]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit+&lt;BR /&gt;Capabilities: [70] Express Root Port (Slot-), MSI 00&lt;BR /&gt;Capabilities: [b0] MSI-X: Enable- Count=8 Masked-&lt;BR /&gt;Capabilities: [100] Advanced Error Reporting&lt;BR /&gt;Capabilities: [158] Secondary PCI Express&lt;BR /&gt;Kernel driver in use: pcieport&lt;/P&gt;&lt;P&gt;0001:01:00.0 0604: 12d8:2404 (rev 05) (prog-if 00 [Normal decode])&lt;BR /&gt;Flags: bus master, fast devsel, latency 0, IOMMU group 11&lt;BR /&gt;Bus: primary=01, secondary=02, subordinate=02, sec-latency=0&lt;BR /&gt;I/O behind bridge: [disabled]&lt;BR /&gt;Memory behind bridge: [disabled]&lt;BR /&gt;Prefetchable memory behind bridge: [disabled]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Capabilities: [5c] Vital Product Data&lt;BR /&gt;Capabilities: [64] Vendor Specific Information: Len=34 &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [b0] Subsystem: 0000:0000&lt;BR /&gt;Capabilities: [c0] Express Upstream Port, MSI 00&lt;BR /&gt;Capabilities: [100] Advanced Error Reporting&lt;BR /&gt;Capabilities: [140] Virtual Channel&lt;BR /&gt;Capabilities: [20c] Power Budgeting &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [230] Latency Tolerance Reporting&lt;/P&gt;&lt;P&gt;0001:02:01.0 0604: 12d8:2404 (rev 05) (prog-if 00 [Normal decode])&lt;BR /&gt;Flags: bus master, fast devsel, latency 0, IRQ 383, IOMMU group 11&lt;BR /&gt;Bus: primary=02, secondary=03, subordinate=03, sec-latency=0&lt;BR /&gt;I/O behind bridge: [disabled]&lt;BR /&gt;Memory behind bridge: [disabled]&lt;BR /&gt;Prefetchable memory behind bridge: [disabled]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Capabilities: [4c] MSI: Enable+ Count=1/1 Maskable- 64bit+&lt;BR /&gt;Capabilities: [64] Vendor Specific Information: Len=34 &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [b0] Subsystem: 0000:0000&lt;BR /&gt;Capabilities: [c0] Express Downstream Port (Slot+), MSI 00&lt;BR /&gt;Capabilities: [100] Advanced Error Reporting&lt;BR /&gt;Capabilities: [140] Virtual Channel&lt;BR /&gt;Capabilities: [20c] Power Budgeting &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [220] Access Control Services&lt;BR /&gt;Kernel driver in use: pcieport&lt;/P&gt;&lt;P&gt;0001:02:02.0 0604: 12d8:2404 (rev 05) (prog-if 00 [Normal decode])&lt;BR /&gt;Flags: bus master, fast devsel, latency 0, IRQ 384, IOMMU group 11&lt;BR /&gt;Bus: primary=02, secondary=04, subordinate=04, sec-latency=0&lt;BR /&gt;I/O behind bridge: [disabled]&lt;BR /&gt;Memory behind bridge: [disabled]&lt;BR /&gt;Prefetchable memory behind bridge: [disabled]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Capabilities: [4c] MSI: Enable+ Count=1/1 Maskable- 64bit+&lt;BR /&gt;Capabilities: [64] Vendor Specific Information: Len=34 &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [b0] Subsystem: 0000:0000&lt;BR /&gt;Capabilities: [c0] Express Downstream Port (Slot+), MSI 00&lt;BR /&gt;Capabilities: [100] Advanced Error Reporting&lt;BR /&gt;Capabilities: [140] Virtual Channel&lt;BR /&gt;Capabilities: [20c] Power Budgeting &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [220] Access Control Services&lt;BR /&gt;Kernel driver in use: pcieport&lt;/P&gt;&lt;P&gt;0001:02:03.0 0604: 12d8:2404 (rev 05) (prog-if 00 [Normal decode])&lt;BR /&gt;Flags: bus master, fast devsel, latency 0, IRQ 385, IOMMU group 11&lt;BR /&gt;Bus: primary=02, secondary=05, subordinate=05, sec-latency=0&lt;BR /&gt;I/O behind bridge: [disabled]&lt;BR /&gt;Memory behind bridge: [disabled]&lt;BR /&gt;Prefetchable memory behind bridge: [disabled]&lt;BR /&gt;Capabilities: [40] Power Management version 3&lt;BR /&gt;Capabilities: [4c] MSI: Enable+ Count=1/1 Maskable- 64bit+&lt;BR /&gt;Capabilities: [64] Vendor Specific Information: Len=34 &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [b0] Subsystem: 0000:0000&lt;BR /&gt;Capabilities: [c0] Express Downstream Port (Slot+), MSI 00&lt;BR /&gt;Capabilities: [100] Advanced Error Reporting&lt;BR /&gt;Capabilities: [140] Virtual Channel&lt;BR /&gt;Capabilities: [20c] Power Budgeting &amp;lt;?&amp;gt;&lt;BR /&gt;Capabilities: [220] Access Control Services&lt;BR /&gt;Kernel driver in use: pcieport&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'll be very grateful if somebody can insert a PCIe bridge card in LX2160ARDB board, and check that&lt;BR /&gt;devices after the bridge are &lt;STRONG&gt;really&lt;/STRONG&gt; enumerated and visible in kernel, or at least in u-boot.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 00:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160A-RDB-rev2-board-PCIe-devices-not-enumerated-behind-PCIe/m-p/1367545#M9271</guid>
      <dc:creator>kikote</dc:creator>
      <dc:date>2021-11-07T00:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160A RDB rev2 board. PCIe devices not enumerated behind PCIe bridge</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160A-RDB-rev2-board-PCIe-devices-not-enumerated-behind-PCIe/m-p/1389824#M9673</link>
      <description>&lt;P&gt;This issue had been fixed in latest code of u-boot upstream.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.denx.de/u-boot/u-boot/-/commit/19e1b8d9b283514eb6ab8d7253f4867068007938" target="_blank"&gt;https://source.denx.de/u-boot/u-boot/-/commit/19e1b8d9b283514eb6ab8d7253f4867068007938&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 05:17:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160A-RDB-rev2-board-PCIe-devices-not-enumerated-behind-PCIe/m-p/1389824#M9673</guid>
      <dc:creator>Zhao_Zheng</dc:creator>
      <dc:date>2021-12-21T05:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160A RDB rev2 board. PCIe devices not enumerated behind PCIe bridge</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160A-RDB-rev2-board-PCIe-devices-not-enumerated-behind-PCIe/m-p/1396306#M9796</link>
      <description>&lt;P&gt;Hello Zhao,&lt;BR /&gt;&lt;BR /&gt;many thanks for the hint, I compared u-boot LSDK 21.08 against mainline U-Boot git tree,&lt;BR /&gt;and patched 4 files in U-Boot + one in kernel, see attached archive.&lt;/P&gt;&lt;P&gt;No changes were required in LX2160ARDB device tree or&lt;BR /&gt;default config file configs/lx2160ardb_tfa_defconfig&lt;/P&gt;&lt;P&gt;All PCIe devices were correctly detected in kernel, up to 14 devices.&lt;BR /&gt;&lt;BR /&gt;Have a nice day,&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 22:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160A-RDB-rev2-board-PCIe-devices-not-enumerated-behind-PCIe/m-p/1396306#M9796</guid>
      <dc:creator>kikote</dc:creator>
      <dc:date>2022-01-07T22:57:00Z</dc:date>
    </item>
  </channel>
</rss>

