<?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: ethernet for ls1046 in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/2023801#M15257</link>
    <description>&lt;P&gt;Has the issue been resolved? I am experiencing the same problem.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 07:23:53 GMT</pubDate>
    <dc:creator>fayeting</dc:creator>
    <dc:date>2025-01-08T07:23:53Z</dc:date>
    <item>
      <title>ethernet for ls1046</title>
      <link>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1782610#M13817</link>
      <description>&lt;P&gt;Hi All：&lt;/P&gt;&lt;P&gt;We have currently designed a motherboard based on LS1046 and I want to connect Ethernet PHY RTL8211FS, which uses RGMII and SGMII MAC interfaces. The PHY RTL8211FS chip cannot be correctly identified by using "mii info" on the uboot terminal, but the device name "fm1-mac*" can be identified by logging in to linux. Log as follows:&lt;/P&gt;&lt;P&gt;=&amp;gt; mii info&lt;BR /&gt;PHY 0x00: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX&lt;BR /&gt;PHY 0x01: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX&lt;BR /&gt;PHY 0x02: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX&lt;/P&gt;&lt;P&gt;root@localhost:~# ifconfig -a&lt;BR /&gt;fm1-mac3: flags=4098&amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;ether 4e:49:fb:ec:4a:b2 txqueuelen 1000 (Ethernet)&lt;BR /&gt;RX packets 0 bytes 0 (0.0 B)&lt;BR /&gt;RX errors 0 dropped 0 overruns 0 frame 0&lt;BR /&gt;TX packets 0 bytes 0 (0.0 B)&lt;BR /&gt;TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0&lt;BR /&gt;device memory 0x1ae4000-1ae4fff&lt;/P&gt;&lt;P&gt;fm1-mac4: flags=4098&amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;ether ba:f3:98:0a:50:18 txqueuelen 1000 (Ethernet)&lt;BR /&gt;RX packets 0 bytes 0 (0.0 B)&lt;BR /&gt;RX errors 0 dropped 0 overruns 0 frame 0&lt;BR /&gt;TX packets 0 bytes 0 (0.0 B)&lt;BR /&gt;TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0&lt;BR /&gt;device memory 0x1ae6000-1ae6fff&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now,&amp;nbsp;the ping itself is now normal when tested with the fm1-mac* device.&lt;/P&gt;&lt;P&gt;root@ubuntu:/sys/kernel/debug# ifconfig fm1-mac6&lt;/P&gt;&lt;P&gt;fm1-mac6: flags=4099&amp;lt;UP,BROADCAST,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;inet 192.168.0.232 netmask 255.255.255.0 broadcast 192.168.0.255&lt;BR /&gt;ether 02:7d:2d:b3:c1:47 txqueuelen 1000 (Ethernet)&lt;BR /&gt;RX packets 0 bytes 0 (0.0 B)&lt;BR /&gt;RX errors 0 dropped 0 overruns 0 frame 0&lt;BR /&gt;TX packets 0 bytes 0 (0.0 B)&lt;BR /&gt;TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0&lt;BR /&gt;device memory 0x1aea000-1aeafff&lt;BR /&gt;root@ubuntu:/sys/kernel/debug# ping 192.168.0.232&lt;BR /&gt;PING 192.168.0.232 (192.168.0.232) 56(84) bytes of data.&lt;BR /&gt;64 bytes from 192.168.0.232: icmp_seq=1 ttl=64 time=0.062 ms&lt;BR /&gt;64 bytes from 192.168.0.232: icmp_seq=2 ttl=64 time=0.041 ms&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;However, the ping test between the LS1046 board and the PC fails when the PC is directly connected to the PC using a network cable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;=&amp;gt; ping 192.168.0.100&lt;BR /&gt;FM1@DTSEC5 Waiting for PHY auto negotiation to complete......... TIMEOUT !&lt;BR /&gt;FM1@DTSEC5: Could not initialize&lt;BR /&gt;Using FM1@DTSEC6 device&lt;/P&gt;&lt;P&gt;ARP Retry count exceeded; starting again&lt;BR /&gt;ping failed; host 192.168.0.100 is not alive&lt;/P&gt;&lt;P&gt;root@ubuntu:~# ping 192.168.0.100&lt;BR /&gt;PING 192.168.0.100 (192.168.0.100) 56(84) bytes of data.&lt;BR /&gt;From 192.168.0.232 icmp_seq=1 Destination Host Unreachable&lt;BR /&gt;From 192.168.0.232 icmp_seq=2 Destination Host Unreachable&lt;BR /&gt;From 192.168.0.232 icmp_seq=3 Destination Host Unreachable&lt;BR /&gt;From 192.168.0.232 icmp_seq=4 Destination Host Unreachable&lt;BR /&gt;From 192.168.0.232 icmp_seq=5 Destination Host Unreachable&lt;BR /&gt;From 192.168.0.232 icmp_seq=6 Destination Host Unreachable&lt;/P&gt;&lt;P&gt;The SDK version we are currently using is LSDK1906&lt;BR /&gt;Can&amp;nbsp;anyone give me some help about&amp;nbsp;this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 02:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1782610#M13817</guid>
      <dc:creator>gie_yang</dc:creator>
      <dc:date>2024-01-04T02:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: ethernet for ls1046</title>
      <link>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1784037#M13823</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please refer&lt;/SPAN&gt;&lt;SPAN&gt; LS1046ARDB &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;LSDK2108 &lt;/SPAN&gt;&lt;SPAN&gt;to merge new PHY as there are both RGMII and SGMII PHYs on board. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;From code review, you can modify those files as below:&lt;/P&gt;
