<?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>LayerscapeのトピックRe: dpmac17 sgmii Problems</title>
    <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330086#M8774</link>
    <description>&lt;P&gt;Thanks for update. Can you please view more registers to check if read is working correctly?&lt;/P&gt;&lt;P&gt;Please refer register details in LX2160ARM Rev0 07/2020 section 26.9.2 SGMII Registers (Please read register 0,2,3 also)&lt;/P&gt;</description>
    <pubDate>Thu, 26 Aug 2021 07:09:51 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2021-08-26T07:09:51Z</dc:date>
    <item>
      <title>dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1323833#M8711</link>
      <description>&lt;P&gt;lx2160a custom board。&lt;/P&gt;&lt;P&gt;Using SERDES1 Protocol: 1 (0x1)&lt;BR /&gt;Using SERDES2 Protocol: 7 (0x7)&lt;BR /&gt;Using SERDES3 Protocol: 3 (0x3)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I am using dpMAC17 SGMII of SerDES2 as the debugging network port. The PHY chip is AR0833. Using MII command under uboot, I can see that the PHY is in link state, but ping my host is not working.。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RCW parameter EC1_PMUX[833-832] is changed to 0x01,&amp;nbsp; but the ping still fails&lt;/SPAN&gt;&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>Mon, 16 Aug 2021 09:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1323833#M8711</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-16T09:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1324505#M8716</link>
      <description>&lt;P&gt;Would you please provide your u-boot console log and the results of the following commands?&lt;/P&gt;&lt;P&gt;=&amp;gt; mdio list&lt;BR /&gt;FSL_MDIO0:&lt;BR /&gt;0 - Cortina CS4223 &amp;lt;--&amp;gt; DPMAC2@xlaui4&lt;BR /&gt;1 - AR8035 &amp;lt;--&amp;gt; DPMAC17@rgmii-id&lt;BR /&gt;2 - AR8035 &amp;lt;--&amp;gt; DPMAC18@rgmii-id&lt;BR /&gt;4 - Aquantia AQR107 &amp;lt;--&amp;gt; DPMAC3@xgmii&lt;BR /&gt;5 - Aquantia AQR107 &amp;lt;--&amp;gt; DPMAC4@xgmii&lt;BR /&gt;FSL_MDIO1:&lt;BR /&gt;0 - Inphi in112525_S03P &amp;lt;--&amp;gt; &lt;A href="mailto:DPMAC6@25g-aui" target="_blank"&gt;DPMAC6@25g-aui&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=&amp;gt; mdio read DPMAC17@rgmii-id 1&lt;BR /&gt;Reading from bus FSL_MDIO0&lt;BR /&gt;PHY at address 1:&lt;BR /&gt;1 - 0x7949&lt;BR /&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;Is your PHY chip&lt;SPAN&gt;&amp;nbsp;AR8033? Have you enabled the following in&amp;nbsp;configs/lx2160ardb_tfa_defconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CONFIG_PHYLIB=y&lt;BR /&gt;CONFIG_PHY_ATHEROS=y&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 07:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1324505#M8716</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-17T07:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1324548#M8717</link>
      <description>&lt;P&gt;=&amp;gt; ping 10.0.1.119&lt;BR /&gt;Using DPMAC17@sgmii device&lt;/P&gt;&lt;P&gt;ARP Retry count exceeded; starting again&lt;BR /&gt;ping failed; host 10.0.1.119 is not alive&lt;/P&gt;&lt;P&gt;yes my&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;PHY chip is&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;AR8033。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i have enabled the following in&amp;nbsp;configs/lx2160ardb_tfa_defconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_0-1629188185935.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153159i259FC88510F428C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_0-1629188185935.png" alt="muaxi8_0-1629188185935.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 08:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1324548#M8717</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-17T08:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326122#M8734</link>
      <description>&lt;P&gt;In&amp;nbsp;board/freescale/lx2160a/eth_lx2160ardb.c, please modify the following section according to your custom board.&lt;/P&gt;
&lt;P&gt;for (i = WRIOP1_DPMAC17; i &amp;lt;= WRIOP1_DPMAC18; i++) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; interface = wriop_get_enet_if(i);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (interface) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case PHY_INTERFACE_MODE_RGMII:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case PHY_INTERFACE_MODE_RGMII_ID:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dev = miiphy_get_dev_by_name(DEFAULT_WRIOP_MDIO1_NAME);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wriop_set_mdio(i, dev);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Modify to:&lt;/P&gt;
&lt;P&gt;for (i = WRIOP1_DPMAC17; i &amp;lt;= WRIOP1_DPMAC18; i++) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; interface = wriop_get_enet_if(i);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (interface) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case PHY_INTERFACE_MODE_SGMII:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dev = miiphy_get_dev_by_name(DEFAULT_WRIOP_MDIO1_NAME);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wriop_set_mdio(i, dev);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 08:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326122#M8734</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-19T08:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326185#M8736</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, we have modified this part code , The problem remains。Does the DPC need to be modified? &amp;nbsp;We have checked the content of the DPC and there seems to be no problem&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 09:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326185#M8736</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-19T09:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326594#M8745</link>
      <description>&lt;P&gt;You could use&amp;nbsp;mdio read command to check&amp;nbsp;the status of a SGMII link.&lt;/P&gt;
