<?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: How to use CONFIG_DM_ETH</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-CONFIG-DM-ETH/m-p/1185281#M165125</link>
    <description>&lt;P&gt;The solution is to invert the gpio polarity in device tree&lt;/P&gt;&lt;P&gt;phy-reset-gpios = &amp;lt;&amp;amp;gpio4 8 1&amp;gt;; instead of&amp;nbsp; phy-reset-gpios = &amp;lt;&amp;amp;gpio4 8 0&amp;gt;;&lt;/P&gt;&lt;P&gt;It seems that there is a gpio polarity inversion in NXP driver.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 14:49:34 GMT</pubDate>
    <dc:creator>mohamed-ali_fod</dc:creator>
    <dc:date>2020-11-18T14:49:34Z</dc:date>
    <item>
      <title>How to use CONFIG_DM_ETH</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-CONFIG-DM-ETH/m-p/1183729#M164938</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The ethernet interface is working fine with U-boot-2019.04 without CONFIG_DM_ETH on IMX6S. Following APIs are already implemented in the board file:&amp;nbsp;board_phy_config,&amp;nbsp;setup_iomux_enet and&amp;nbsp;board_eth_init.&lt;/P&gt;&lt;P&gt;Below are the mii info: (Micrel phy is used)&lt;/P&gt;&lt;P&gt;PHY 0x01: OUI = 0x0885, Model = 0x16, Rev = 0x00, 10baseT, HDX&lt;/P&gt;&lt;P&gt;But If I use the&amp;nbsp;CONFIG_DM_ETH, I got the following error:&lt;/P&gt;&lt;P&gt;Could not get PHY for FEC0: addr 1&lt;/P&gt;&lt;P&gt;Below is the device tree:&lt;/P&gt;&lt;P&gt;&amp;amp;fec {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_enet&amp;gt;;&lt;BR /&gt;phy-mode = "mii";&lt;BR /&gt;phy-reset-gpios = &amp;lt;&amp;amp;gpio4 8 0&amp;gt;;&lt;BR /&gt;phy-handle = &amp;lt;&amp;amp;ethphy1&amp;gt;;&lt;BR /&gt;phy-reset-duration = &amp;lt;10&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;mdio {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;ethphy1: ethernet-phy@1 {&lt;BR /&gt;reg = &amp;lt;1&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Is there any additional setup to add?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 09:06:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-CONFIG-DM-ETH/m-p/1183729#M164938</guid>
      <dc:creator>mohamed-ali_fod</dc:creator>
      <dc:date>2020-11-16T09:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CONFIG_DM_ETH</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-CONFIG-DM-ETH/m-p/1184055#M164969</link>
      <description>&lt;P&gt;In the defconfig file of i.mx6s board, the CONFIG_DM_ETH=y.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version of BSP are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your reference, below is the Linux BSP web page.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(If the BSP version support i.MX6DL, it also support i.MX6S.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For howto build the BSP, please read the Yocto User's Guide in the corresponding BSP documentation.&lt;/P&gt;
&lt;P&gt;For your reference: (source code location and how to rebuild the source code)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Create-an-Ubuntu-VM-environment-to-build-Yocto-BSP/ta-p/1103589" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Create-an-Ubuntu-VM-environment-to-build-Yocto-BSP/ta-p/1103589&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(reference for porting the PHY to Yocto BSP)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Porting-KSZ9031-to-i-MX-BSP/ta-p/1112601" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Porting-KSZ9031-to-i-MX-BSP/ta-p/1112601&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 19:06:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-CONFIG-DM-ETH/m-p/1184055#M164969</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2020-11-16T19:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CONFIG_DM_ETH</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-CONFIG-DM-ETH/m-p/1185281#M165125</link>
      <description>&lt;P&gt;The solution is to invert the gpio polarity in device tree&lt;/P&gt;&lt;P&gt;phy-reset-gpios = &amp;lt;&amp;amp;gpio4 8 1&amp;gt;; instead of&amp;nbsp; phy-reset-gpios = &amp;lt;&amp;amp;gpio4 8 0&amp;gt;;&lt;/P&gt;&lt;P&gt;It seems that there is a gpio polarity inversion in NXP driver.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 14:49:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-CONFIG-DM-ETH/m-p/1185281#M165125</guid>
      <dc:creator>mohamed-ali_fod</dc:creator>
      <dc:date>2020-11-18T14:49:34Z</dc:date>
    </item>
  </channel>
</rss>

