<?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 with Ethernet on IMX6ULL EVK</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613343#M92654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for further details...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Eth1 port is not defined in /etc/network/interfaces file, only Eth0 is defined. To define Eth0 please edit /etc/network/interfaces adding the following information:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a DHCP client:&lt;/P&gt;&lt;P&gt;auto eth1&lt;/P&gt;&lt;P&gt;iface eth1 inet dhcp&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a Static IP (of course this is an example, your numbers will be different):&lt;/P&gt;&lt;P&gt;auto eth1&lt;/P&gt;&lt;P&gt;iface eth1 inet static&lt;/P&gt;&lt;P&gt;address 192.168.0.100&lt;/P&gt;&lt;P&gt;network 192.168.0.0&lt;/P&gt;&lt;P&gt;netmask 255.255.255.0&lt;/P&gt;&lt;P&gt;broadcast 192.168.0.255&lt;/P&gt;&lt;P&gt;gateway 192.168.0.1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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, 09 Feb 2017 21:18:57 GMT</pubDate>
    <dc:creator>Carlos_Musich</dc:creator>
    <dc:date>2017-02-09T21:18:57Z</dc:date>
    <item>
      <title>Problem with Ethernet on IMX6ULL EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613341#M92652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ethernet isn't working on my EVK. It's detected at boot but fails to get an IP address&amp;nbsp;from the router (which I've checked is working).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Configuring network interfaces... fec 20b4000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;udhcpc (v1.24.1) started&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Sending discover...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Sending discover...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Sending discover...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;No lease, forking to background&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;done.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read this thread (&lt;A href="https://community.nxp.com/thread/440183"&gt;I.MX6UL EVK: Ethernet ports not working&lt;/A&gt;) and&amp;nbsp;&lt;EM&gt;think&lt;/EM&gt; that the required patch has been applied though I'm very new to Yocto! I rooted around until I found a file called mach-imx6ul.c then found that git said that it had a change not staged for commit (it wasn't me that patched it - how did I get someone else's unstaged commits ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;chris:kernel-source$ pwd&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/home/chris/opensource/fsl-release-bsp/build/tmp/work-shared/imx6ull14x14evk/kernel-source&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;chris:kernel-source$ git status&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;On branch imx_4.1.15_2.0.0_ga&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Your branch is up-to-date with 'origin/imx_4.1.15_2.0.0_ga'.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Changes not staged for commit:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; (use "git add &amp;lt;file&amp;gt;..." to update what will be committed)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; (use "git checkout -- &amp;lt;file&amp;gt;..." to discard changes in working directory)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;modified: arch/arm/mach-imx/mach-imx6ul.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; modified: sound/soc/codecs/wm8960.c&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;no changes added to commit (use "git add" and/or "git commit -a")&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;chris:kernel-source$ git diff arch&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;index 034db69..25760bd 100644&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--- a/arch/arm/mach-imx/mach-imx6ul.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+++ b/arch/arm/mach-imx/mach-imx6ul.c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;@@ -50,10 +50,22 @@ static int ksz8081_phy_fixup(struct phy_device *dev)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; return 0;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; }&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt;-#define PHY_ID_KSZ8081 0x00221560&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+/*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ * i.MX6UL EVK board RevA, RevB, RevC all use KSZ8081&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ * Silicon revision 00, the PHY ID is 0x00221560, pass our&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ * test with the phy fixup.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+#define PHY_ID_KSZ8081_MNRN60 0x00221560&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+/*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ * i.MX6UL EVK board RevC1 board use KSZ8081&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ * Silicon revision 01, the PHY ID is 0x00221561.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ * This silicon revision still need the phy fixup setting.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+#define PHY_ID_KSZ8081_MNRN61 0x00221561&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; static void __init imx6ul_enet_phy_init(void)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- phy_register_fixup_for_uid(PHY_ID_KSZ8081, 0xffffffff, ksz8081_phy_fixup);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ phy_register_fixup(PHY_ANY_ID, PHY_ID_KSZ8081_MNRN60, 0xffffffff, ksz8081_phy_fixup);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ phy_register_fixup(PHY_ANY_ID, PHY_ID_KSZ8081_MNRN61, 0xffffffff, ksz8081_phy_fixup);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; }&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; #define OCOTP_CFG3 0x440&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN&gt;Any clues would be gratefully received.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613341#M92652</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-02-08T15:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on IMX6ULL EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613342#M92653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that I had the ethernet cable plugged in to the wrong ethernet socket on the EVK. I didn't&amp;nbsp;realise that I only had one of the two ethernet ports configured somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing to see here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613342#M92653</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-02-08T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on IMX6ULL EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613343#M92654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for further details...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Eth1 port is not defined in /etc/network/interfaces file, only Eth0 is defined. To define Eth0 please edit /etc/network/interfaces adding the following information:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a DHCP client:&lt;/P&gt;&lt;P&gt;auto eth1&lt;/P&gt;&lt;P&gt;iface eth1 inet dhcp&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a Static IP (of course this is an example, your numbers will be different):&lt;/P&gt;&lt;P&gt;auto eth1&lt;/P&gt;&lt;P&gt;iface eth1 inet static&lt;/P&gt;&lt;P&gt;address 192.168.0.100&lt;/P&gt;&lt;P&gt;network 192.168.0.0&lt;/P&gt;&lt;P&gt;netmask 255.255.255.0&lt;/P&gt;&lt;P&gt;broadcast 192.168.0.255&lt;/P&gt;&lt;P&gt;gateway 192.168.0.1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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, 09 Feb 2017 21:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613343#M92654</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-02-09T21:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on IMX6ULL EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613344#M92655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Carlos. That's useful. As an aside, is it a simple job to get a USB wifi dongle working on the EVK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 16:31:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613344#M92655</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-02-10T16:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on IMX6ULL EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613345#M92656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the USB dongle uses generic CDC and VNIC classes functionalities it should work just when connected. But if not it may be necessary to add the driver. To do this you may ask for the module (.ko file) or the source code that you may cross compile in an Ubuntu host to generate the .ko file. Once you have the module you can copy it into sdcard and install it using insmod when the image is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not familiar to modules you can find here a very nice reference:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming" title="http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming"&gt;An introduction to Linux kernel programming - An introduction to Linux kernel programming&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&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>Fri, 10 Feb 2017 22:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613345#M92656</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-02-10T22:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on IMX6ULL EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613346#M92657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I think that's enough to go on. The dongle that I have&amp;nbsp;works when plugged into Ubuntu 16.04 but on the EVK, the new USB device is recognised but I guess there's no driver for it because it doesn't appear as a new network device listed in ifconfig. I'll find which driver is being used on Ubuntu and go from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 23:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-Ethernet-on-IMX6ULL-EVK/m-p/613346#M92657</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2017-02-10T23:06:12Z</dc:date>
    </item>
  </channel>
</rss>

