<?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のトピックIMX6SX FEC1 configuration for Linux</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SX-FEC1-configuration-for-Linux/m-p/550847#M86177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom board where I am using a single Ethernet connection on ENET1 (fec1 in Linux).&amp;nbsp; I am able to ping and transfer a file using TFTP in Uboot, but I am unable to get the link up in Linux. I have duplicate the iomux settings from Uboot to the dts file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 questions:&lt;/P&gt;&lt;P&gt;1. How do I configure the IOMUX GPR1 register through the fec driver? I need to set bit 13=[1] since I am using an external crystal for TX_CLK.&lt;/P&gt;&lt;P&gt;2. Do I need to configure the PHY? I am using a Micrel PHY similar to iMX6UL EVK and need to write to PHY reg 0x1f for it to work in Uboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log from linux:&lt;/P&gt;&lt;P&gt;fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)&lt;/P&gt;&lt;P&gt;IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready&lt;/P&gt;&lt;P&gt;udhcpc (v1.24.2) started&lt;/P&gt;&lt;P&gt;Sending discover...&lt;/P&gt;&lt;P&gt;Sending discover...&lt;/P&gt;&lt;P&gt;Sending discover...&lt;/P&gt;&lt;P&gt;No lease, failing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 02:53:30 GMT</pubDate>
    <dc:creator>hengyewlim</dc:creator>
    <dc:date>2016-07-08T02:53:30Z</dc:date>
    <item>
      <title>IMX6SX FEC1 configuration for Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SX-FEC1-configuration-for-Linux/m-p/550847#M86177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom board where I am using a single Ethernet connection on ENET1 (fec1 in Linux).&amp;nbsp; I am able to ping and transfer a file using TFTP in Uboot, but I am unable to get the link up in Linux. I have duplicate the iomux settings from Uboot to the dts file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 questions:&lt;/P&gt;&lt;P&gt;1. How do I configure the IOMUX GPR1 register through the fec driver? I need to set bit 13=[1] since I am using an external crystal for TX_CLK.&lt;/P&gt;&lt;P&gt;2. Do I need to configure the PHY? I am using a Micrel PHY similar to iMX6UL EVK and need to write to PHY reg 0x1f for it to work in Uboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log from linux:&lt;/P&gt;&lt;P&gt;fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)&lt;/P&gt;&lt;P&gt;IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready&lt;/P&gt;&lt;P&gt;udhcpc (v1.24.2) started&lt;/P&gt;&lt;P&gt;Sending discover...&lt;/P&gt;&lt;P&gt;Sending discover...&lt;/P&gt;&lt;P&gt;Sending discover...&lt;/P&gt;&lt;P&gt;No lease, failing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 02:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SX-FEC1-configuration-for-Linux/m-p/550847#M86177</guid>
      <dc:creator>hengyewlim</dc:creator>
      <dc:date>2016-07-08T02:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SX FEC1 configuration for Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SX-FEC1-configuration-for-Linux/m-p/550848#M86178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to get it working by modifying mach-imx6sx.c in arch/arm/mach-imx. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 07:09:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SX-FEC1-configuration-for-Linux/m-p/550848#M86178</guid>
      <dc:creator>hengyewlim</dc:creator>
      <dc:date>2016-07-08T07:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SX FEC1 configuration for Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SX-FEC1-configuration-for-Linux/m-p/550849#M86179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing your comments Heng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 15:38:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SX-FEC1-configuration-for-Linux/m-p/550849#M86179</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-07-12T15:38:49Z</dc:date>
    </item>
  </channel>
</rss>

