<?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: LS1046 ethernet in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2039183#M15359</link>
    <description>&lt;P&gt;I found the problem - my fsl-ls1046-board-sdk.dts did not have the correct ethernet interfaces disabled. Now that 0 and 1 are disabled and 2 is enabled, and configs/linux/linux_arm64_LS.its references the sdk.dts file, ethernet works.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 09:04:55 GMT</pubDate>
    <dc:creator>SimonRo</dc:creator>
    <dc:date>2025-02-06T09:04:55Z</dc:date>
    <item>
      <title>LS1046 ethernet</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2035224#M15322</link>
      <description>&lt;P&gt;My custom LS1046 board has an Ethernet interface with DP83867 phy connected to EC1_RGMII.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This appears correctly in uboot as fm1-mac3 and I can successfully ping.&lt;/P&gt;&lt;P&gt;However, when linux boots (flexbuild image ubuntu:main) I have the device fm1-mac1 and it fails to come up/ping.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please suggest where I need to look to fix this mapping?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 17:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2035224#M15322</guid>
      <dc:creator>SimonRo</dc:creator>
      <dc:date>2025-01-28T17:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046 ethernet</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2035248#M15323</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may enable the desired port in /etc/network/interfaces file. You may try first with static IP by adding the information below in such file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a DHCP client:&lt;/P&gt;
&lt;P&gt;auto eth1 (the name of the interface)&lt;/P&gt;
&lt;P&gt;iface eth1 inet dhcp&lt;/P&gt;
&lt;P&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;</description>
      <pubDate>Tue, 28 Jan 2025 18:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2035248#M15323</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2025-01-28T18:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046 ethernet</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2038640#M15354</link>
      <description>&lt;P&gt;That's not my problem. In u-boot the ethernet interface appears as&amp;nbsp;&lt;SPAN&gt;fm1-mac3. The device tree for this is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;fman0 {
	ethernet@e4000 {
		phy-handle = &amp;lt;&amp;amp;rgmii_phy1&amp;gt;;
		phy-connection-type = "rgmii-id";
		status = "okay";
	};
	
	mdio@fc000 {
		rgmii_phy1: ethernet-phy@1 {
			reg = &amp;lt;0x1&amp;gt;;
			ti,clk-output-sel = &amp;lt;0x0&amp;gt;;
		};
	};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When subsequently booted to an ubuntu:main image built by flexbuilder LSDK21.10 the system detects and configures fm1-mac1 only. I can configure this device but it won't ping. Oscilloscope shows no data on the rgmii lines at this point.&lt;/P&gt;&lt;P&gt;If I use a device tree for Linux similar to the above I get:&lt;/P&gt;&lt;P&gt;[ 2.357640] Freescale FM module, FMD API version 21.1.0&lt;BR /&gt;[ 2.365586] Freescale FM Ports module&lt;BR /&gt;[ 2.369254] fsl_mac: fsl_mac: FSL FMan MAC API based driver&lt;BR /&gt;[ 2.375016] fsl_mac 1ae0000.ethernet: Cannot read PHY connection type of mac node ethernet@e0000 from device tree. Defaulting to MII&lt;BR /&gt;[ 2.386945] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000&lt;/P&gt;&lt;P&gt;It feels like linux should also be using the e4000 device.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 14:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2038640#M15354</guid>
      <dc:creator>SimonRo</dc:creator>
      <dc:date>2025-02-05T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046 ethernet</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2038643#M15355</link>
      <description>&lt;P&gt;My Linux device tree looks like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;fman0 {
	ethernet@e0000 {
		phy-handle = &amp;lt;&amp;amp;rgmii_phy1&amp;gt;;
		phy-connection-type = "rgmii-id";
	};

	mdio@fc000 {
		rgmii_phy1: ethernet-phy@1 {
			compatible = "ethernet-phy-ieee802.3-c22";
			reg = &amp;lt;0x1&amp;gt;;
			ti,rx-internal-delay = &amp;lt;DP83867_RGMIIDCTL_2_00_NS&amp;gt;;
			ti,tx-internal-delay = &amp;lt;DP83867_RGMIIDCTL_2_00_NS&amp;gt;;
			ti,fifo-depth = &amp;lt;DP83867_PHYCR_FIFO_DEPTH_4_B_NIB&amp;gt;;
			ti,clk-output-sel = &amp;lt;DP83867_CLK_O_SEL_CHN_A_RCLK&amp;gt;;
			enet-phy-lane-no-swap;
		};&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 05 Feb 2025 14:24:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2038643#M15355</guid>
      <dc:creator>SimonRo</dc:creator>
      <dc:date>2025-02-05T14:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046 ethernet</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2038670#M15356</link>
      <description>&lt;P&gt;On a working LS1046ARDB EC1 RGMII comes up like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ &amp;nbsp; &amp;nbsp;6.448783] fsl_dpa soc:fsl,dpaa:ethernet@2 fm1-mac3: renamed from eth0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ &amp;nbsp;110.759302] IPv6: ADDRCONF(NETDEV_CHANGE): fm1-mac3: link becomes ready&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My non working board which should be using EC1 RGMII says this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ &amp;nbsp; &amp;nbsp;7.905061] fsl_dpa soc:fsl,dpaa:ethernet@0 fm1-mac1: renamed from eth0&amp;nbsp;&lt;BR /&gt;[ &amp;nbsp; 12.176080] IPv6: ADDRCONF(NETDEV_CHANGE): fm1-mac1: link becomes ready&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;even though it uses fm1-mac3 correctly in uboot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What in the flexbuild build controls which device is used?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 15:05:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2038670#M15356</guid>
      <dc:creator>SimonRo</dc:creator>
      <dc:date>2025-02-05T15:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046 ethernet</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2039183#M15359</link>
      <description>&lt;P&gt;I found the problem - my fsl-ls1046-board-sdk.dts did not have the correct ethernet interfaces disabled. Now that 0 and 1 are disabled and 2 is enabled, and configs/linux/linux_arm64_LS.its references the sdk.dts file, ethernet works.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 09:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-ethernet/m-p/2039183#M15359</guid>
      <dc:creator>SimonRo</dc:creator>
      <dc:date>2025-02-06T09:04:55Z</dc:date>
    </item>
  </channel>
</rss>

