<?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: Linux hangs on PCIe outbound transaction  in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602833#M1385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to set the &lt;SPAN class=""&gt;&lt;STRONG&gt;IOMUXC_GPR8&lt;/STRONG&gt; register&lt;/SPAN&gt; (addr 0x20E0020), to : &lt;STRONG&gt;0xFFFD4000&lt;/STRONG&gt; (default value set on u-boot) but unfortunately with no effect on our problem.&lt;/P&gt;&lt;P&gt;The value set by linux in the&amp;nbsp;&lt;SPAN class=""&gt;&lt;STRONG&gt;IOMUXC_GPR8&lt;/STRONG&gt; register&lt;/SPAN&gt; was 0xE7CD4514.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't seem to be caused by a signal integrity problem because it works when we just replace linux with u-boot on the IMX6 board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 09:48:52 GMT</pubDate>
    <dc:creator>florentinbourge</dc:creator>
    <dc:date>2016-09-09T09:48:52Z</dc:date>
    <item>
      <title>Linux hangs on PCIe outbound transaction</title>
      <link>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602831#M1383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-size: 22px;"&gt;&lt;STRONG&gt;Context&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Our team is facing a kind of hard point while trying to initiate a PCI Express interaction between two NXP targets.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Target 1&lt;/STRONG&gt;&lt;/SPAN&gt; : &lt;STRONG&gt;IMX6&lt;/STRONG&gt; &lt;STRONG&gt;Quad Plus&lt;/STRONG&gt; running an official Linux (3.14.52) freescale distribution and defined as &lt;STRONG&gt;PCie Root Complex&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Target 2 : &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;T1040&lt;/STRONG&gt; running an official Linux (3.12) QorIQ freescale distribution and defined as PCIe &lt;STRONG&gt;Endpoint&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schematic view :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PCIe_failure.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5875iDC8C713828EB820F/image-size/large?v=v2&amp;amp;px=999" role="button" title="PCIe_failure.PNG" alt="PCIe_failure.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;Working part&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;- We achieved to configure the PCIe link in order to see the T1040 as a regular endpoint device on the IMX6.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;- We succeed to send frames on the first IMX6 outbound windows and see data correctly transmitted to the correct Software Portal on the T1040.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;Failing part&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As soon as we try to &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;read or write into the PCIe n°4 Memory Space&lt;/STRONG&gt;&lt;/SPAN&gt; (Base address : 0xC_0000_0000) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;+ Problem 1&lt;/STRONG&gt;&lt;/SPAN&gt; : The T1040 Linux &lt;STRONG&gt;hangs&lt;/STRONG&gt;. These is to say that nothing is printed anymore on the serial console (no exception, no error, nothing at all), like if the T1040 was in active waiting state and the IMX6 was physically absent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;+ Problem 2 :&lt;/STRONG&gt;&lt;/SPAN&gt; When we &lt;STRONG&gt;reset&lt;/STRONG&gt; or unplug/replug the IMX6, the T1040 is released and either his Linux crash (with some exceptions printed) or nothing bad happens and the command prompt comeback fully functional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;+ Problem 3&lt;/STRONG&gt;&lt;/SPAN&gt; : Obviously, nothing is written in the IMX6 RAM as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;+ Problem 4&lt;/STRONG&gt;&lt;/SPAN&gt; : The same operation (writing or reading in the&amp;nbsp;PCIe n°4 Memory Space) &lt;STRONG&gt;works fine&lt;/STRONG&gt; if we run the IMX6 on &lt;STRONG&gt;U-boot&lt;/STRONG&gt; and set the same configuration in his PCIe registers. Like this, the IMX6 RAM is written as soon as we write some data into the T1040 PCIe n°4 Memory Space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on this linux hanging or on our entire problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 15:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602831#M1383</guid>
      <dc:creator>florentinbourge</dc:creator>
      <dc:date>2016-09-08T15:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Linux hangs on PCIe outbound transaction</title>
      <link>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602832#M1384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Please check PCIe signals, using the the following discussion &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;"PCIe, diagnosing and improving eye diagram"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;lt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F537250%23537250" rel="nofollow" target="_blank"&gt;https://community.freescale.com/message/537250#537250&lt;/A&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Also, please try adjust parameters of PCIe_PHY by changing the IOMUXC_GPR8 register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;You may refer to app note AN4784&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;lt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fapp_note%2FAN4784.pdf" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/files/32bit/doc/app_note/AN4784.pdf&lt;/A&gt;&lt;SPAN&gt; &amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;for details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 05:24:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602832#M1384</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-09-09T05:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Linux hangs on PCIe outbound transaction</title>
      <link>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602833#M1385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to set the &lt;SPAN class=""&gt;&lt;STRONG&gt;IOMUXC_GPR8&lt;/STRONG&gt; register&lt;/SPAN&gt; (addr 0x20E0020), to : &lt;STRONG&gt;0xFFFD4000&lt;/STRONG&gt; (default value set on u-boot) but unfortunately with no effect on our problem.&lt;/P&gt;&lt;P&gt;The value set by linux in the&amp;nbsp;&lt;SPAN class=""&gt;&lt;STRONG&gt;IOMUXC_GPR8&lt;/STRONG&gt; register&lt;/SPAN&gt; was 0xE7CD4514.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't seem to be caused by a signal integrity problem because it works when we just replace linux with u-boot on the IMX6 board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 09:48:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602833#M1385</guid>
      <dc:creator>florentinbourge</dc:creator>
      <dc:date>2016-09-09T09:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linux hangs on PCIe outbound transaction</title>
      <link>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602834#M1386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem fixed !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We finally discovered that the &lt;STRONG&gt;BUS_MASTER&lt;/STRONG&gt; bit in T1040 &lt;EM&gt;PCI Express Command Register&lt;/EM&gt; was unset to &lt;STRONG&gt;0&lt;/STRONG&gt; during the boot of linux on the IMX6 !!! As we knew that this bit had to be set to &lt;STRONG&gt;1 &lt;/STRONG&gt;in order to &lt;STRONG&gt;allow&lt;/STRONG&gt; the T1040 to use the PCIe Link, we just forced this bit to 1 (on the T1040) after the boot of linux on the IMX6. After that, all is working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, thank you for your attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:19:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Linux-hangs-on-PCIe-outbound-transaction/m-p/602834#M1386</guid>
      <dc:creator>florentinbourge</dc:creator>
      <dc:date>2016-09-09T15:19:40Z</dc:date>
    </item>
  </channel>
</rss>

