<?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 Re: Programming i.MX6 mac and serial numbers in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674962#M104053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;I did not have&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"/sys/fsl_otp" provided by the BootStrap Kernal, doh!.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have&amp;nbsp;&lt;SPAN&gt;"/sys/fsl_otp"&amp;nbsp; once rebooted &amp;amp; running from flash image.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;We use buildroot so I have some more reading here.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The other option seemed that I could &amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95458"&gt;U-Boot OTP&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Again there is not enough detail for me to follow in my timescales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate you filling in some 'how to' links again though if possible.&lt;/P&gt;&lt;P&gt;For the moment I will use the MfgTool procedure to leave a run once script and so OTP following reboot.&lt;/P&gt;&lt;P&gt;This is not ideal&amp;nbsp;though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 12:51:07 GMT</pubDate>
    <dc:creator>peteroberts</dc:creator>
    <dc:date>2017-07-25T12:51:07Z</dc:date>
    <item>
      <title>Programming i.MX6 mac and serial numbers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674956#M104047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to program our custom imx6 board's serial number and MAC address as part of our factory procedure.&lt;BR /&gt;I have a legacy procedure which was used to program our imx28 boards.&lt;BR /&gt;The legacy procedure used the old 1.6.2 version of MfgTool.exe. &lt;BR /&gt;The profile file 'ucl.xml' launched a python program with the line '&amp;lt;CMD type="exec" body='"$(PROFILEPATH)\\Python27\\python.exe" ...etc&amp;gt;'&lt;BR /&gt;The python program generated a custom OTP configuration settings file (containing our serial number as a register value) and passed those setting to 'otp_burner.py' which created an .sb file which was loaded and burned.&lt;BR /&gt;I believe that 'otp_burner.py' was provided by Freescale and was specific to the imx28 in that it contains register name to location settings.&lt;/P&gt;&lt;P&gt;I understand that OTP settings (MAC/serial numbers etc) may be programmed following the procedure detailed in &lt;A _jive_internal="true" href="https://community.nxp.com/thread/316232"&gt;OPTION 1&lt;/A&gt;.&lt;BR /&gt;I also understand that (once linux is loaded) OTP setting is as simple as writing to '/sys/fsl_otp/'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need a one step procedure however and therefore one which is driven from MfgTool2.exe (Library 2.6.2).&lt;/P&gt;&lt;P&gt;Dropping the original command (&amp;amp; associated files) into the imx6 procedure produces the following error:&lt;BR /&gt;'ModuleID[2] LevelID[5]: &amp;lt;CMD&amp;gt;1 has no "state" attribute'&lt;BR /&gt;If I add a state attribute then the MfgTool2.exe GUI does not even appear. No error report in the .log.&lt;/P&gt;&lt;P&gt;I cannot find any documentation on the '&amp;lt;CMD type="exec"' command either for the imx28 nor the imx6. I suspect that the command is no longer supported?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would not be able to provide MfgTool2.exe with serial numbers either through producing a new 'ucl2.xml' file on each programming (see OPTION 1) nor by passing serial numbers as parameters to MfgTool2.exe as both these&lt;BR /&gt;methods would requires MfgTool2.exe to be stopped and restarted &amp;amp; the factory would not accept this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to call a host program/script from a ucl2.xml command?&lt;BR /&gt;How are serial numbers and MAC addresses normally programmed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:58:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674956#M104047</guid>
      <dc:creator>peteroberts</dc:creator>
      <dc:date>2017-07-19T15:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Programming i.MX6 mac and serial numbers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674957#M104048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may be useful to check mfg tool sources on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/NXPmicro/mfgtools" title="https://github.com/NXPmicro/mfgtools"&gt;GitHub - NXPmicro/mfgtools: Freescale/NXP I.MX Chip image deploy tools.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 20 Jul 2017 09:37:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674957#M104048</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-20T09:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Programming i.MX6 mac and serial numbers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674958#M104049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I will check.&lt;/P&gt;&lt;P&gt;It also looks as if people use 'sb_loader' directly e.g. following this guide:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/441563"&gt;usb_loader&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;(sb_loader &amp;amp; usb_loader being equiv.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 09:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674958#M104049</guid>
      <dc:creator>peteroberts</dc:creator>
      <dc:date>2017-07-20T09:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Programming i.MX6 mac and serial numbers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674959#M104050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can also look at baremetal sdk example (/drivers/ocotp)&lt;/P&gt;&lt;P&gt;Github SDK&lt;BR /&gt;&lt;A href="https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK"&gt;https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674959#M104050</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-20T10:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Programming i.MX6 mac and serial numbers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674960#M104051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. The SDK link is a little too broad for my timescale. Could not find any 'sb_loader' documentation.&lt;/P&gt;&lt;P&gt;Checked MfgTool code &amp;amp; latest MfgTool2.exe does not have the 'exec' command but should be possible to add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first part of the question is answered; MfgTool2 does not support 'exec' - but I could add.&lt;/P&gt;&lt;P&gt;The second part of the question; How do/do others program serial/MAC as part of their manufacturing process is open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674960#M104051</guid>
      <dc:creator>peteroberts</dc:creator>
      <dc:date>2017-07-20T12:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Programming i.MX6 mac and serial numbers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674961#M104052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to be able to use "/sys/fsl_otp" one can check if there is&lt;/P&gt;&lt;P&gt;CONFIG_FSL_OTP=y&amp;nbsp; in yocto manufacturing tool kernel recipy arch/arm/configs/imx_v7_mfg_defconfig&lt;/P&gt;&lt;P&gt;for sb_loader one can look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94117"&gt;i.MX USB Loader&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/NXPmicro/sb_loader"&gt;https://github.com/NXPmicro/sb_loader&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 05:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674961#M104052</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-21T05:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Programming i.MX6 mac and serial numbers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674962#M104053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;I did not have&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"/sys/fsl_otp" provided by the BootStrap Kernal, doh!.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have&amp;nbsp;&lt;SPAN&gt;"/sys/fsl_otp"&amp;nbsp; once rebooted &amp;amp; running from flash image.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;We use buildroot so I have some more reading here.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The other option seemed that I could &amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95458"&gt;U-Boot OTP&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Again there is not enough detail for me to follow in my timescales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate you filling in some 'how to' links again though if possible.&lt;/P&gt;&lt;P&gt;For the moment I will use the MfgTool procedure to leave a run once script and so OTP following reboot.&lt;/P&gt;&lt;P&gt;This is not ideal&amp;nbsp;though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 12:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Programming-i-MX6-mac-and-serial-numbers/m-p/674962#M104053</guid>
      <dc:creator>peteroberts</dc:creator>
      <dc:date>2017-07-25T12:51:07Z</dc:date>
    </item>
  </channel>
</rss>