&lt;P&gt;=&amp;gt; mdio list&lt;BR /&gt;FSL_MDIO0:&lt;BR /&gt;4 - AR8031/AR8033 &amp;lt;--&amp;gt; DPMAC17@sgmii&lt;BR /&gt;FSL_MDIO1:&lt;BR /&gt;=&amp;gt; mdio read DPMAC17@sgmii 1&lt;BR /&gt;Reading from bus FSL_MDIO0&lt;BR /&gt;PHY at address 4:&lt;BR /&gt;1 - 0x7969&lt;BR /&gt;=&amp;gt;&lt;/P&gt;
&lt;P&gt;The link partner link status bit is in Register #1 on the PHY. The 'Link Status' bit is bit #2 (from the left) of the last nibble. In your above result, the nibble of interest is "9" (d = b'1001'), and therefore the 'Link Status' = 0, which means 'link download'. If the link is up,&amp;nbsp; this bit would be a "1," and we would see 0x796d.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So on your custom board the SGMII link status is download, please check the probable hardware issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 03:19:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326594#M8745</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-20T03:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326633#M8746</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The second read was link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_0-1629436586753.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153524i517C7F3ABDC9C504/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_0-1629436586753.png" alt="muaxi8_0-1629436586753.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 05:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1326633#M8746</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-20T05:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1327509#M8749</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Few clarifications:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt; Do ping works on MAC18?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt; Few strange observation in U-boot log:&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (a). Clock configuration shown in uboot is not as per the selected protocol.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (b). PCA: failed to select proper channel&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MAC17 and MAC18 is same so same issue should be with MAC 18.&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;&lt;SPAN&gt; Can you share share schematic?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 23 Aug 2021 07:16:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1327509#M8749</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-23T07:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1327571#M8750</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1. Do ping works on MAC18?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="tgt"&gt;Re:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="tgt"&gt;Dpmac18 (EC2) cannot be tested because it is not connected to any PHY.&lt;/SPAN&gt;&lt;SPAN class="tgt"&gt;We only used mac17, our SERDES2's SGMII17 was connected to the AR8033, and our EC1 was connected to the KSZ9896 switch chip via RGMII.&lt;/SPAN&gt;&lt;SPAN class="tgt"&gt;I think this might be a problem, so I'm just going to debug SGMII and leave RGMII alone for now&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_1-1629705006869.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153676i1AAEFD2A060C1704/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_1-1629705006869.png" alt="muaxi8_1-1629705006869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(a). Clock configuration shown in uboot is not as per the selected protocol.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Re: The clock configuration is printed directly in the source code, we did not remove, serdes2 clock is actually 161.xxxMhz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_0-1629703300147.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153673iCFE9887E38EA3656/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_0-1629703300147.png" alt="muaxi8_0-1629703300147.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(b). PCA: failed to select proper channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Re:&amp;nbsp;&lt;SPAN&gt;Our custom board is not using PCA9547 (I2C MUX, level 1), so there is this error。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;schematic:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;链接：&lt;A href="https://pan.baidu.com/s/14edfW8yig7c-qZyYTLk7xQ" target="_blank" rel="noopener"&gt;https://pan.baidu.com/s/14edfW8yig7c-qZyYTLk7xQ&lt;/A&gt;&lt;BR /&gt;提取码：2345&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 08:05:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1327571#M8750</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-23T08:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1329916#M8766</link>
      <description>&lt;P&gt;&lt;SPAN&gt;What is the status of link status between MAC and PHY?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can check this as detail below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On U-boot prompt:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;printenv elf_load&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;elf_load=dcache off; tftp 0x80300000 &amp;lt;location of mdio&amp;gt;/mdio.bin; dcache on;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run elf_load&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;go 0x80300000 read 0x8c47000 3 {0x8c47000: MAC 17 Base address}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a valid PCS link ix 0x00000004&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bit 2 set&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let us know .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 02:28:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1329916#M8766</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-26T02:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1329937#M8767</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I followed your prompts and programmed mdio.bin to 0x80300000, then read the MAC 17 Base address and got some values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; md 0x8c47000 4&lt;BR /&gt;08c47000: 00010200 00000000 00000810 00000000 ................&lt;BR /&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I looked at the manual "LX2160ADPAA2RM. PDF "and did not see the register about the MAC link status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_0-1629947381593.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/154148i45136B54BC9E2513/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_0-1629947381593.png" alt="muaxi8_0-1629947381593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 03:14:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1329937#M8767</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-26T03:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330005#M8768</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please read using below command&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;go 0x80300000 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;read 0x8c47000 3 &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 05:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330005#M8768</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-26T05:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330019#M8769</link>
      <description>&lt;P&gt;&lt;SPAN&gt;the usage is a little wrong. One parameter missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; go 0x80300000 read 0x8c47000 3&lt;BR /&gt;## Starting application at 0x80300000 ...&lt;BR /&gt;Example expects ABI version 9&lt;BR /&gt;Actual U-Boot ABI version 9&lt;BR /&gt;Internal MDIO read / write&lt;BR /&gt;argc = 4&lt;BR /&gt;operation = "read"&lt;BR /&gt;mac offset = "0x8c47000"&lt;BR /&gt;dev addr = "3"&lt;BR /&gt;Usage: go 0x80300000 &amp;lt;read|write&amp;gt; &amp;lt;mac offset&amp;gt; &amp;lt;mmd&amp;gt; &amp;lt;reg&amp;gt; [data]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;## Application terminated, rc = 0x0&lt;/P&gt;&lt;P&gt;——------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;=&amp;gt; go 0x80300000 read 0x8c47000 3 0&lt;BR /&gt;## Starting application at 0x80300000 ...&lt;BR /&gt;Example expects ABI version 9&lt;BR /&gt;Actual U-Boot ABI version 9&lt;BR /&gt;Internal MDIO read / write&lt;BR /&gt;argc = 5&lt;BR /&gt;operation = "read"&lt;BR /&gt;mac offset = "0x8c47000"&lt;BR /&gt;dev addr = "3"&lt;BR /&gt;reg addr = "0"&lt;BR /&gt;mdio_cfg bsy set&lt;BR /&gt;mdio_data bsy set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;output data: 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;## Application terminated, rc = 0x0&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 05:36:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330019#M8769</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-26T05:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330050#M8772</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sorry for typo, correct command is&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;go 0x80300000 read 0x8c0b000 3 1&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 06:10:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330050#M8772</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-26T06:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330063#M8773</link>
      <description>&lt;P&gt;&lt;SPAN&gt;MAC and PHY link status is not ok?&amp;nbsp;We are using SGMII, DPL or DPC need configuration ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; go 0x80300000 read &lt;FONT color="#FF6600"&gt;0x8c0b000&lt;/FONT&gt; 3 1&lt;BR /&gt;## Starting application at 0x80300000 ...&lt;BR /&gt;Example expects ABI version 9&lt;BR /&gt;Actual U-Boot ABI version 9&lt;BR /&gt;Internal MDIO read / write&lt;BR /&gt;argc = 5&lt;BR /&gt;operation = "read"&lt;BR /&gt;mac offset = "0x8c0b000"&lt;BR /&gt;dev addr = "3"&lt;BR /&gt;reg addr = "1"&lt;BR /&gt;mdio_cfg bsy set&lt;BR /&gt;mdio_data bsy set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;output data: 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;## Application terminated, rc = 0x0&lt;BR /&gt;=&amp;gt; go 0x80300000 read &lt;FONT color="#FF6600"&gt;0x8c47000&lt;/FONT&gt; 3 1&lt;BR /&gt;## Starting application at 0x80300000 ...&lt;BR /&gt;Example expects ABI version 9&lt;BR /&gt;Actual U-Boot ABI version 9&lt;BR /&gt;Internal MDIO read / write&lt;BR /&gt;argc = 5&lt;BR /&gt;operation = "read"&lt;BR /&gt;mac offset = "0x8c47000"&lt;BR /&gt;dev addr = "3"&lt;BR /&gt;reg addr = "1"&lt;BR /&gt;mdio_cfg bsy set&lt;BR /&gt;mdio_data bsy set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;output data: 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;## Application terminated, rc = 0x0&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 06:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330063#M8773</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-26T06:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330086#M8774</link>
      <description>&lt;P&gt;Thanks for update. Can you please view more registers to check if read is working correctly?&lt;/P&gt;&lt;P&gt;Please refer register details in LX2160ARM Rev0 07/2020 section 26.9.2 SGMII Registers (Please read register 0,2,3 also)&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 07:09:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330086#M8774</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-26T07:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330678#M8780</link>
      <description>&lt;P&gt;&lt;SPAN&gt;A little problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; mdio list&lt;BR /&gt;FSL_MDIO0:&lt;BR /&gt;4 - AR8031/AR8033 &amp;lt;--&amp;gt; DPMAC17@sgmii&lt;BR /&gt;FSL_MDIO1:&lt;BR /&gt;=&amp;gt; mdio read DPMAC17@sgmii 1&lt;BR /&gt;Reading from bus FSL_MDIO0&lt;BR /&gt;PHY at address 4:&lt;BR /&gt;1 - 0x796d&lt;BR /&gt;=&amp;gt; go 0x80300000 read &lt;FONT color="#FF6600"&gt;0x8c0b000&lt;/FONT&gt; 3 2&lt;BR /&gt;## Starting application at 0x80300000 ...&lt;BR /&gt;Example expects ABI version 9&lt;BR /&gt;Actual U-Boot ABI version 9&lt;BR /&gt;Internal MDIO read / write&lt;BR /&gt;argc = 5&lt;BR /&gt;operation = "read"&lt;BR /&gt;mac offset = "0x8c0b000"&lt;BR /&gt;dev addr = "3"&lt;BR /&gt;reg addr = "2"&lt;BR /&gt;mdio_cfg bsy set&lt;BR /&gt;mdio_data bsy set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;output data: 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;## Application terminated, rc = 0x0&lt;BR /&gt;=&amp;gt; go 0x80300000 read &lt;FONT color="#FF6600"&gt;0x8c0b000&lt;/FONT&gt; 3 3&lt;BR /&gt;## Starting application at 0x80300000 ...&lt;BR /&gt;Example expects ABI version 9&lt;BR /&gt;Actual U-Boot ABI version 9&lt;BR /&gt;Internal MDIO read / write&lt;BR /&gt;argc = 5&lt;BR /&gt;operation = "read"&lt;BR /&gt;mac offset = "0x8c0b000"&lt;BR /&gt;dev addr = "3"&lt;BR /&gt;reg addr = "3"&lt;BR /&gt;mdio_cfg bsy set&lt;BR /&gt;mdio_data bsy set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;output data: 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;## Application terminated, rc = 0x0&lt;BR /&gt;=&amp;gt; go 0x80300000 read 0x8c0b000 3 0&lt;BR /&gt;## Starting application at 0x80300000 ...&lt;BR /&gt;Example expects ABI version 9&lt;BR /&gt;Actual U-Boot ABI version 9&lt;BR /&gt;Internal MDIO read / write&lt;BR /&gt;argc = 5&lt;BR /&gt;operation = "read"&lt;BR /&gt;mac offset = "0x8c0b000"&lt;BR /&gt;dev addr = "3"&lt;BR /&gt;reg addr = "0"&lt;BR /&gt;mdio_cfg bsy set&lt;BR /&gt;mdio_data bsy set&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;output data: 0x00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;## Application terminated, rc = 0x0&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 02:19:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330678#M8780</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-27T02:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330825#M8783</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please refer "Table 51 MAC Capabilities" This table shows different MAC address and there capability.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I understand customer is using MAC 17 hence to reading all the register customer needs to use address "8C4_7000h"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Syntax for Clause 45: (Please read status register multiple times)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;go 0x80300000 read &amp;lt;mac address&amp;gt; &amp;lt;MMD device&amp;gt; &amp;lt;register&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;go 0x80300000 read 0x8c0b000 3 1&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;0x8c0b000= MAC address &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3-&amp;gt;&amp;nbsp; Device: PCS address&amp;nbsp; (Table 287. Device Address Overview) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1-&amp;gt; PCS status register&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Syntax for Clause 22: (Please read status register multiple times)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;read &amp;lt;mac_addr&amp;gt; &amp;lt;mmd always 0&amp;gt;&amp;nbsp; &amp;lt;reg addr&amp;gt;&amp;nbsp; &amp;lt;any value: e.g. 0 this is a switch that tells its clause 22&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example to read control register&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;go 0x80300000 read 0x8c47000 0 0 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To Read status register&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;go 0x80300000 read 0x8c47000 0 1 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do customer is able to boot linux on board? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;does ping don't work on Linux?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you detail about your setup?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please use MAC17 address "8C4_7000" instead of 0x8c0b000.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 06:35:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1330825#M8783</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-27T06:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1331505#M8788</link>
      <description>&lt;P&gt;Dear Yiping,&lt;/P&gt;&lt;P&gt;Could you help give a demo for mac loopback code in u-boot.&lt;/P&gt;&lt;P&gt;Such as mac17 mac loopback. Many thanks.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 06:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1331505#M8788</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-08-30T06:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: dpmac17 sgmii Problems</title>
      <link>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1331638#M8792</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;1. Please first update your mc firmware (attached)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As per the boot log your mc firmware version is "version: 10.24.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Please share dump of PHY register 5 (partner ability) using MDIO command on uboot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. what is the clock frequency of CLK_SD2_F_P/N ?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 08:51:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/dpmac17-sgmii-Problems/m-p/1331638#M8792</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-30T08:51:11Z</dc:date>
    </item>
  </channel>
</rss>

