<?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: help about fec problem</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154114#M1827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took a look in the Freescale git tree on Friday, and it seemed that the bug was still there...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As pointed out elsewhere the 'fix' is a one liner in drivers/net/fec.c in fec_stop() - just remove the following lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Whack a reset.&amp;nbsp; We should wait for this. */&lt;BR /&gt;&amp;nbsp; writel(1, fep-&amp;gt;hwp + FEC_ECNTRL);&lt;BR /&gt;&amp;nbsp; udelay(10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if this could get fixed on mainline as the bug has been around for a long time now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Oct 2011 16:59:05 GMT</pubDate>
    <dc:creator>Michael_McTerna</dc:creator>
    <dc:date>2011-10-30T16:59:05Z</dc:date>
    <item>
      <title>help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154107#M1820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a big problem that I couldn't understand. I have i.mx28 evk. I use default sb linux with sd card. I want to up eth0 and mount my host pc with nfs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ifconfig eth0 122.122.122.149 netmask 255.255.255.0&lt;/P&gt;&lt;P&gt;eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1)&lt;BR /&gt;root@freescale ~$ PHY: 0:00 - Link is Up - 100/Full&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mount -t nfs -o nolock 122.122.122.141:/srv/nfs/share /mnt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes mounting is ok, sometimes it lates, but sometimes it cannot be mounted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mostly I see act led flashes very fast but there is no activity. I check with ifconfig, there is no increase on any packets and on ethernet switch act. led doesn't flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I couldn't mount nfs, I tried down up like below and got error response;&lt;/P&gt;&lt;P&gt;ifconfig eth0 down&lt;/P&gt;&lt;P&gt;ifconfig eth0 up&lt;/P&gt;&lt;P&gt;FEC: MDIO read timeout&lt;/P&gt;&lt;P&gt;eth0: could not attach to PHY&lt;/P&gt;&lt;P&gt;ifconfig: SIOCSIFFLAGS: Connection timeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mehmet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 May 2011 12:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154107#M1820</guid>
      <dc:creator>mehmet</dc:creator>
      <dc:date>2011-05-08T12:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154108#M1821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Someone should get same error. It is default images and evk.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mehmet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 12:03:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154108#M1821</guid>
      <dc:creator>mehmet</dc:creator>
      <dc:date>2011-05-12T12:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154109#M1822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have exactly the same problem (with or whithout nfs).&amp;nbsp; Activity led flashes very fast but there is no activity.&lt;/P&gt;&lt;P&gt;I was not able to get any useful information from the freescale support team.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 13:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154109#M1822</guid>
      <dc:creator>wgeho</dc:creator>
      <dc:date>2011-06-20T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154110#M1823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a patch for the ethernet on the 2.6.35 BSP from freescale,&lt;/P&gt;&lt;P&gt;check out the thread on the freescale page,&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/t5/i-MX-Microprocessors/i-mx28-evk-network-plug-unplug-problem/m-p/75101#M2948" target="_blank"&gt;http://forums.freescale.com/t5/i-MX-Microprocessors/i-mx28-evk-network-plug-unplug-problem/m-p/75101#M2948&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 14:37:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154110#M1823</guid>
      <dc:creator>TimWoodham</dc:creator>
      <dc:date>2011-06-22T14:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154111#M1824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The described problem is not&amp;nbsp;exactly&amp;nbsp;the same.&lt;/P&gt;&lt;P&gt;Well, there are two problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - &amp;nbsp;stopping ethernet is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp; -&amp;nbsp; the activity led flashes very fast but there is no activity (only happens sometimes).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The patch is a workaround for the first one, but there remains the second one.&lt;/P&gt;&lt;P&gt;However, for me it seems they are related. After calling the function fec_restart, there are no more interrupts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 13:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154111#M1824</guid>
      <dc:creator>wgeho</dc:creator>
      <dc:date>2011-06-23T13:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154112#M1825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also use nfs, it just fine. Maybe you need to check your working network.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For later problem, the fec has this problem. Check the solution on freescale forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 06:30:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154112#M1825</guid>
      <dc:creator>BryanJI</dc:creator>
      <dc:date>2011-06-24T06:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154113#M1826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has this problem being fixed. We are running 3.1.0-rc5 kernel and see this often.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if one does if down eth0 and then if up eth0 then you see message:&lt;/P&gt;&lt;P&gt;FEC: MDIO read timeout&lt;BR /&gt;eth0: could not attach to PHY&lt;BR /&gt;ifconfig: SIOCSIFFLAGS: Connection timed out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also when nfs booting sometimes the TX LED on the connector flashes really fast but actually board doesn't seem to be do rx/tx any packets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ BTW are freescale folks on imxcommunity.org? ]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 21:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154113#M1826</guid>
      <dc:creator>SamGandhi</dc:creator>
      <dc:date>2011-10-28T21:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154114#M1827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took a look in the Freescale git tree on Friday, and it seemed that the bug was still there...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As pointed out elsewhere the 'fix' is a one liner in drivers/net/fec.c in fec_stop() - just remove the following lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Whack a reset.&amp;nbsp; We should wait for this. */&lt;BR /&gt;&amp;nbsp; writel(1, fep-&amp;gt;hwp + FEC_ECNTRL);&lt;BR /&gt;&amp;nbsp; udelay(10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if this could get fixed on mainline as the bug has been around for a long time now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2011 16:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154114#M1827</guid>
      <dc:creator>Michael_McTerna</dc:creator>
      <dc:date>2011-10-30T16:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154115#M1828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which revision of i.mx28 EVK board are you seeing this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 15:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154115#M1828</guid>
      <dc:creator>YiLi</dc:creator>
      <dc:date>2012-01-05T15:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154116#M1829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually on a Karo TX28 module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 15:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154116#M1829</guid>
      <dc:creator>Michael_McTerna</dc:creator>
      <dc:date>2012-01-05T15:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154117#M1830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the same problem when testing another i.MX platform. It was solved by increasing the MDIO timeout on file linux/drivers/fec.c (The patch was already submitted on Freescale and Mainline repositories).&lt;/P&gt;&lt;P&gt;On this file, change the line:&lt;/P&gt;&lt;P&gt;#define FEC_MII_TIMEOUT&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1000&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;#define FEC_MII_TIMEOUT&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40000&lt;/P&gt;&lt;P&gt;Doesn't make sense to leave the timeout in 1000 usecs because the time resolution is 10ms. On my tests 40ms seems to work fine with the PHY I have used.&lt;/P&gt;&lt;P&gt;Let us know about your results.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Rogerio Pimentel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 14:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154117#M1830</guid>
      <dc:creator>rogerio_silva</dc:creator>
      <dc:date>2012-01-06T14:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154118#M1831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;CITE&gt;Rogerio Pimentel said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/help-about-fec-problem#4103961Comment52930"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;I got the same problem when testing another i.MX platform. It was solved by increasing the MDIO timeout on file linux/drivers/fec.c (The patch was already submitted on Freescale and Mainline repositories).&lt;/P&gt;&lt;P&gt;On this file, change the line:&lt;/P&gt;&lt;P&gt;#define FEC_MII_TIMEOUT&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1000&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;#define FEC_MII_TIMEOUT&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40000&lt;/P&gt;&lt;P&gt;Doesn't make sense to leave the timeout in 1000 usecs because the time resolution is 10ms. On my tests 40ms seems to work fine with the PHY I have used.&lt;/P&gt;&lt;P&gt;Let us know about your results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;I tested the timeout change on my MX28 and it doesn't fix the original problem, which I think is actually caused because the MII interface doesn't get sufficiently re-initialised after the reset in fec_stop() since fec_enet_interrupt() then never gets the FEC_ENET_MII &amp;amp; hence the similar but different timeout.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I also checked and FEC_MII_TIMEOUT is passed through usecs_to_jiffies().&amp;nbsp; I tested this and found it sensibly rounds up to 1 jiffy = 10ms on my board which seems plenty long enough in normal operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't checked again, so maybe the problem's already been fixed by Freescale.&amp;nbsp; It's certainly been around on the MX28 for long enough:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/t5/i-MX-Microprocessors/iMX28-eth0-Could-not-attach-to-PHY/m-p/65649" target="_blank"&gt;http://forums.freescale.com/t5/i-MX-Microprocessors/iMX28-eth0-Could-not-attach-to-PHY/m-p/65649&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 16:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154118#M1831</guid>
      <dc:creator>Michael_McTerna</dc:creator>
      <dc:date>2012-01-06T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154119#M1832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NFS use UDP as its default protocol.&lt;BR /&gt;UDP is not stable.&lt;BR /&gt;You can use "-o tcp" when mount, so it will use tcp to make connection. TCP is a stable connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 06:55:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154119#M1832</guid>
      <dc:creator>jackyliu</dc:creator>
      <dc:date>2012-01-16T06:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154120#M1833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't what's the current status of this issue...&lt;/P&gt;&lt;P&gt;Please also make sure you have a MAC address assigned to your interface. I've had a similar experience with our project with i.mx253 + LAN8700(RMII). No other "tweaks" were necessary, everything runs out-of-box, with kernel 2.6.39.4...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 07:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154120#M1833</guid>
      <dc:creator>PeterKardos</dc:creator>
      <dc:date>2012-01-17T07:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154121#M1834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Just experienced this on a MX28EVK board running 2.6.35 kernel from freescale. What is the preferred way to fix or get around this problem?&lt;/P&gt;&lt;P&gt;Does the patch mentioned earlier work and if yes, how should it be applied?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pauli&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:14:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154121#M1834</guid>
      <dc:creator>PauliM</dc:creator>
      <dc:date>2012-02-09T14:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154122#M1835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;CITE&gt;Pauli M said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/help-about-fec-problem?id=4103961%3ATopic%3A13423&amp;amp;page=2#4103961Comment59213"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Hi, Just experienced this on a MX28EVK board running 2.6.35 kernel from freescale. What is the preferred way to fix or get around this problem?&lt;/P&gt;&lt;P&gt;Does the patch mentioned earlier work and if yes, how should it be applied?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;I'm not sure what the preferred way is, but I removed the following lines from drivers/net/fec.c in fec_stop(), and this allows me to ifup/ifdown the net device repeatedly without problem on my i.MX28 with linux 2.6.38:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Whack a reset.&amp;nbsp; We should wait for this. */&lt;BR /&gt;&amp;nbsp; writel(1, fep-&amp;gt;hwp + FEC_ECNTRL);&lt;BR /&gt;&amp;nbsp; udelay(10);&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154122#M1835</guid>
      <dc:creator>Michael_McTerna</dc:creator>
      <dc:date>2012-02-09T14:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154123#M1836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Actually I've fixed the "Led Blinking" &amp;nbsp;problem&amp;nbsp;(which occurs just on some networks) using the attached patch. For my understanding the PHY was continuosly processing speed auto negotiation packets, preventing it to work properly.&lt;/P&gt;&lt;P&gt;I've implemented this on top of the above mentioned patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; --daniele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:24:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154123#M1836</guid>
      <dc:creator>DanieleDall_Acq</dc:creator>
      <dc:date>2012-02-09T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154124#M1837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The patch :)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154124#M1837</guid>
      <dc:creator>DanieleDall_Acq</dc:creator>
      <dc:date>2012-02-09T15:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154125#M1838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Thanks. On a quick test commenting the two lines seems to work. Sad to see there is no official fix for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pauli&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154125#M1838</guid>
      <dc:creator>PauliM</dc:creator>
      <dc:date>2012-02-09T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: help about fec problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154126#M1839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Daniele Dall'Acqua wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The patch &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me to documentation of how to integrate this patch into LTIB kernel builds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/help-about-fec-problem/m-p/154126#M1839</guid>
      <dc:creator>CraigMcQueen</dc:creator>
      <dc:date>2020-10-29T08:57:44Z</dc:date>
    </item>
  </channel>
</rss>

