<?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>i.MX Processorsのトピックimx6q-pcie: phy link never came up, DEBUG_R0: 0x00ea6102, DEBUG_R1: 0x08200000</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-pcie-phy-link-never-came-up-DEBUG-R0-0x00ea6102-DEBUG-R1/m-p/2184612#M241336</link>
    <description>&lt;H1&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Observed Phenomenon&lt;/FONT&gt;&lt;/H1&gt;&lt;DIV class=""&gt;Initially, the Wi-Fi module of the device functions normally. However, after approximately two years of use, Wi-Fi-related issues occur. At first, it was suspected that the problem lay with the Wi-Fi module; yet, the same issue persisted even after replacing the Wi-Fi module.&lt;/DIV&gt;&lt;H1&gt;&lt;FONT size="4"&gt;Description&lt;/FONT&gt;&lt;/H1&gt;&lt;OL&gt;&lt;OL&gt;&lt;LI&gt;The interface of the device's Wi-Fi module is PCIe.&lt;/LI&gt;&lt;LI&gt;The Wi-Fi module uses the PCIe-1 interface of the iMX8 chip (PCIe ports are numbered starting from 1 in the circuit diagram), while PCIe ports in the code are numbered starting from 0. Therefore, it corresponds to "pcie0" in the code.&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN&gt;Logs are as follows&lt;/SPAN&gt;:&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;imx6q-pcie 33800000.pcie: imx pcie probe
OF: PCI: host bridge /pcie@0x33800000 ranges:
OF: PCI:   No bus range found for /pcie@0x33800000, using [bus 00-ff]
OF: PCI:    IO 0x1ff80000..0x1ff8ffff -&amp;gt; 0x00000000
OF: PCI:   MEM 0x18000000..0x1fefffff -&amp;gt; 0x18000000
imx6q-pcie 33800000.pcie: pcie phy pll is locked.
imx6q-pcie 33800000.pcie: phy link never came up
imx6q-pcie 33800000.pcie: DEBUG_R0: 0x00ea6102, DEBUG_R1: 0x08200000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2025 07:29:39 GMT</pubDate>
    <dc:creator>wiking</dc:creator>
    <dc:date>2025-10-13T07:29:39Z</dc:date>
    <item>
      <title>imx6q-pcie: phy link never came up, DEBUG_R0: 0x00ea6102, DEBUG_R1: 0x08200000</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-pcie-phy-link-never-came-up-DEBUG-R0-0x00ea6102-DEBUG-R1/m-p/2184612#M241336</link>
      <description>&lt;H1&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Observed Phenomenon&lt;/FONT&gt;&lt;/H1&gt;&lt;DIV class=""&gt;Initially, the Wi-Fi module of the device functions normally. However, after approximately two years of use, Wi-Fi-related issues occur. At first, it was suspected that the problem lay with the Wi-Fi module; yet, the same issue persisted even after replacing the Wi-Fi module.&lt;/DIV&gt;&lt;H1&gt;&lt;FONT size="4"&gt;Description&lt;/FONT&gt;&lt;/H1&gt;&lt;OL&gt;&lt;OL&gt;&lt;LI&gt;The interface of the device's Wi-Fi module is PCIe.&lt;/LI&gt;&lt;LI&gt;The Wi-Fi module uses the PCIe-1 interface of the iMX8 chip (PCIe ports are numbered starting from 1 in the circuit diagram), while PCIe ports in the code are numbered starting from 0. Therefore, it corresponds to "pcie0" in the code.&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN&gt;Logs are as follows&lt;/SPAN&gt;:&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;imx6q-pcie 33800000.pcie: imx pcie probe
OF: PCI: host bridge /pcie@0x33800000 ranges:
OF: PCI:   No bus range found for /pcie@0x33800000, using [bus 00-ff]
OF: PCI:    IO 0x1ff80000..0x1ff8ffff -&amp;gt; 0x00000000
OF: PCI:   MEM 0x18000000..0x1fefffff -&amp;gt; 0x18000000
imx6q-pcie 33800000.pcie: pcie phy pll is locked.
imx6q-pcie 33800000.pcie: phy link never came up
imx6q-pcie 33800000.pcie: DEBUG_R0: 0x00ea6102, DEBUG_R1: 0x08200000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 07:29:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-pcie-phy-link-never-came-up-DEBUG-R0-0x00ea6102-DEBUG-R1/m-p/2184612#M241336</guid>
      <dc:creator>wiking</dc:creator>
      <dc:date>2025-10-13T07:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q-pcie: phy link never came up, DEBUG_R0: 0x00ea6102, DEBUG_R1: 0x08200000</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-pcie-phy-link-never-came-up-DEBUG-R0-0x00ea6102-DEBUG-R1/m-p/2184628#M241339</link>
      <description>&lt;P&gt;SoC: MCIMX8MQ6DVAJZAA&lt;BR /&gt;linux-imx:&amp;nbsp; v4.14.98&lt;/P&gt;&lt;P&gt;dts: fsl-imx8mq-evk.dts&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 07:48:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-pcie-phy-link-never-came-up-DEBUG-R0-0x00ea6102-DEBUG-R1/m-p/2184628#M241339</guid>
      <dc:creator>wiking</dc:creator>
      <dc:date>2025-10-13T07:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q-pcie: phy link never came up, DEBUG_R0: 0x00ea6102, DEBUG_R1: 0x08200000</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-pcie-phy-link-never-came-up-DEBUG-R0-0x00ea6102-DEBUG-R1/m-p/2188847#M241493</link>
      <description>&lt;P&gt;For the debug info, it is the LTSSM state,&amp;nbsp; a state machine&amp;nbsp; defined by the PCI express specification that governs how a PCIe link is established, trained, and maintained.&amp;nbsp; it transitions through various states during link initialization and operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the most common LTSSM states and their hex codes:&lt;/P&gt;
