<?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のトピックRe: i.MX6q Linux SATA problems</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910656#M137221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;Is there anything similar to the DDR3 RAM stress test program in order to find the best parameter set?&lt;BR /&gt;No, there is not. We don't have this kind of tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SATA SSD, such CRC error warnings often occur on PC computers, and you can search the Internet for relevant discussions. Generally speaking, the cause of this problem is caused by M.2 interface and transmission data line. So you need to try cleaning up the M.2 interface and replacing several different data lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2019 07:49:13 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2019-06-12T07:49:13Z</dc:date>
    <item>
      <title>i.MX6q Linux SATA problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910655#M137220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a custom i.MX6Quad board with a SSD connected via M.2 SATA running a mainline Linux 4.14.x kernel.&lt;/P&gt;&lt;P&gt;Some SSD are not always detected during start. With others we see random CRC errors during read tests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that we can tweak the parameters in IOMUXC_GPR13 via device tree attributes to get a more stable SATA connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything similar to the DDR3 RAM stress test program in order to find the best parameter set?&lt;/P&gt;&lt;P&gt;If not, what is the recommended way to determine these parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 21:17:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910655#M137220</guid>
      <dc:creator>jal21</dc:creator>
      <dc:date>2019-06-11T21:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6q Linux SATA problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910656#M137221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;Is there anything similar to the DDR3 RAM stress test program in order to find the best parameter set?&lt;BR /&gt;No, there is not. We don't have this kind of tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SATA SSD, such CRC error warnings often occur on PC computers, and you can search the Internet for relevant discussions. Generally speaking, the cause of this problem is caused by M.2 interface and transmission data line. So you need to try cleaning up the M.2 interface and replacing several different data lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 07:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910656#M137221</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2019-06-12T07:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6q Linux SATA problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910657#M137222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the quick answer! As we see the crc errors on a custom built board we would try to adapt the parameters in IOMUXC_GPR13&amp;nbsp;to our board. We have these device tree parameters available (plus fsl,no-spread-spectrum which is just a flag):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,receive-eq-mdB&lt;BR /&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,transmit-atten-16ths&lt;BR /&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,transmit-boost-mdB&lt;BR /&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,transmit-level-mV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any recommended procedure in order to find the best matching values of these parameters&amp;nbsp;for a custom build board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 12:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910657#M137222</guid>
      <dc:creator>jal21</dc:creator>
      <dc:date>2019-06-17T12:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6q Linux SATA problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910658#M137223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joerg,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;Is there any recommended procedure in order to find the best matching values of these parameters&amp;nbsp;for a custom build board?&lt;/P&gt;&lt;P&gt;Unfortunately, We don't have a better solution or tool to recommend to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 00:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910658#M137223</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2019-06-18T00:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6q Linux SATA problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910659#M137224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Joerg:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; I am bringing up IMX6Q based board m2 sata ssd function, but our device is not detected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ahci-imx 2200000.sata: no device found, disabling link.&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; Can you share how you make&amp;nbsp;&lt;SPAN&gt;m2 sata ssd functional.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; 1. Is any hardware ciruit required (we use same circuit for general sata and confirm general sata working).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2. Is any u-boot code, kernel defconfig/dts configuration required basides for general sata?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks and best regards.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Johnson&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 02:11:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910659#M137224</guid>
      <dc:creator>zhangjunsheng</dc:creator>
      <dc:date>2019-10-10T02:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6q Linux SATA problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910660#M137225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt; &amp;gt; 1. Is any hardware ciruit required (we use same circuit for general sata and confirm general sata working).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;M.2 SATA does not require any special hardware compared to general SATA, it is just another form factor for a SATA device.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;gt; 2. Is any u-boot code, kernel defconfig/dts configuration required basides for general sata?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Not to my knowledge.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I'd check if SATA A and B are connected correctly. If your M.2 SATA SSD supports DEVSLP,&amp;nbsp; check that this pin is grounded. Also check Vcc to the SSD.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Passing hotplug=1 to the ahci_imx driver (e.g. via a new file /etc/modprobe.d/ahci_imx.conf) may help in the search.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;This will cause the SATA controller in the iMX.6 to continously send out OOB COMRESET, which you may see on a decent oscilloscope.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Joerg&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2019 05:58:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6q-Linux-SATA-problems/m-p/910660#M137225</guid>
      <dc:creator>jal21</dc:creator>
      <dc:date>2019-10-13T05:58:48Z</dc:date>
    </item>
  </channel>
</rss>