&lt;P&gt;u-boot:&lt;/P&gt;
&lt;P&gt;u-boot\board\freescale\ls1046ardb\eth.c&lt;/P&gt;
&lt;P&gt;u-boot\include\configs\ls1046ardb.h&lt;/P&gt;
&lt;P&gt;#ifdef CONFIG_NET&lt;/P&gt;
&lt;P&gt;#define CONFIG_PHY_REALTEK&lt;/P&gt;
&lt;P&gt;#endif&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#ifdef CONFIG_SYS_DPAA_FMAN&lt;/P&gt;
&lt;P&gt;#define RGMII_PHY1_ADDR 0x1&lt;/P&gt;
&lt;P&gt;#define RGMII_PHY2_ADDR 0x2&lt;/P&gt;
&lt;P&gt;#define SGMII_PHY1_ADDR 0x3&lt;/P&gt;
&lt;P&gt;#define SGMII_PHY2_ADDR 0x4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kernel:&lt;/P&gt;
&lt;P&gt;dts&lt;/P&gt;
&lt;P&gt;kernel menuconfig to enable driver of realtek phy&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 03:03:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1784037#M13823</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2024-01-08T03:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: ethernet for ls1046</title>
      <link>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1784200#M13825</link>
      <description>&lt;P&gt;Hi June_Lu,&lt;/P&gt;&lt;P&gt;I have modified it in these files before, but I got the same result.&lt;/P&gt;&lt;P&gt;u-boot:&lt;/P&gt;&lt;P&gt;u-boot\board\freescale\ls1046afrwy\eth.c&lt;/P&gt;&lt;P&gt;u-boot\include\configs\ls1046afrwy.h&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#ifdef CONFIG_SYS_DPAA_FMAN&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define CONFIG_FMAN_ENET&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//add gie-ls1046a&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define RGMII_PHY1_ADDR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define RGMII_PHY2_ADDR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define SGMII_PHY1_ADDR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x3&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define SGMII_PHY2_ADDR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define SGMII_PHY3_ADDR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;u-boot/configs/ls1046afrwy_tfa_defconfig&lt;BR /&gt;&lt;STRONG&gt;CONFIG_PHY_REALTEK=y&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 08:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1784200#M13825</guid>
      <dc:creator>gie_yang</dc:creator>
      <dc:date>2024-01-08T08:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: ethernet for ls1046</title>
      <link>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1787064#M13862</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Please carefully compare difference between the LS1046ARDB and customer board, and then update the driver and debug according to the customer board. And check if HW works correctly.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 09:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/1787064#M13862</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2024-01-11T09:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: ethernet for ls1046</title>
      <link>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/2023801#M15257</link>
      <description>&lt;P&gt;Has the issue been resolved? I am experiencing the same problem.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 07:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ethernet-for-ls1046/m-p/2023801#M15257</guid>
      <dc:creator>fayeting</dc:creator>
      <dc:date>2025-01-08T07:23:53Z</dc:date>
    </item>
  </channel>
</rss>