&lt;DIV class="___i31lg00 f10pi13n f14t3ns0 f1nbblvp fat0sn4 f1ov4xf1 fekwl8i f1lmfglv f1oz7aqm f1abmfm4 f1w619qj f16h0jq8"&gt;
&lt;TABLE class="___1hm93bs f1ddd56o f16vktn6 f1enuhaj fdclmfp f1ev3kgc ftgm304 f1uinfot fibjyge fvueend f9yszdx f1fu4s3n f3l3pb3 f1s2k7dp f8fmt76 fjvbh62 fysh76l fic4ptz f1yenhzu f1yn6nvh f14tj6oe f1jq587y f1el8yx3 f1pymoxg f1ofu761 fe6itr f7coize f1794535 f70r78m f4zgifc fk1v6el f16pyhcb fo436u6 fzy4j18 fc43013 f1hmrcvb fc4t9fq fgp09rh fjnyn6r" tabindex="0"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH&gt;Hex Code&lt;/TH&gt;
&lt;TH&gt;LTSSM State&lt;/TH&gt;
&lt;TH&gt;Description&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x00&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;DETECT_QUIET&lt;/TD&gt;
&lt;TD&gt;No electrical activity detected&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x01&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;DETECT_ACTIVE&lt;/TD&gt;
&lt;TD&gt;Trying to detect receiver&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x02&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;POLL_ACTIVE&lt;/TD&gt;
&lt;TD&gt;Sending TS1 ordered sets&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x03&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;POLL_COMPLIANCE&lt;/TD&gt;
&lt;TD&gt;Compliance pattern testing&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x04&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;POLL_CONFIG&lt;/TD&gt;
&lt;TD&gt;Sending TS2 ordered sets&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x07&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;CFG_LINKWD_START&lt;/TD&gt;
&lt;TD&gt;Starting link width configuration&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x08&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;CFG_LINKWD_ACCEPT&lt;/TD&gt;
&lt;TD&gt;Accepting link width&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x09&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;CFG_LANENUM_WAIT&lt;/TD&gt;
&lt;TD&gt;Waiting for lane number config&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x0A&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;CFG_LANENUM_ACCEPT&lt;/TD&gt;
&lt;TD&gt;Accepting lane number config&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x0B&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;CFG_COMPLETE&lt;/TD&gt;
&lt;TD&gt;Configuration complete&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x11&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;L0&lt;/TD&gt;
&lt;TD&gt;Link is up and active&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x12&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;L0s&lt;/TD&gt;
&lt;TD&gt;Low power idle state&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x13&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;L1&lt;/TD&gt;
&lt;TD&gt;Deeper power saving state&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x17&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;DISABLED_ENTRY&lt;/TD&gt;
&lt;TD&gt;Entering disabled state&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x18&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;DISABLED_IDLE&lt;/TD&gt;
&lt;TD&gt;Disabled but idle&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x19&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;DISABLED&lt;/TD&gt;
&lt;TD&gt;Fully disabled&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x1E&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;HOT_RESET_ENTRY&lt;/TD&gt;
&lt;TD&gt;Entering hot reset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;0x1F&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;HOT_RESET&lt;/TD&gt;
&lt;TD&gt;In hot reset&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when your log shows&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-javascript"&gt;&lt;CODE&gt;imx6q-pcie 33800000.pcie: DEBUG_R0: 0x00ea6102, DEBUG_R1: 0x08200000&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can extract the LTSSM state from the lowest byte, (0x02&amp;nbsp; in this case).&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;0x02&lt;/CODE&gt; → &lt;CODE&gt;POLL_ACTIVE&lt;/CODE&gt; → The controller is sending TS1 ordered sets but not receiving a valid response from the endpoint.&lt;/P&gt;
&lt;P&gt;This means the PCIe link is stuck in the &lt;STRONG&gt;polling phase&lt;/STRONG&gt;, likely due to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Endpoint not responding (e.g., Wi-Fi module not powered or reset properly),&lt;/LI&gt;
&lt;LI&gt;Signal integrity issues,&lt;/LI&gt;
&lt;LI&gt;Clock or reset timing problems.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Oct 2025 03:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-pcie-phy-link-never-came-up-DEBUG-R0-0x00ea6102-DEBUG-R1/m-p/2188847#M241493</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2025-10-20T03:26:40Z</dc:date>
    </item>
  </channel>
</rss>

