<?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 IMX6sx serial number and MAC address programming ?  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6sx-serial-number-and-MAC-address-programming/m-p/417830#M62862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P&gt;we are making a product based on imx6sx and i have to implement serial number and Ethernet mac address programming for manufacturing.&lt;/P&gt;&lt;P&gt;I have a few questions, can somebody help me with answer or some pointers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Does the IMX6sx chipset come with a pre-programmed serial number ? or do i have to program it ?&lt;/P&gt;&lt;P&gt;I did not find anything for writing the serial number, so i guess it will be pre-programmed. is my understanding correct? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For reading I found the below function in u-boot at: &lt;STRONG&gt;arch/arm/cpu/armv7/mx6/soc.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;void get_board_serial(struct tag_serialnr *serialnr);&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; its reading the serial number and then appending it to the cmdline args for passing to kernel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is this the only step required for reading or do i have to do any thing extra ?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2) Ethernet MAC address programming: I have a partition on my target /device [ size 8MB]&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; &lt;STRONG&gt;/dev/block/mmcblk3p7,&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; As per&amp;nbsp; the Android user guide it says " To store MAC address files",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shall i use this for saving Ethernet MAC address or it is for wifi MAC address&amp;nbsp; only &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i need to fuse the ethernet MAC address ? which&amp;nbsp; approach&amp;nbsp; is better ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I saw a file in &lt;STRONG&gt;/dev/block/mmcblk3p7 &lt;/STRONG&gt; partition "/device/wifi/softmac"&amp;nbsp; , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; can i create a similar file for the Ethernet MAC address and read from it ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2015 20:41:23 GMT</pubDate>
    <dc:creator>robinsingh</dc:creator>
    <dc:date>2015-10-21T20:41:23Z</dc:date>
    <item>
      <title>IMX6sx serial number and MAC address programming ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6sx-serial-number-and-MAC-address-programming/m-p/417830#M62862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P&gt;we are making a product based on imx6sx and i have to implement serial number and Ethernet mac address programming for manufacturing.&lt;/P&gt;&lt;P&gt;I have a few questions, can somebody help me with answer or some pointers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Does the IMX6sx chipset come with a pre-programmed serial number ? or do i have to program it ?&lt;/P&gt;&lt;P&gt;I did not find anything for writing the serial number, so i guess it will be pre-programmed. is my understanding correct? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For reading I found the below function in u-boot at: &lt;STRONG&gt;arch/arm/cpu/armv7/mx6/soc.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;void get_board_serial(struct tag_serialnr *serialnr);&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; its reading the serial number and then appending it to the cmdline args for passing to kernel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is this the only step required for reading or do i have to do any thing extra ?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2) Ethernet MAC address programming: I have a partition on my target /device [ size 8MB]&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; &lt;STRONG&gt;/dev/block/mmcblk3p7,&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; As per&amp;nbsp; the Android user guide it says " To store MAC address files",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shall i use this for saving Ethernet MAC address or it is for wifi MAC address&amp;nbsp; only &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i need to fuse the ethernet MAC address ? which&amp;nbsp; approach&amp;nbsp; is better ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I saw a file in &lt;STRONG&gt;/dev/block/mmcblk3p7 &lt;/STRONG&gt; partition "/device/wifi/softmac"&amp;nbsp; , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; can i create a similar file for the Ethernet MAC address and read from it ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 20:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6sx-serial-number-and-MAC-address-programming/m-p/417830#M62862</guid>
      <dc:creator>robinsingh</dc:creator>
      <dc:date>2015-10-21T20:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6sx serial number and MAC address programming ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6sx-serial-number-and-MAC-address-programming/m-p/417831#M62863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. yes i.MX6SX comes with a preprogrammed serial number, one can look at&lt;/P&gt;&lt;P&gt;Unique ID&amp;nbsp; Table 5-9. Fusemap Descriptions i.MX6SX Reference Manual (rev.0&amp;nbsp; 2/2015)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SXRM.pdf" rel="nofollow"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SXRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mac address can be programmed to fuses MAC1,2_ADDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.3. android saves in partitions some vendor data like wifi MAC, seems Ethernet&lt;/P&gt;&lt;P&gt;MAC address also can be saved. For details one can post this on&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.android.com/intl/ru/support.html" title="http://developer.android.com/intl/ru/support.html"&gt;Developer Support | Android Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 08:03:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6sx-serial-number-and-MAC-address-programming/m-p/417831#M62863</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-10-22T08:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6sx serial number and MAC address programming ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6sx-serial-number-and-MAC-address-programming/m-p/417832#M62864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The drivers/char/fsl_otp.c populate node in /sys/fsl_otp as attribute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAC0 and MAC1 are already there.&lt;/P&gt;&lt;P&gt;The serial number you need to add by yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27811i6A0EAD77CA1E6DA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 09:43:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6sx-serial-number-and-MAC-address-programming/m-p/417832#M62864</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2015-10-22T09:43:22Z</dc:date>
    </item>
  </channel>
</rss>

