<?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: LS1021A gianfar support</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1404680#M9930</link>
    <description>&lt;P&gt;I found why I could not get the port to autonegotiate to 1000FD. This is because the device tree pointed to the wrong TBI for my eTSEC2. Now speed is all good on both my boot loader and Linux.&lt;/P&gt;&lt;P&gt;However, Linux fails to transmit. ping rarely works and I do see lots of TX FIFO errors.&lt;/P&gt;&lt;P&gt;The both Atheros PHY and TBI PHY sow a link up and smartEEE is disabled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure PHY TX would fail with link up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Linu x5.11 with an upgraded atheros PHY driver.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 16:32:54 GMT</pubDate>
    <dc:creator>renaud</dc:creator>
    <dc:date>2022-01-25T16:32:54Z</dc:date>
    <item>
      <title>LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1381364#M9574</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am porting barebox to the LS1021A on a ls1021A-iot. The boot loader boots from SPI and I am now trying to get the gianfar to work. I started port from&amp;nbsp;LSDK-21.08 however the U-boot release on my eval board is&amp;nbsp;U-Boot 2015.01+ls1+g3281947 (Aug 31 2015 - 15:06:00).&lt;/P&gt;&lt;P&gt;I am trying&amp;nbsp; to find the source for&amp;nbsp;-Boot 2015.01 commit&amp;nbsp;3281947&amp;nbsp; listed above. It is not found in&amp;nbsp;git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At present, the PHY links but nothing is transmitted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that in the 2015 version the TX descriptor are read as little endian (#define SCFG_ETSECDMAMCR_LE_BD_FR 0xf8001a0f)&amp;nbsp;&lt;BR /&gt;while it seems the 2021 version wants then as big Endian :&lt;/P&gt;&lt;P&gt;board/freescale/ls1021aiot/ls1021aiot.c: clrbits_be32(&amp;amp;scfg-&amp;gt;etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR);&lt;BR /&gt;#define SCFG_ETSECDMAMCR_LE_BD_FR 0x00000c00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I set the bit to big endian then transmit starts to occur according to the driver.&lt;/P&gt;&lt;P&gt;TX status before&amp;nbsp;status = 0x9c00&lt;/P&gt;&lt;P&gt;TX status after&amp;nbsp;status = 0x1c00&lt;/P&gt;&lt;P&gt;Still I see nothing coming out the port. It does not receive either.&lt;/P&gt;&lt;P&gt;The ETSEC2 seems to be programmed correctly as well as the PHY. What else is in the path that could prevent transmission (SMMU, snoop bit). Could be the RCW below:&lt;/P&gt;&lt;P&gt;#disable IFC, enable QSPI and DSPI&lt;BR /&gt;0608000a 00000000 00000000 00000000&lt;BR /&gt;70000000 00007900 e0025a00 21046000&lt;BR /&gt;00000000 00000000 00000000 00038000&lt;BR /&gt;20024800 881b7340 00000000 00000000&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 17:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1381364#M9574</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2021-12-03T17:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1381375#M9575</link>
      <description>&lt;P&gt;The other things that is confusing is that U-boot&amp;nbsp; prime Ethernet port is eTSEC2 (it pings) However, the start guide for the ls1021a-iot describes only the port below&lt;/P&gt;&lt;P&gt;ETH0 : SGMII Ethernet eTSEC1&lt;/P&gt;&lt;P&gt;ETH1: SGMII Ethernet eTESC3&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 18:23:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1381375#M9575</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2021-12-03T18:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1381719#M9582</link>
      <description>&lt;P&gt;Please refer to the following SerDes configuration on LS1021A platform. In your RCW configuration, you configured RCW[128:135] as 0x70, so SGMII1 on your platform is disabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yipingwang_0-1638773618443.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164134i3D9EF7B25BF7413F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yipingwang_0-1638773618443.png" alt="yipingwang_0-1638773618443.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;yipingwang_0-1638773618443.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In addition, LSDK 21.08 doesn't support LS1021AIOT, t&lt;SPAN&gt;he real-time edge software(&lt;A href="https://www.nxp.com/design/software/development-software/real-time-edge-software:REALTIME-EDGE-SOFTWARE" target="_blank"&gt;https://www.nxp.com/design/software/development-software/real-time-edge-software:REALTIME-EDGE-SOFTWARE&lt;/A&gt;) supports&amp;nbsp;LS1021AIOT, I extracted u-boot source code from&amp;nbsp;the real-time edge software build environment and uploaded u-boot source code to the following link, please check whether this version u-boot(2020.04) can work on your&amp;nbsp;LS1021AIOT platform.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1dx0PJ4D8-EuHLFfJoooCk7mdxCk8A1Om/view?usp=sharing" target="_blank"&gt;&lt;SPAN&gt;https://drive.google.com/file/d/1dx0PJ4D8-EuHLFfJoooCk7mdxCk8A1Om/view?usp=sharing&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 07:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1381719#M9582</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-12-06T07:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1382708#M9597</link>
      <description>&lt;P&gt;Use the value 0x20 in my boot loader. Now the serdes register are set as U-boot but even though the TX counter increases, nothing go through. I suspect the PHY now as some register are not set the same. Though the speed is correct.&lt;/P&gt;&lt;P&gt;I built U-boot from the git repo you gave me and it does not ping either.&amp;nbsp; The way I have done it is build&amp;nbsp;ls1021aiot_sdcard_defconfig and load it at address 0x82000000. Then go (command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1382708#M9597</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2021-12-07T13:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1382828#M9599</link>
      <description>&lt;P&gt;Clearly a PHY programming issue. At first I get 1000FD but forcing to autonegotiate give 10HD and pings works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 18:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1382828#M9599</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2021-12-07T18:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1385577#M9636</link>
      <description>&lt;P&gt;Disabling 1000FD/HD advertisement allows packet to go thru. Stopping the investigation here as this is all I need.&lt;/P&gt;&lt;P&gt;Using barebox,&amp;nbsp; I had to increase the receive packet too to avoid a crash.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 09:57:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1385577#M9636</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2021-12-13T09:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1404676#M9929</link>
      <description>&lt;P&gt;I built a version of U-boot that does negotiate and ping properly&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 16:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1404676#M9929</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2022-01-25T16:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A gianfar support</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1404680#M9930</link>
      <description>&lt;P&gt;I found why I could not get the port to autonegotiate to 1000FD. This is because the device tree pointed to the wrong TBI for my eTSEC2. Now speed is all good on both my boot loader and Linux.&lt;/P&gt;&lt;P&gt;However, Linux fails to transmit. ping rarely works and I do see lots of TX FIFO errors.&lt;/P&gt;&lt;P&gt;The both Atheros PHY and TBI PHY sow a link up and smartEEE is disabled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure PHY TX would fail with link up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Linu x5.11 with an upgraded atheros PHY driver.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 16:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-gianfar-support/m-p/1404680#M9930</guid>
      <dc:creator>renaud</dc:creator>
      <dc:date>2022-01-25T16:32:54Z</dc:date>
    </item>
  </channel>
</rss>

