<?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 FEC driver problem on i.mx25 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176235#M6674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes the FEC driver will stall with a descriptor in the DMA ring that's ready for transmit but&amp;nbsp;﻿﻿﻿﻿﻿﻿﻿FEC_X_DES_ACTIVE bit is not enabled. &amp;nbsp;This buffer will remain jammed in the ring until another transmit request is queued.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else seen this issue? &amp;nbsp;Is there a known solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have worked around the problem by keeping a count of tx ready descriptor, then we check that count at the end of fec_enet_rx(). &amp;nbsp;If we have at least one tx descriptor ready, but the DMA TX controller is not active, we give it a bump.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to avoid this situation rather than work around it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 21:02:36 GMT</pubDate>
    <dc:creator>sethbollinger</dc:creator>
    <dc:date>2011-10-12T21:02:36Z</dc:date>
    <item>
      <title>FEC driver problem on i.mx25</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176235#M6674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes the FEC driver will stall with a descriptor in the DMA ring that's ready for transmit but&amp;nbsp;﻿﻿﻿﻿﻿﻿﻿FEC_X_DES_ACTIVE bit is not enabled. &amp;nbsp;This buffer will remain jammed in the ring until another transmit request is queued.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else seen this issue? &amp;nbsp;Is there a known solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have worked around the problem by keeping a count of tx ready descriptor, then we check that count at the end of fec_enet_rx(). &amp;nbsp;If we have at least one tx descriptor ready, but the DMA TX controller is not active, we give it a bump.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to avoid this situation rather than work around it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 21:02:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176235#M6674</guid>
      <dc:creator>sethbollinger</dc:creator>
      <dc:date>2011-10-12T21:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver problem on i.mx25</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176236#M6675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please try a 3.0 kernel and let us know if you face the same issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do, please list the steps on how to reproduce this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:37:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176236#M6675</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2011-10-13T17:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver problem on i.mx25</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176237#M6676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We don't have a BSP for the 3.0 kernel. &amp;nbsp;It will take some time to get that working. &amp;nbsp;I will let you know when I gather that data.&lt;/P&gt;&lt;P&gt;Is there a reason you think this is fixed in kernels beyond 2.6.35.14?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 17:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176237#M6676</guid>
      <dc:creator>sethbollinger</dc:creator>
      <dc:date>2011-10-14T17:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver problem on i.mx25</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176238#M6677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have any details about the problem you mention. 2.6.35 kernel does not receive any more updates, so it is a good idea to try 3.0 to check if the problem still exists or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you see the problem, then the drivers/net folks would be interested in fixing&amp;nbsp; it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 19:09:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176238#M6677</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2011-10-14T19:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver problem on i.mx25</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176239#M6678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Comment found in actual u-boot driver:&lt;/P&gt;&lt;P&gt;================================================================&lt;/P&gt;&lt;P&gt;When only one BD is in&lt;BR /&gt;&amp;nbsp;* use it must be marked with the WRAP bit to use it for every transmitt.&lt;BR /&gt;&amp;nbsp;* This bit in combination with the READY bit results into double transmit&lt;BR /&gt;&amp;nbsp;* of each data buffer. It seems the state machine checks READY earlier then&lt;BR /&gt;&amp;nbsp;* resetting it after the first transfer.&lt;BR /&gt;&amp;nbsp;* Using two BDs solves this issue.&lt;/P&gt;&lt;P&gt;========================================================&lt;/P&gt;&lt;P&gt;We observed similar problems on processing the last descriptor in a ringbuffer.....&lt;/P&gt;&lt;P&gt;What´s even more scary - is that is obvious race condition depends somehow on chip revisions.&lt;/P&gt;&lt;P&gt;Identical code failed on our board - but not on the evk. So be careful with the last descriptor ;-))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 11:30:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-problem-on-i-mx25/m-p/176239#M6678</guid>
      <dc:creator>wolfgang_gaerbe</dc:creator>
      <dc:date>2012-05-22T11:30:09Z</dc:date>
    </item>
  </channel>
</rss>

