<?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: LS1012A RGMII RTL8211F Ping failed in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1012A-RGMII-RTL8211F-Ping-failed/m-p/1602949#M11895</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761" target="_self"&gt;&lt;SPAN class=""&gt;Chavira&lt;/SPAN&gt;&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;Thanks, based on your suggestions, I made below modifications and finally can ping gateway success.&lt;/P&gt;&lt;P&gt;diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c&lt;BR /&gt;index 746cdfd06578..c0d27537cd54 100644&lt;BR /&gt;--- a/drivers/net/phy/realtek.c&lt;BR /&gt;+++ b/drivers/net/phy/realtek.c&lt;BR /&gt;@@ -749,6 +749,7 @@ module_phy_driver(realtek_drvs);&lt;/P&gt;&lt;P&gt;static const struct mdio_device_id __maybe_unused realtek_tbl[] = {&lt;BR /&gt;{ PHY_ID_MATCH_VENDOR(0x001cc800) },&lt;BR /&gt;&lt;STRONG&gt;+ { PHY_ID_MATCH_VENDOR(0x001cc916) },&lt;/STRONG&gt;&lt;BR /&gt;{ }&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;before booting into linux, execute command "pfe stop" in uboot.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ifconfig eth1 192.168.0.110 up
ping 192.168.0.1
/ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=64 time=0.371 ms
64 bytes from 192.168.0.1: seq=1 ttl=64 time=0.343 ms
64 bytes from 192.168.0.1: seq=2 ttl=64 time=0.290 ms
64 bytes from 192.168.0.1: seq=3 ttl=64 time=0.304 ms
64 bytes from 192.168.0.1: seq=4 ttl=64 time=0.325 ms
64 bytes from 192.168.0.1: seq=5 ttl=64 time=0.304 ms
64 bytes from 192.168.0.1: seq=6 ttl=64 time=0.311 ms
64 bytes from 192.168.0.1: seq=7 ttl=64 time=0.324 ms
64 bytes from 192.168.0.1: seq=8 ttl=64 time=0.308 ms&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2023 13:59:15 GMT</pubDate>
    <dc:creator>Hugh512</dc:creator>
    <dc:date>2023-02-21T13:59:15Z</dc:date>
    <item>
      <title>LS1012A RGMII RTL8211F Ping failed</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-RGMII-RTL8211F-Ping-failed/m-p/1602879#M11893</link>
      <description>&lt;P&gt;HI, team:&lt;/P&gt;&lt;P&gt;Below is my hardware design, My lsdk version is lsdk 2108&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugh512_0-1676979033884.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211783i8C5E3974300833C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugh512_0-1676979033884.png" alt="Hugh512_0-1676979033884.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My dts is as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;pfe {
	status = "okay";
	#address-cells = &amp;lt;1&amp;gt;;
	#size-cells = &amp;lt;0&amp;gt;;

	pfe_mac0: ethernet@0 {
                compatible = "fsl,pfe-gemac-port";
                #address-cells = &amp;lt;1&amp;gt;;
                #size-cells = &amp;lt;0&amp;gt;;
                reg = &amp;lt;0x0&amp;gt;;    /* GEM_ID */
                fsl,gemac-bus-id = &amp;lt;0x0&amp;gt;; /* BUS_ID */
                /*fsl,gemac-phy-id = &amp;lt;0x2&amp;gt;;  PHY_ID */
                fixed-link = &amp;lt;0 1 1000 0 0&amp;gt;;
                fsl,mdio-mux-val = &amp;lt;0x0&amp;gt;;
                local-mac-address = [ 00 1A 2B 3C 4D 5E ];
                phy-mode = "sgmii";
                fsl,pfe-gemac-if-name = "eth0";
                fsl,pfe-phy-if-flags = &amp;lt;0x0&amp;gt;;
                fsl,pfe-gemac-mode = &amp;lt;0x1B00&amp;gt;; /* GEMAC_SW_CONF | GEMAC_SW_FULL_DUPLEX | GEMAC_SW_SPEED_1G */
                mdio@0 {
                        reg = &amp;lt;0x1&amp;gt;; /* enabled/disabled */
                        fsl,mdio-phy-mask = &amp;lt;0xFFFFFFF9&amp;gt;;
                };
        };

        pfe_mac1: ethernet@1 {
                compatible = "fsl,pfe-gemac-port";
                #address-cells = &amp;lt;1&amp;gt;;
                #size-cells = &amp;lt;0&amp;gt;;
                reg = &amp;lt;0x1&amp;gt;;    /* GEM_ID */
                fsl,gemac-bus-id = &amp;lt; 0x1 &amp;gt;;
                fsl,gemac-phy-id = &amp;lt; 0x1 &amp;gt;;
                fsl,mdio-mux-val = &amp;lt;0x0&amp;gt;;
                local-mac-address = [ 00 AA BB CC DD EE ];
                phy-mode = "rgmii-id";
                fsl,pfe-gemac-if-name = "eth1";
                fsl,pfe-gemac-mode = &amp;lt;0x1B00&amp;gt;;
                mdio@0 {
                        reg = &amp;lt;0x0&amp;gt;; /* enabled/disabled */
                        fsl,mdio-phy-mask = &amp;lt;0xFFFFFFF9&amp;gt;;
                };
        };
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After enter command: can't ping 192.168.0.1 successfully. Could you help to check and give suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1A:2B:3C:4D:5E
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 00:AA:BB:CC:DD:EE
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          LOOPBACK  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

/ # ifconfig eth1 192.168.0.241 up
[   24.200539] pfe 4000000.pfe eth1: pfe_eth_open
[   24.205295] hif_process_client_req: register client_id 1
[   24.210628] pfe_hif_client_register
[   24.214147] pfe 4000000.pfe eth1: pfe_gemac_init
/ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
[   61.577760] random: crng init done&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 11:33:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-RGMII-RTL8211F-Ping-failed/m-p/1602879#M11893</guid>
      <dc:creator>Hugh512</dc:creator>
      <dc:date>2023-02-21T11:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A RGMII RTL8211F Ping failed</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-RGMII-RTL8211F-Ping-failed/m-p/1602906#M11894</link>
      <description>&lt;P&gt;Thank you for contacting NXP support!&lt;/P&gt;
&lt;P&gt;I attached a Log of ethernet configuration on Tiny Distro.&lt;/P&gt;
&lt;P&gt;the commands are:&lt;/P&gt;
&lt;P&gt;ifconfig: you can see the ethernet ports available on the system&lt;/P&gt;
&lt;P&gt;ifconfig -a: you can see the ethernet ports of your system&lt;/P&gt;
&lt;P&gt;ip link set dev &amp;lt;dev name&amp;gt; up/down : you can set up a device&lt;/P&gt;
&lt;P&gt;udhcpc -i &amp;lt;dev name&amp;gt;: you can automatically set up the ip of your network.&lt;/P&gt;
&lt;P&gt;the steps that I follow are: &lt;BR /&gt;1- Identify the port that you want to use&lt;BR /&gt;2- discover the name of your port using the command "ifconfig -a"&lt;BR /&gt;3- set up the device with the command "ip link set dev &amp;lt;dev name&amp;gt; up"&lt;BR /&gt;4- confirm if the device is ready to set up with "ifconfig"&lt;BR /&gt;5- set up the network with the command "udhcpc -i &amp;lt;dev name&amp;gt;" to obtain automatically the IP&lt;BR /&gt;5a- If you can set up the IP you can do it with the command "ifconfig &amp;lt;dev&amp;gt; &amp;lt;ip&amp;gt;" for example ifconfig fm1-mac1 10.10.10.10&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 12:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-RGMII-RTL8211F-Ping-failed/m-p/1602906#M11894</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-02-21T12:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A RGMII RTL8211F Ping failed</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-RGMII-RTL8211F-Ping-failed/m-p/1602949#M11895</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761" target="_self"&gt;&lt;SPAN class=""&gt;Chavira&lt;/SPAN&gt;&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;Thanks, based on your suggestions, I made below modifications and finally can ping gateway success.&lt;/P&gt;&lt;P&gt;diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c&lt;BR /&gt;index 746cdfd06578..c0d27537cd54 100644&lt;BR /&gt;--- a/drivers/net/phy/realtek.c&lt;BR /&gt;+++ b/drivers/net/phy/realtek.c&lt;BR /&gt;@@ -749,6 +749,7 @@ module_phy_driver(realtek_drvs);&lt;/P&gt;&lt;P&gt;static const struct mdio_device_id __maybe_unused realtek_tbl[] = {&lt;BR /&gt;{ PHY_ID_MATCH_VENDOR(0x001cc800) },&lt;BR /&gt;&lt;STRONG&gt;+ { PHY_ID_MATCH_VENDOR(0x001cc916) },&lt;/STRONG&gt;&lt;BR /&gt;{ }&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;before booting into linux, execute command "pfe stop" in uboot.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ifconfig eth1 192.168.0.110 up
ping 192.168.0.1
/ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=64 time=0.371 ms
64 bytes from 192.168.0.1: seq=1 ttl=64 time=0.343 ms
64 bytes from 192.168.0.1: seq=2 ttl=64 time=0.290 ms
64 bytes from 192.168.0.1: seq=3 ttl=64 time=0.304 ms
64 bytes from 192.168.0.1: seq=4 ttl=64 time=0.325 ms
64 bytes from 192.168.0.1: seq=5 ttl=64 time=0.304 ms
64 bytes from 192.168.0.1: seq=6 ttl=64 time=0.311 ms
64 bytes from 192.168.0.1: seq=7 ttl=64 time=0.324 ms
64 bytes from 192.168.0.1: seq=8 ttl=64 time=0.308 ms&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 13:59:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-RGMII-RTL8211F-Ping-failed/m-p/1602949#M11895</guid>
      <dc:creator>Hugh512</dc:creator>
      <dc:date>2023-02-21T13:59:15Z</dc:date>
    </item>
  </channel>
</rss>

