<?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: LS1021A Tower Board TBI internal phy link failure in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614213#M1802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am being able to run eTSEC2 port as SGMII and ping is working. So current condition is eTSEC2 and eTSEC3 are working but eTSEC1 is not working.&lt;/P&gt;&lt;P&gt;Please note that I have already changed the protocol of serdes to 0x30. So eTSEC1 is detected as SGMII interfaces but TBI SR shows that link is down and also I am not getting any RX/TX interrupt. Output of my RCW is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;00000000: 0608000a 00000000 00000000 00000000&lt;BR /&gt;00000010: 30000000 00007900 e0025a00 21046000&lt;BR /&gt;00000020: 00000000 00000000 00000000 20000000&lt;BR /&gt;00000030: 00080000 481b7340 00000000 00000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2016 12:06:58 GMT</pubDate>
    <dc:creator>romitchatterjee</dc:creator>
    <dc:date>2016-11-24T12:06:58Z</dc:date>
    <item>
      <title>LS1021A Tower Board TBI internal phy link failure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614210#M1799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I am writing an Ethernet device driver for the LS1021A Tower board, running a custom OS. eTSEC3 is working fine in RGMII mode. eTSEC1 and eTSEC3 are detected as SGMII and status register of external phy confirm that link is up. However,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;TBI status register shows that the interface is down. Is there any procedure to check the status of SerDes module? Do I need to set anything in SerDes module or somewhere else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am also not getting any RX/TX interrupt in eTSEC1 and eTSEC2.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 11:01:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614210#M1799</guid>
      <dc:creator>romitchatterjee</dc:creator>
      <dc:date>2016-11-22T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A Tower Board TBI internal phy link failure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614211#M1800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Follow the steps specified in LS1021ARM, Section 20.10.1.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Make sure you are accessing all registers at their correct addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Study the following documents for better understanding:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (a) NXP Application Note AN3869;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (b) CISCO Systems document ENG-46158 (SGMII Specification),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page 7;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Refer to u-Boot SGMII link bringup code, file tsec.c function&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tsec_configure_serdes().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 02:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614211#M1800</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-11-24T02:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A Tower Board TBI internal phy link failure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614212#M1801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried all those steps that you mentioned except 3.(b). I will check that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that my register access mechanism may have some problems.&amp;nbsp;Before reading/writing TBI registers, I am writing the Phy address (0x1f) in eTSEC1 TBIPA register. According to the specification (&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LS1021ARM)&lt;/SPAN&gt;, if I access TBI registers for eTSEC2 then I must write Phy address in eTSEC2 TBIPA register. But &amp;nbsp;in that case, I have always got 0xffff when I read any TBI register. &amp;nbsp;If I write Phy address in eTSEC1 TBIPA, then only I get reset values of TBI registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 04:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614212#M1801</guid>
      <dc:creator>romitchatterjee</dc:creator>
      <dc:date>2016-11-24T04:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A Tower Board TBI internal phy link failure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614213#M1802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am being able to run eTSEC2 port as SGMII and ping is working. So current condition is eTSEC2 and eTSEC3 are working but eTSEC1 is not working.&lt;/P&gt;&lt;P&gt;Please note that I have already changed the protocol of serdes to 0x30. So eTSEC1 is detected as SGMII interfaces but TBI SR shows that link is down and also I am not getting any RX/TX interrupt. Output of my RCW is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;00000000: 0608000a 00000000 00000000 00000000&lt;BR /&gt;00000010: 30000000 00007900 e0025a00 21046000&lt;BR /&gt;00000020: 00000000 00000000 00000000 20000000&lt;BR /&gt;00000030: 00080000 481b7340 00000000 00000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 12:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614213#M1802</guid>
      <dc:creator>romitchatterjee</dc:creator>
      <dc:date>2016-11-24T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A Tower Board TBI internal phy link failure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614214#M1803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working. Have to set CPLD register offset 0x0D to 0x04.&lt;/P&gt;&lt;P&gt;u-boot does it .. so if you are using u-boot then it should work. Check SerDes protocol in RCW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 14:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614214#M1803</guid>
      <dc:creator>romitchatterjee</dc:creator>
      <dc:date>2016-11-29T14:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A Tower Board TBI internal phy link failure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614215#M1804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread was very helpful to me. Glad that you posted steps you followed/problems you faced and their solutions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question. When you say,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Before reading/writing TBI registers, I am writing the Phy address (0x1f) in eTSEC1 TBIPA register. According to the specification (LS1021ARM), if I access TBI registers for eTSEC2 then I must write Phy address in eTSEC2 TBIPA register&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't understand what is eTSEC2's PHY address? My understading was When I load some address in eTSEC1 TBIPA, I should load same value in all TBIPA registers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 06:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-Tower-Board-TBI-internal-phy-link-failure/m-p/614215#M1804</guid>
      <dc:creator>swanandpurankar</dc:creator>
      <dc:date>2017-05-09T06:27:21Z</dc:date>
    </item>
  </channel>
</rss>

