<?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 LS1021ATWR ETHERNET ISSUE in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021ATWR-ETHERNET-ISSUE/m-p/1242131#M7639</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With recent Flex-build I could see the ethernet configuration issue in my ls1021a-twr board,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bootlog&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;[ 1.534822] fsl-gianfar soc:ethernet@2d10000: enabled errata workarounds, flags: 0x4&lt;BR /&gt;[ 1.553412] fsl-gianfar soc:ethernet@2d10000 eth0: mac: 00:04:9f:03:f7:22&lt;BR /&gt;[ 1.560185] fsl-gianfar soc:ethernet@2d10000 eth0: Running with NAPI enabled&lt;BR /&gt;[ 1.567195] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.574561] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.581934] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.589301] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.597024] fsl-gianfar soc:ethernet@2d50000: enabled errata workarounds, flags: 0x4&lt;BR /&gt;[ 1.615496] fsl-gianfar soc:ethernet@2d50000 eth1: mac: 00:04:9f:03:f7:23&lt;BR /&gt;[ 1.622264] fsl-gianfar soc:ethernet@2d50000 eth1: Running with NAPI enabled&lt;BR /&gt;[ 1.629286] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.636641] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.644007] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.651371] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.659076] fsl-gianfar soc:ethernet@2d90000: enabled errata workarounds, flags: 0x4&lt;BR /&gt;[ 1.677543] fsl-gianfar soc:ethernet@2d90000 eth2: mac: 00:04:9f:03:f7:24&lt;BR /&gt;[ 1.684295] fsl-gianfar soc:ethernet@2d90000 eth2: Running with NAPI enabled&lt;BR /&gt;[ 1.691316] fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.698682] fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.706037] fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.713400] fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[1]: 256&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Tried both manual configuration and udhcpc&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;# udhcpc&lt;BR /&gt;udhcpc: started, v1.32.1&lt;BR /&gt;[ 15.623074] fsl-gianfar soc:ethernet@2d10000: Rejecting highmem page from CMA.&lt;BR /&gt;ifconfig: SIOCSIFFLAGS: Cannot allocate memory&lt;BR /&gt;udhcpc: sending discover&lt;BR /&gt;udhcpc: sendto: Network is down&lt;BR /&gt;udhcpc: read error: Network is down, reopening socket&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could solve the issue by&amp;nbsp;&lt;/P&gt;&lt;P&gt;setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait cma=257M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it a valid one? or do you have any alternative solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 03:23:09 GMT</pubDate>
    <dc:creator>prasanthr</dc:creator>
    <dc:date>2021-03-09T03:23:09Z</dc:date>
    <item>
      <title>LS1021ATWR ETHERNET ISSUE</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021ATWR-ETHERNET-ISSUE/m-p/1242131#M7639</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With recent Flex-build I could see the ethernet configuration issue in my ls1021a-twr board,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bootlog&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;[ 1.534822] fsl-gianfar soc:ethernet@2d10000: enabled errata workarounds, flags: 0x4&lt;BR /&gt;[ 1.553412] fsl-gianfar soc:ethernet@2d10000 eth0: mac: 00:04:9f:03:f7:22&lt;BR /&gt;[ 1.560185] fsl-gianfar soc:ethernet@2d10000 eth0: Running with NAPI enabled&lt;BR /&gt;[ 1.567195] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.574561] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.581934] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.589301] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.597024] fsl-gianfar soc:ethernet@2d50000: enabled errata workarounds, flags: 0x4&lt;BR /&gt;[ 1.615496] fsl-gianfar soc:ethernet@2d50000 eth1: mac: 00:04:9f:03:f7:23&lt;BR /&gt;[ 1.622264] fsl-gianfar soc:ethernet@2d50000 eth1: Running with NAPI enabled&lt;BR /&gt;[ 1.629286] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.636641] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.644007] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.651371] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.659076] fsl-gianfar soc:ethernet@2d90000: enabled errata workarounds, flags: 0x4&lt;BR /&gt;[ 1.677543] fsl-gianfar soc:ethernet@2d90000 eth2: mac: 00:04:9f:03:f7:24&lt;BR /&gt;[ 1.684295] fsl-gianfar soc:ethernet@2d90000 eth2: Running with NAPI enabled&lt;BR /&gt;[ 1.691316] fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.698682] fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[1]: 256&lt;BR /&gt;[ 1.706037] fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[0]: 256&lt;BR /&gt;[ 1.713400] fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[1]: 256&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Tried both manual configuration and udhcpc&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;# udhcpc&lt;BR /&gt;udhcpc: started, v1.32.1&lt;BR /&gt;[ 15.623074] fsl-gianfar soc:ethernet@2d10000: Rejecting highmem page from CMA.&lt;BR /&gt;ifconfig: SIOCSIFFLAGS: Cannot allocate memory&lt;BR /&gt;udhcpc: sending discover&lt;BR /&gt;udhcpc: sendto: Network is down&lt;BR /&gt;udhcpc: read error: Network is down, reopening socket&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could solve the issue by&amp;nbsp;&lt;/P&gt;&lt;P&gt;setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait cma=257M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it a valid one? or do you have any alternative solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 03:23:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021ATWR-ETHERNET-ISSUE/m-p/1242131#M7639</guid>
      <dc:creator>prasanthr</dc:creator>
      <dc:date>2021-03-09T03:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021ATWR ETHERNET ISSUE</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021ATWR-ETHERNET-ISSUE/m-p/1242150#M7640</link>
      <description>&lt;P&gt;The issue was with the recent kernel version&amp;nbsp;5.4.*&lt;/P&gt;&lt;P&gt;I don't see any issues with the 4.19 kernel,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 03:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021ATWR-ETHERNET-ISSUE/m-p/1242150#M7640</guid>
      <dc:creator>prasanthr</dc:creator>
      <dc:date>2021-03-09T03:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021ATWR ETHERNET ISSUE</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021ATWR-ETHERNET-ISSUE/m-p/1242314#M7646</link>
      <description>&lt;P&gt;As upstream patches (commit &amp;lt;704f2c20eaa5&amp;gt; and &amp;lt;ad3c7b18c5b3&amp;gt;), it causes the highmem CMA reserved is not mapped and dma_alloc_from_contiguous() which returns highmem pages from CMA will fail.&lt;/P&gt;
&lt;P&gt;To fix the issue, CMA needs to be reserved in the lowmem, please add "cma=64M@0x0-0xb0000000" in bootargs.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This might be of interest:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="external-link" href="https://www.spinics.net/lists/arm-kernel/msg740308.html" target="_blank" rel="nofollow noopener"&gt;https://www.spinics.net/lists/arm-kernel/msg740308.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 07:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021ATWR-ETHERNET-ISSUE/m-p/1242314#M7646</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-03-09T07:40:09Z</dc:date>
    </item>
  </channel>
</rss>

