<?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 How does uboot set ethaddr when the correct fuses have a valid MAC address? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-does-uboot-set-ethaddr-when-the-correct-fuses-have-a-valid/m-p/929975#M139530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on the processor IMX8DQXPRM. I have programmed the MAC Address to the fuses. When i boot the system, uboot complains that MAC Address is not set therefore, using a random address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it right in understanding that the ethaddr variable of Uboot conveys the MAC address to Linux kernel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some kind of a CONFIG flag that needs to be set so that the Uboot's ethaddr variable reads the address from the fuses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some change in device tree to be made?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2019 06:16:44 GMT</pubDate>
    <dc:creator>a_thomas</dc:creator>
    <dc:date>2019-06-17T06:16:44Z</dc:date>
    <item>
      <title>How does uboot set ethaddr when the correct fuses have a valid MAC address?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-uboot-set-ethaddr-when-the-correct-fuses-have-a-valid/m-p/929975#M139530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on the processor IMX8DQXPRM. I have programmed the MAC Address to the fuses. When i boot the system, uboot complains that MAC Address is not set therefore, using a random address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it right in understanding that the ethaddr variable of Uboot conveys the MAC address to Linux kernel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some kind of a CONFIG flag that needs to be set so that the Uboot's ethaddr variable reads the address from the fuses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some change in device tree to be made?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 06:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-uboot-set-ethaddr-when-the-correct-fuses-have-a-valid/m-p/929975#M139530</guid>
      <dc:creator>a_thomas</dc:creator>
      <dc:date>2019-06-17T06:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: How does uboot set ethaddr when the correct fuses have a valid MAC address?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-uboot-set-ethaddr-when-the-correct-fuses-have-a-valid/m-p/929976#M139531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mr. Abel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the 4.14.78_1.0.0 Release, and I looked in it to get the answers for your questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL style="margin-top: 0in;"&gt;&lt;LI style="margin-left: 9.0pt;"&gt;&lt;EM&gt;Is it right in understanding that the ethaddr variable of U-Boot conveys the MAC address to Linux kernel?&lt;/EM&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Yes, the ethaddr variable of U-boot conveys the Mac address to Linux&lt;/P&gt;&lt;UL style="margin-top: 0in;"&gt;&lt;LI style="margin-left: 9.0pt;"&gt;&lt;EM&gt;Is there some kind of a CONFIG flag that needs to be set so that the Uboot's ethaddr variable reads the address from the fuses?&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In case a &lt;STRONG&gt;valid MAC&lt;/STRONG&gt; &lt;STRONG&gt;address&lt;/STRONG&gt; is programmed through the fuses, Uboot’s ethaddr variable reads it by default from fuses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the fuse map for MAC address from the reference manual of i.MX8QXP/DXP :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="MAC_FUSES_imx8qxp.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88353i3D3E6B4AADCD3E3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="MAC_FUSES_imx8qxp.jpg" alt="MAC_FUSES_imx8qxp.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please note that writing fuses is an irreversible one time operation for &lt;STRONG&gt;all the 32 bits&lt;/STRONG&gt; of a FUSE ROW.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL style="margin-top: 0in;"&gt;&lt;LI style="margin-left: 9.0pt;"&gt;&lt;EM&gt;Is there some change in device tree to be made?&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;No changes need to be done in device tree, as U-boot is the one doing the fixups according to the configuration in : common/fdt_support.c&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 15:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-uboot-set-ethaddr-when-the-correct-fuses-have-a-valid/m-p/929976#M139531</guid>
      <dc:creator>ykarafi</dc:creator>
      <dc:date>2019-06-19T15:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How does uboot set ethaddr when the correct fuses have a valid MAC address?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-uboot-set-ethaddr-when-the-correct-fuses-have-a-valid/m-p/1324776#M178598</link>
      <description>&lt;P&gt;I&amp;nbsp;have tried to edit the defconfig file and imx8mm_evk.h to add ethaddr and ipaddr... but I can't see them after I input printenv command.I want to read the MAC address from efuse and set the default environment.What should I do ? Can I try to edit a function to read the efuse value and return the MAC address ,and then use run_command("setenv xx:xx:....",0) to make it ?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 13:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-uboot-set-ethaddr-when-the-correct-fuses-have-a-valid/m-p/1324776#M178598</guid>
      <dc:creator>丶1u0</dc:creator>
      <dc:date>2021-08-17T13:22:51Z</dc:date>
    </item>
  </channel>
</rss>

