<?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: Problem about two ethernet phys</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789562#M122383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4.1.15 and 4.9 from&amp;nbsp;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;4.15-kernel from ubuntu core&amp;nbsp;&lt;/P&gt;&lt;P&gt;both have this problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2018 08:17:28 GMT</pubDate>
    <dc:creator>cyndent</dc:creator>
    <dc:date>2018-12-20T08:17:28Z</dc:date>
    <item>
      <title>Problem about two ethernet phys</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789560#M122381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; i'm working on&amp;nbsp; imx6ull board and have some problem on ethernet phy. The second phy do not work at the first power on. And now i find that i can not enter uboot command line at the first power on. i have already check about the setting about autoboot and set delay to 10s. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The first phy can work well in uboot but the second can not even if it can work well in kernel. When i use 'dhcp' command it will run out time. I check about phy reg and it's all right.And it can change 100baseT to 10baseT when i draw cable out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I'm a beginner about uboot and linux kernel. i'm not sure which step is wrong while initial phy. And if i reload fec.ko driver in linux, the two phys will work well. But i'm using Ubuntu core, when i reload fec.ko , it will report&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;[&amp;nbsp; 175.260999] fec_init 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;[&amp;nbsp; 175.554252] kobject_add_internal failed for 2188000.ethernet-2 with -EEXIST, don't try to register things with the same name in the same directory.&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;[&amp;nbsp; 175.567868] libphy: mii_bus 2188000.ethernet-2 failed to register&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So i want to do a full initialization twice while initial in uboot or in kernel. But i do not know how to do it...&lt;/P&gt;&lt;P&gt;Can anyone give me some suggestion about that？ Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 10:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789560#M122381</guid>
      <dc:creator>cyndent</dc:creator>
      <dc:date>2018-12-12T10:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem about two ethernet phys</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789561#M122382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which bsp are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 08:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789561#M122382</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2018-12-20T08:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem about two ethernet phys</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789562#M122383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4.1.15 and 4.9 from&amp;nbsp;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;4.15-kernel from ubuntu core&amp;nbsp;&lt;/P&gt;&lt;P&gt;both have this problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 08:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789562#M122383</guid>
      <dc:creator>cyndent</dc:creator>
      <dc:date>2018-12-20T08:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem about two ethernet phys</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789563#M122384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In u-boot, you can add the function to configure your PHY in the &amp;lt;your_board&amp;gt;.c file.&lt;/P&gt;&lt;P&gt;For your reference: &lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6sabresd/mx6sabresd.c?h=imx_v2017.03_4.9.11_1.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6sabresd/mx6sabresd.c?h=imx_v2017.03_4.9.11_1.0.0_ga"&gt;mx6sabresd.c\mx6sabresd\freescale\board - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a fec_phy_reset. Use the gpio to reset the PHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In kernel, you can modify the fec_fixup.c. It is the Linux driver for SoC and PHY special implement. For details, please refer to the BSP document i.MX_Reference_Manual.pdf Chapter 4.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can download the document from here : &lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-software-and-development-tool:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-software-and-development-tool:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;A class="" href="https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS"&gt;Linux 4.9.88_2.0.0 BSP &amp;amp; Multimedia Codecs Documentation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 09:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-about-two-ethernet-phys/m-p/789563#M122384</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2018-12-20T09:03:04Z</dc:date>
    </item>
  </channel>
</rss>

