<?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: Unable to get ethernet working on kernel  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486526#M77866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share the following materials:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Full system boot log.&lt;/P&gt;&lt;P&gt;2. Your Device Tree source.&lt;/P&gt;&lt;P&gt;3. Output of `ifconfig -a'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Platon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 13:47:44 GMT</pubDate>
    <dc:creator>bpe</dc:creator>
    <dc:date>2016-01-13T13:47:44Z</dc:date>
    <item>
      <title>Unable to get ethernet working on kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486525#M77865</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;&lt;/P&gt;&lt;P&gt;We have customized board based on iMX6Q. In which we are using Marvell switch mv88e6176. In this switch port0 is connected with external ethernet, port 6 is connected with FEC controller of IMX6Q processor, port5 is connected with MAC of other board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We got ethernet working on u-boot level and tftp is also working. But at kernel level we got below error while booting. "IP-Config: Failed to open eth0" and&amp;nbsp; "IP-Config: No network devices available".&lt;/P&gt;&lt;P&gt;Initially it was failing because no PHY device. Then we make few changes related to fix phy our kernel. Now we are stuck at this stage. Any help or suggestion related to this issue will appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jemish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 12:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486525#M77865</guid>
      <dc:creator>jemish_1990</dc:creator>
      <dc:date>2016-01-13T12:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get ethernet working on kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486526#M77866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share the following materials:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Full system boot log.&lt;/P&gt;&lt;P&gt;2. Your Device Tree source.&lt;/P&gt;&lt;P&gt;3. Output of `ifconfig -a'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Platon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 13:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486526#M77866</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-01-13T13:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get ethernet working on kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486527#M77867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached all the files as required.&lt;/P&gt;&lt;P&gt;I have upload full dts source code in which we are using "imx6q-lu600board.dtb"&lt;/P&gt;&lt;P&gt;For this .dtb file relevant files are as below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;imx6q-lu600board.dtb&lt;/LI&gt;&lt;LI&gt;imx6q-lu600board.dts&lt;/LI&gt;&lt;LI&gt;imx6qdl-lu600board.dtsi&lt;/LI&gt;&lt;LI&gt;imx6q.dtsi&lt;/LI&gt;&lt;LI&gt;imx6qdl-lu600board.dtsi&lt;/LI&gt;&lt;LI&gt;imx6qdl.dtsi&lt;/LI&gt;&lt;LI&gt;imx6q-pinfunc.h&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I am not able to boot board till the filesystem prompt so Output of "ifconfig -a" is not possible.&lt;/P&gt;&lt;P&gt;Let me know if anything is required. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jemish !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 14:13:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486527#M77867</guid>
      <dc:creator>jemish_1990</dc:creator>
      <dc:date>2016-01-13T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get ethernet working on kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486528#M77868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the attached boot log, the kernel does not see a valid Ethernet to configure. Besides that, I see some output in the kernel&lt;/P&gt;&lt;P&gt;log that suggests that you modified the driver. In general, adding a fixed-link property to the controller device tree node should&lt;/P&gt;&lt;P&gt;be sufficient to bypass the PHY initialization and setup the controller parameters properly without reading the PHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Revert to the original BSP kernel.&lt;/P&gt;&lt;P&gt;2. Make sure the device tree correctly reflects the MAC/PHY interface type.&lt;/P&gt;&lt;P&gt;3. Use a sufficiently compact root filesystem image to TFTP it with subsequent ramboot to allow the system to complete booting.&lt;/P&gt;&lt;P&gt;4. Use ifconfig and ethtool to check the status of the interface&lt;/P&gt;&lt;P&gt;5. Use a debugger to verify that the following piece of code in fec_main.c is reached and&amp;nbsp; of_phy_register_fixed_link() is invoked.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (!phy_node &amp;amp;&amp;amp; of_phy_is_fixed_link(np)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret = of_phy_register_fixed_link(np);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ret &amp;lt; 0) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dev_err(&amp;amp;pdev-&amp;gt;dev,&lt;/P&gt;&lt;P&gt;&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; "broken fixed-link specification\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto failed_phy;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; phy_node = of_node_get(np);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 12:30:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486528#M77868</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-01-14T12:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get ethernet working on kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486529#M77869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Platon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your value able suggestions. After going to through few links and applying below patch for fixed-link I am able to get it working now. &lt;/P&gt;&lt;P&gt;We can close this this discussion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/196920.html" title="http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/196920.html"&gt;[RFC PATCHv2 2/4] net: phy: extend fixed driver with fixed_phy_register()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jemish&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 11:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-ethernet-working-on-kernel/m-p/486529#M77869</guid>
      <dc:creator>jemish_1990</dc:creator>
      <dc:date>2016-01-15T11:02:42Z</dc:date>
    </item>
  </channel>
</rss>

