<?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: Ls1046a 1000Base-KX/10gBase-KR Linux support in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2038445#M15353</link>
    <description>A bit confusing when you nothing to config at U-boot. Where do you do the config from 31.8.1.3. I supposed it is split between U-boot and Linux</description>
    <pubDate>Wed, 05 Feb 2025 09:10:34 GMT</pubDate>
    <dc:creator>renaud</dc:creator>
    <dc:date>2025-02-05T09:10:34Z</dc:date>
    <item>
      <title>Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2035088#M15320</link>
      <description>&lt;P&gt;We have a board using with two 10G (1000Base-KR) and one 1000Base-KX connection on Serdes 1. Protocol is 1133&lt;/P&gt;&lt;P&gt;We are using Linux 6.4 and soon 6.11.x&lt;/P&gt;&lt;P&gt;My understanding is that the 1000Base-KX support is not found in the kernel.org as per comment in fman_memac.:&lt;/P&gt;&lt;P&gt;/* TODO: The following interface modes are supported by (some) hardware&lt;BR /&gt;* but not by this driver:&lt;BR /&gt;* - 1000BASE-KX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but can be found in nxp qoirq Linux support:&amp;nbsp; &lt;A href="https://github.com/nxp-qoriq/linux.git" target="_blank"&gt;https://github.com/nxp-qoriq/linux.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in branch&amp;nbsp;lf-6.6.y.&lt;/P&gt;&lt;P&gt;Also i found:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/QorIQ/Eval-Board-for-1000Base-KX-LS1046A/m-p/1178936" target="_blank"&gt;https://community.nxp.com/t5/QorIQ/Eval-Board-for-1000Base-KX-LS1046A/m-p/1178936&lt;/A&gt;&amp;nbsp;which shows what needs to be initialized by the boot loader and Linux.&lt;/P&gt;&lt;P&gt;So could you confirm the following:&lt;/P&gt;&lt;P&gt;1. The upstream Linux support cannot be used to support 1000Base-KX&amp;nbsp;and/or 1000Base-KR on the LS1046A.&lt;/P&gt;&lt;P&gt;2. In the link above, there is mention to configure SGMII_IF_MODE. Which part of Linux does that?&lt;/P&gt;&lt;P&gt;3. Can you show me what the node should look like for the 10Gbase-kr and 1000Base-KX.&lt;/P&gt;&lt;P&gt;4. What is the latest U-boot/Linux to support the LS1046a and specially is there code in U-boot to do the initialization of 1000Base-kr and&amp;nbsp; 1000Base-kx. I guess the link above is the init sequence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, If I am wrong about not being able to use upstream kernel (kernel.org), I would appreciate a summary of what I have to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Renaud&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, 28 Jan 2025 12:18:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2035088#M15320</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2025-01-28T12:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2036266#M15328</link>
      <description>&lt;P&gt;I think I got the answer for 1 and 2 but cannot get either 1000Kx or 10base-KR to work&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 18:26:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2036266#M15328</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2025-01-30T18:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2036389#M15329</link>
      <description>this is an example how to look like a node for the 1000Base-KX&lt;BR /&gt;enet4: ethernet@4 {&lt;BR /&gt;                compatible = "fsl,fman-memac";&lt;BR /&gt;                reg = &amp;lt;0x4000 0x1000&amp;gt;;&lt;BR /&gt;                phy-mode = "1000base-kx"; &lt;BR /&gt;                fixed-link = &amp;lt;4 1 1000 0 0&amp;gt;; // fixed link to 1 Gbps&lt;BR /&gt;                status = "okay";&lt;BR /&gt;            };&lt;BR /&gt;additionally, you have to follow the steps described in the subject "31.8.1.3   1000Base-KX" in the LS1046ARM.&lt;BR /&gt;The LLDP 6.1.55 uses the U-boot release 2023.04&lt;BR /&gt;Nothing to config at U-boot</description>
      <pubDate>Fri, 31 Jan 2025 01:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2036389#M15329</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2025-01-31T01:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2036571#M15332</link>
      <description>&lt;P&gt;This is what I have:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ethernet@e8000 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;phy-mode = "1000base-kx";&lt;BR /&gt;fixed-link {&lt;BR /&gt;speed = &amp;lt;1000&amp;gt;;&lt;BR /&gt;full-duplex;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;ethernet eth1: Link is Up - 1Gbps/Full - flow control off&lt;/P&gt;&lt;P&gt;"fsl_dpaa_mac 1ae8000.ethernet eth1: major config 1000base-kx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What seems to be missing is the last three steps of&amp;nbsp;&lt;SPAN&gt;31.8.1.3. in Linux. I am using the NXP qoirq Liunx branch&amp;nbsp;lf-6.6.y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Trying to add them in&amp;nbsp;drivers/net/pcs/pcs-lynx.c. Though, I never see pcs_config being called.&amp;nbsp; Debugging I see in&amp;nbsp;drivers/net/phy/phylink.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;phylink_pcs_config pcs = 0000000000000000.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would that not mean I cannot access the MDIO KX and MDIO KX AN?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 12:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2036571#M15332</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2025-01-31T12:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2037664#M15347</link>
      <description>What about the pcsphy4? Any modification needed to the part of the device tree?&lt;BR /&gt;The 1000Base-KX go through the backplane then a media converter (to 1000baseT). The MDIO bus is not connected trough the backplane.</description>
      <pubDate>Tue, 04 Feb 2025 11:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2037664#M15347</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2025-02-04T11:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2038075#M15351</link>
      <description>&lt;P&gt;Let's turn to the 10gbase-kr. I saw that there is LANnTECR0&amp;nbsp; to set up.&lt;/P&gt;&lt;P&gt;I see two DTS include files:&lt;/P&gt;&lt;P&gt;arch/arm64/boot/dts/freescale/fsl-ls1046a-sd1-1133-lane-c-backplane-phylib.dtsi&lt;BR /&gt;arch/arm64/boot/dts/freescale/fsl-ls1046a-sd1-1133-lane-c-backplane.dtsi&lt;/P&gt;&lt;P&gt;Should I include any of them? or keep it simpler.&lt;/P&gt;&lt;P&gt;For some reason I have included the latter and there are some probing errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 22:26:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2038075#M15351</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2025-02-04T22:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2038445#M15353</link>
      <description>A bit confusing when you nothing to config at U-boot. Where do you do the config from 31.8.1.3. I supposed it is split between U-boot and Linux</description>
      <pubDate>Wed, 05 Feb 2025 09:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2038445#M15353</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2025-02-05T09:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ls1046a 1000Base-KX/10gBase-KR Linux support</title>
      <link>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2053239#M15454</link>
      <description>&lt;P&gt;Eventually found the error on the 1000base-KX. There a few more bits to set along with clearing the AMP_RED field&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 19:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Ls1046a-1000Base-KX-10gBase-KR-Linux-support/m-p/2053239#M15454</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2025-02-27T19:22:51Z</dc:date>
    </item>
  </channel>
</rss>

