<?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: ls1012ardb ethernat interfaces mac not set</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-ethernat-interfaces-mac-not-set/m-p/781379#M3454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="317681" data-username="angelikileonida" href="https://community.nxp.com/people/angelikileonida"&gt;Angeliki Leonida&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set MAC addresses for pfe_eth0 and pfe_eth1 in u-boot environment and save them under u-boot prompt, these MAC addresses will be specified in Linux Kernel too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eth0addr=00:04:9f:04:68:b0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eth1addr=00:04:9f:04:68:b1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ethact=pfe_eth0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ethaddr=00:04:9f:04:68:b3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;root@TinyDistro:~# ifconfig -a&lt;BR /&gt;eth0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:Ethernet&amp;nbsp; HWaddr 00:04:9f:04:68:b3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BROADCAST MULTICAST&amp;nbsp; MTU:1500&amp;nbsp; Metric:1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:1000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX bytes:0 (0.0 B)&amp;nbsp; TX bytes:0 (0.0 B)&lt;BR /&gt;&lt;BR /&gt;eth1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:Ethernet&amp;nbsp; HWaddr 00:04:9f:04:68:b1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BROADCAST MULTICAST&amp;nbsp; MTU:1500&amp;nbsp; Metric:1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:1000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX bytes:0 (0.0 B)&amp;nbsp; TX bytes:0 (0.0 B)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You also could set u-boot environment in the source code, please configure "CONFIG_EXTRA_ENV_SETTINGS" in include/configs/ls1012ardb.h in u-boot source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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, 01 Nov 2018 04:09:38 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2018-11-01T04:09:38Z</dc:date>
    <item>
      <title>ls1012ardb ethernat interfaces mac not set</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-ethernat-interfaces-mac-not-set/m-p/781378#M3453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am booting ls1012ardb with dflexbuild and ubuntu userland with&amp;nbsp;Layerscape SDK usign a prebuild uboot image&amp;nbsp;firmware_ls1012ardb_uboot_qspiboot.img&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problems is that eth0 and eth1 are set with MAC address&amp;nbsp;&lt;SPAN&gt;00:00:00:00:00:00 and do not take any ip. I set the ethaddr env variable at u-boot promt for eth0 and now eth0 is functional.&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;My question what is the proper way to automatically&amp;nbsp; set MAC address for pfe interfaces eth0 and eth1.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;During boot there is a pfe warning e.g.&lt;/P&gt;&lt;P&gt;Warning: pfe_eth1 (eth1) using random MAC address - 6e:75:fe:c4:4c:1c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and network manager cannot assign any ip&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Oct 11 10:26:11 localhost systemd-networkd[2561]: eth1: Could not bring up interface: Cannot assign requested address&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ifconfig -a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;eth1: flags=4098&amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt; ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet)&lt;BR /&gt; RX packets 0 bytes 0 (0.0 B)&lt;BR /&gt; RX errors 0 dropped 0 overruns 0 frame 0&lt;BR /&gt; TX packets 0 bytes 0 (0.0 B)&lt;BR /&gt; TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR , Angeliki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 11:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-ethernat-interfaces-mac-not-set/m-p/781378#M3453</guid>
      <dc:creator>angelikileonida</dc:creator>
      <dc:date>2018-10-11T11:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb ethernat interfaces mac not set</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-ethernat-interfaces-mac-not-set/m-p/781379#M3454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="317681" data-username="angelikileonida" href="https://community.nxp.com/people/angelikileonida"&gt;Angeliki Leonida&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set MAC addresses for pfe_eth0 and pfe_eth1 in u-boot environment and save them under u-boot prompt, these MAC addresses will be specified in Linux Kernel too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eth0addr=00:04:9f:04:68:b0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eth1addr=00:04:9f:04:68:b1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ethact=pfe_eth0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ethaddr=00:04:9f:04:68:b3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;root@TinyDistro:~# ifconfig -a&lt;BR /&gt;eth0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:Ethernet&amp;nbsp; HWaddr 00:04:9f:04:68:b3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BROADCAST MULTICAST&amp;nbsp; MTU:1500&amp;nbsp; Metric:1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:1000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX bytes:0 (0.0 B)&amp;nbsp; TX bytes:0 (0.0 B)&lt;BR /&gt;&lt;BR /&gt;eth1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:Ethernet&amp;nbsp; HWaddr 00:04:9f:04:68:b1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BROADCAST MULTICAST&amp;nbsp; MTU:1500&amp;nbsp; Metric:1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:1000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX bytes:0 (0.0 B)&amp;nbsp; TX bytes:0 (0.0 B)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You also could set u-boot environment in the source code, please configure "CONFIG_EXTRA_ENV_SETTINGS" in include/configs/ls1012ardb.h in u-boot source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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, 01 Nov 2018 04:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-ethernat-interfaces-mac-not-set/m-p/781379#M3454</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2018-11-01T04:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb ethernat interfaces mac not set</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-ethernat-interfaces-mac-not-set/m-p/781380#M3455</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;Great seems I found a post describing very closely issue I've here too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I've similar issue with a LS1012ARDB board ... but a bit different.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Using latest LSDK 19.09 and also able to build&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit;"&gt;firmware_ls1012ardb_uboot_qspiboot.img&lt;/SPAN&gt;&amp;nbsp; I can flash and use.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;During build I did not brought any changes to code or used some special build options.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;A performed a simple "flex-builder -m ls1012ardb -b qspi" and then flashed the resulting "image&amp;nbsp;&lt;SPAN&gt;firmware_ls1012ardb_uboot_qspiboot.img" as described in "LS1012ARDBGSG Getting Started Guide Rev. 5, 09/2018", §&lt;SPAN class=""&gt;14.4 Step 2: Flashing LSDK composite firmware image. All went well so far.&lt;/SPAN&gt;&lt;BR style="font-weight: normal;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;NOTE: I flash it on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;bank 2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and not bank 1 of embedded QSPI flash device - maybe this is my problem and I shall put it on bank 1?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I also set the variables in u-boot prompt exactly as described above, but this does not help in my case.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Problem I've is I simply don't see and cannot mount the eth0 device despite in u-boot phase it seems to be up and running already. So I can boot and log into tiny Linux as root and there, in order to flash boot partition and userland I need first to bring up eth0 by doing "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit;"&gt;ifconfig eth0 hw ether &amp;lt;MyMAC address&amp;gt;&lt;/SPAN&gt;". Doing that simply tells me there is no such device, I only can see "lo" and "sit0@NONE" devices, ping localhost works making me believe stack is up and alive. Looking into /etc/network/interfaces indeed shows eth0 is absent - what went wrong?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Any idea? Thx Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:49:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-ethernat-interfaces-mac-not-set/m-p/781380#M3455</guid>
      <dc:creator>christophe_schm</dc:creator>
      <dc:date>2020-02-12T14:49:24Z</dc:date>
    </item>
  </channel>
</rss>

