<?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 How to force LS1012A PCIe into Gen 1 mode? in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-force-LS1012A-PCIe-into-Gen-1-mode/m-p/802973#M3567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed the PI7C9X2G304SLBFDE PCI-E switch kit on LS1012ARDB, but sometimes it can't be detected PCI-E switch.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P_20180731_142149.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73179i716241B85526AE2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="P_20180731_142149.jpg" alt="P_20180731_142149.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to force it into Gen 1 mode for testing, how to modify the drivers and force Gen 1 mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Can detect:&lt;BR /&gt;root@TinyDistro:~# cat /proc/bus/pci/devices&lt;BR /&gt;0000 19578100 1e 0 0 0 0 0 0 4040000000 0 0 0 0 0 0 800 pcieport&lt;BR /&gt;0100 12d82404 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;BR /&gt;0208 12d82404 1f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;BR /&gt;0210 12d82404 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;BR /&gt;0218 12d82404 21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not detect:&lt;BR /&gt;root@TinyDistro:~# cat /proc/bus/pci/devices&lt;BR /&gt;0000 19578100 1e 0 0 0 0 0 0 4040000000 0 0 0 0 0 0 800 pcieport&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2018 08:08:57 GMT</pubDate>
    <dc:creator>jasonwu0527</dc:creator>
    <dc:date>2018-07-31T08:08:57Z</dc:date>
    <item>
      <title>How to force LS1012A PCIe into Gen 1 mode?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-force-LS1012A-PCIe-into-Gen-1-mode/m-p/802973#M3567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed the PI7C9X2G304SLBFDE PCI-E switch kit on LS1012ARDB, but sometimes it can't be detected PCI-E switch.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P_20180731_142149.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73179i716241B85526AE2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="P_20180731_142149.jpg" alt="P_20180731_142149.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to force it into Gen 1 mode for testing, how to modify the drivers and force Gen 1 mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Can detect:&lt;BR /&gt;root@TinyDistro:~# cat /proc/bus/pci/devices&lt;BR /&gt;0000 19578100 1e 0 0 0 0 0 0 4040000000 0 0 0 0 0 0 800 pcieport&lt;BR /&gt;0100 12d82404 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;BR /&gt;0208 12d82404 1f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;BR /&gt;0210 12d82404 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;BR /&gt;0218 12d82404 21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not detect:&lt;BR /&gt;root@TinyDistro:~# cat /proc/bus/pci/devices&lt;BR /&gt;0000 19578100 1e 0 0 0 0 0 0 4040000000 0 0 0 0 0 0 800 pcieport&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 08:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-force-LS1012A-PCIe-into-Gen-1-mode/m-p/802973#M3567</guid>
      <dc:creator>jasonwu0527</dc:creator>
      <dc:date>2018-07-31T08:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to force LS1012A PCIe into Gen 1 mode?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-force-LS1012A-PCIe-into-Gen-1-mode/m-p/802974#M3568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293350" data-username="jasonwu0527" href="https://community.nxp.com/people/jasonwu0527"&gt;Jason Wu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could change &lt;SPAN&gt;Link_Control_2_Register[T_LS] register value to force link speed down to Gen1.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The offset of this register is 0xA0, PEX1 address is 0x3400000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Under u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; md 0x34000a0 1&lt;BR /&gt;034000a0: 00010002&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; ....&lt;BR /&gt;=&amp;gt; mw 0x34000a0 0x00010001&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; md 0x34000a0 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;034000a0: 00010001&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Wed, 08 Aug 2018 08:54:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-force-LS1012A-PCIe-into-Gen-1-mode/m-p/802974#M3568</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2018-08-08T08:54:36Z</dc:date>
    </item>
  </channel>
</rss>

