<?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: FEC driver about dual LAN port in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289212#M34684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;On IMX28 EVK board, PHY 0 and PHY 1 share the same gpio as their reset pin, in software the function is mx28evk_enet_gpio_init. So any call to pdata-&amp;gt;init() in fec.c will reset both PHY at the same time. In order to avoid such problem, you have to use 2 individual gpio for the PHY reset.&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 15:04:23 GMT</pubDate>
    <dc:creator>jamesbone</dc:creator>
    <dc:date>2013-12-05T15:04:23Z</dc:date>
    <item>
      <title>FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289209#M34681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;My question is when there are two LAN ports(eth0 &amp;amp; eth1) which connected to internet, I attempted to plug in and plug out eth0 and then eth1 status showed up “disconnect” and reconnected again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #575757;"&gt;From my past experience, this is not hardware issue. Due to there is the same situation on iMX28EVK board(Freescale dev Kit).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #575757;"&gt;Our design team also tested mainline kernel from 2.6.35-3 to 3.5.0(Linux) which were provided by Freesacle. All of them have same issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #575757;"&gt;We have done a lot of tests and found out when eth0 “plug in and plug out” that MAC and UDMA of eth0 will be reset by driver and eth1 will be influenced by eth0 which is not make sense. Therefore, we tried to use memory tools to write CPU register value directly and realized that when we wrote &lt;STRONG&gt;MAC0 HW_ENET_MAC_ECR reset bit &lt;/STRONG&gt;or disabled&lt;STRONG&gt; HW_ENET_MAC_RCR RMII_MODE bit&lt;/STRONG&gt; that will cause MAC of eth1 a reset situation and then reconnect to eth1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #575757;"&gt;Due to the conduct of iMX28 driver, our design team think it is related to iMX28 SoC. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #575757;"&gt;Does anyone found this issue or have a solution &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Best Regards,&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 06:19:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289209#M34681</guid>
      <dc:creator>jrtigerlee</dc:creator>
      <dc:date>2013-11-20T06:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289210#M34682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/284318"&gt;Re: L2-Switch ARP reply&lt;/A&gt;.&amp;nbsp; Please be aware that that there is a patch for FEC0&amp;nbsp; you can download it from the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX287&amp;amp;nodeId=018rH3ZrDRA24A&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX287&amp;amp;nodeId=018rH3ZrDRA24A&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX287&amp;amp;nodeId=018rH3ZrDRA24A&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX287&amp;amp;nodeId=018rH3ZrDRA24A&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;L2.6.35 10.12 FEC0 PATCH&lt;/A&gt; &lt;IMG alt="" class="jiveImage" src="http://www.freescale.com/files/graphic/SECURITYINFOIMAGE.gif" /&gt; : Linux patch for i.MX28 SDK 2010.12 to fix the ethernet FEC0 conection problem on i.MX28 EVK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 14:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289210#M34682</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2013-12-03T14:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289211#M34683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jamesbone :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This patches already in fec.c source , so it's helpless &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 01:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289211#M34683</guid>
      <dc:creator>jrtigerlee</dc:creator>
      <dc:date>2013-12-04T01:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289212#M34684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;On IMX28 EVK board, PHY 0 and PHY 1 share the same gpio as their reset pin, in software the function is mx28evk_enet_gpio_init. So any call to pdata-&amp;gt;init() in fec.c will reset both PHY at the same time. In order to avoid such problem, you have to use 2 individual gpio for the PHY reset.&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 15:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289212#M34684</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2013-12-05T15:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289213#M34685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamesbone :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We already know that gpio reset pin limitation, so we test without call pdata-&amp;gt;init() in fec_restart() also have two lan reset issue .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-family: inherit; color: #575757;"&gt;As mentioned above&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-family: inherit; color: #575757;"&gt;We have done a lot of tests and found out when eth0 “plug in and plug out” that MAC and UDMA of eth0 will be reset by driver and eth1 will be influenced by eth0 which is not make sense. Therefore, we tried to use memory tools to write CPU register value directly and realized that when we wrote &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;MAC0 HW_ENET_MAC_ECR reset bit&lt;/SPAN&gt; &lt;/STRONG&gt;or disabled&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt; HW_ENET_MAC_RCR RMII_MODE bit&lt;/STRONG&gt; that will cause MAC of eth1 a reset situation and then reconnect to eth1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-family: inherit; color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 01:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289213#M34685</guid>
      <dc:creator>jrtigerlee</dc:creator>
      <dc:date>2013-12-06T01:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289214#M34686</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: #000000; font-family: Verdana, Tahoma, Arial; font-size: 11px; background-color: #f6f6f6;"&gt;Pls use the attachments enet driver, i think you need to align the ethernet driver with our release.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Tahoma, Arial; font-size: 11px; background-color: #f6f6f6;"&gt;For your issue:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Tahoma, Arial; font-size: 11px; background-color: #f6f6f6;"&gt;1.&amp;nbsp; Plug in-out on eth0 will reset eth1 and vice versa: if you use the attachment driver, you don't meet it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Tahoma, Arial; font-size: 11px; background-color: #f6f6f6;"&gt;2. Write MAC0 register FEC_ECNTRL&amp;nbsp; (HW_ENET_MAC_ECR) reset bit, both eth0 and eth1 will also be reset and the communication will be interrupted: =&amp;gt;The reason is MAC0 and MAC1 share one MDIO bus, when you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Tahoma, Arial; font-size: 11px; background-color: #f6f6f6;"&gt;reset the MAC0, MDIO bus cannot work, trigger MAC1 MDIO read timeout, and then software to reset MAC1. The reset MAC1 is caused by software action, not hardware itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Tahoma, Arial; font-size: 11px; background-color: #f6f6f6;"&gt;Anyway, use the attachment driver instead of yours, the issue can be fixed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 01:42:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289214#M34686</guid>
      <dc:creator>DuanFugang</dc:creator>
      <dc:date>2013-12-06T01:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289215#M34687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fugang : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patch , but this patch i got from Freescale FAE Jacky yesterday .&lt;/P&gt;&lt;P&gt;And also patched to try still have the same issue , when driver call writel(1, fep-&amp;gt;hwp + FEC_ECNTRL); ,&lt;/P&gt;&lt;P&gt;This patch not fixed this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 02:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289215#M34687</guid>
      <dc:creator>jrtigerlee</dc:creator>
      <dc:date>2013-12-06T02:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289216#M34688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this patch as attached file, which fix one customer special switch issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And pls check your fec driver with attached files, to find the diff. Or use the attached driver instead of yours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 02:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289216#M34688</guid>
      <dc:creator>DuanFugang</dc:creator>
      <dc:date>2014-02-25T02:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: FEC driver about dual LAN port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289217#M34689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fugang :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for reply you later, my Freescale account can't logged in for two months from my chrome browser, but i fixed it through my Safari and can logged in again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already got this patches at January, and also fix my problem .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your assistance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:53:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FEC-driver-about-dual-LAN-port/m-p/289217#M34689</guid>
      <dc:creator>jrtigerlee</dc:creator>
      <dc:date>2014-03-21T08:53:25Z</dc:date>
    </item>
  </channel>
</rss>

