<?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>i.MX ProcessorsのトピックRe: mfgtool optimisable for mass production</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332912#M45081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another possible work-around is to use sb_loader.exe &lt;SPAN style="font-size: 13.3333330154419px;"&gt;which is a simple standalone download program.&amp;nbsp; T&lt;SPAN style="font-size: 13.3333330154419px;"&gt;he downside is that sb_loader doesn't implement the UTP protocol that mfgtool uses to push commands and data across the link.&amp;nbsp; I was looking at replacing the usb mass storage gadget and UTP daemon with the ethernet over USB g_ether gadget and using ssh/scp over that link.&amp;nbsp; This would require a new kernel build and new ramdisk image.&amp;nbsp; You might also modify the disk image of the ramdisk and pre-load some scripts on it to do things.&amp;nbsp; In any case I haven't got that part going yet.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sb_loader.exe&amp;nbsp; is on the freescale forum in this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/321160"&gt;sb_loader.exe not supported for imx6 solo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(The version linked at the end does work on the Solo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ucl2.xml for loading the kernel looks like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-ct200.imx" &amp;gt;Loading U-boot&amp;lt;/CMD&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="uImage" address="0x12000000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Kernel.&amp;lt;/CMD&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x12C00000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Initramfs.&amp;lt;/CMD&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="imx6dl-ct200-ldo.dtb"&amp;nbsp;&amp;nbsp;&amp;nbsp; address="0x18000000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Device Tree.&amp;lt;/CMD&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="jump" &amp;gt;Jumping to OS image.&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To replicate this with sb_loader I do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on a linux machine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run "mkimage -l u-boot-ct200.imx | grep Entry" to get the entry address of the u-boot.&amp;nbsp; For me it was 0x17800000.&amp;nbsp; This is used as the parameter for the sb_loader -exec option below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on windows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REM load u-boot image with register setup script&lt;/P&gt;&lt;P&gt;sb_loader.exe -nojump -f u-boot-ct200.imx&lt;/P&gt;&lt;P&gt;REM load linux kernel image&lt;/P&gt;&lt;P&gt;sb_loader.exe -trans 0x12000000 -f uImage&lt;/P&gt;&lt;P&gt;REM load initial RAM filesystem&lt;/P&gt;&lt;P&gt;sb_loader.exe -trans 0x12C00000 -f initramfs.cpio.gz.uboot&lt;/P&gt;&lt;P&gt;REM load device tree&lt;/P&gt;&lt;P&gt;sb_loader.exe -trans 0x18000000 -f imx6dl-ct200-ldo.dtb&lt;/P&gt;&lt;P&gt;REM start u-boot&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sb_loader.exe -exec 0x17800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the -exec command the u-boot ran and booted linux up until it was waiting for a command to come across the link for the Freescale UTP protocol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2015 17:07:32 GMT</pubDate>
    <dc:creator>andrewdyer</dc:creator>
    <dc:date>2015-02-27T17:07:32Z</dc:date>
    <item>
      <title>mfgtool optimisable for mass production</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332907#M45076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a very simple yet necessary question. This is mostly aimed at Freescale employees.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have created a custom imx6s board with almost all peripherals onboard. We would like to start mass production very soon and want to use the mfgtool (&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3Di.MX6S%26fpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;IMX_6_MFG_L3.10.17_1.0.0_TOOL&lt;/A&gt; --&amp;gt; Without rootfs)). We would only like to use the tool to push u-boot to the device. However I have an issue using this tool.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The -noui window never closes. Our automated system cannot handle windows that do not close after a successful boot. Is it possible to add an extra command such as "-pass 1" to the tool that closes after one succesful operation? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried using the application source code (&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3Di.MX6S%26fpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;IMX_MFG_TOOL_V2_SOURCE&lt;/A&gt;) to do it ourselves, but whenever we build it in visual studio 2012 we get a mass of errors mostly related to a dot in the mapname.&amp;nbsp; When we got things finally working and building, the application crashes when trying to boot the device. Very weird because we never changed the downloaded source code. Can anyone try to download the website code, extract it into C:\ and open it in visual studio?)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336053"&gt;ucl2.xml.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 12:47:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332907#M45076</guid>
      <dc:creator>boudewijn-ame</dc:creator>
      <dc:date>2015-02-24T12:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool optimisable for mass production</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332908#M45077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible workaround is to launch mfgtool2.exe in the background, wait for a while, and use taskkill to terminate it. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14247860692845502 jive_macro_code" jivemacro_uid="_14247860692845502" modifiedtitle="true"&gt;
&lt;P&gt;mfgtool2.exe -noui &amp;amp;&lt;/P&gt;
&lt;P&gt;timeout 30&lt;/P&gt;
&lt;P&gt;taskkill /IM mfgtool2.exe&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 13:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332908#M45077</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-02-24T13:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool optimisable for mass production</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332909#M45078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran into the same problem today.&amp;nbsp; Add my vote to this feature request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to terminating after the &amp;lt;LIST&amp;gt; is run through, MfgTool2.exe should return a code that can be tested with %ERRORLEVEL% in a batch file for success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 19:26:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332909#M45078</guid>
      <dc:creator>andrewdyer</dc:creator>
      <dc:date>2015-02-26T19:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool optimisable for mass production</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332910#M45079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="j-post-author"&gt;Kursad Oney,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;Thanks for your answer. I understand that there are workarounds, but those are not nice solutions. Besides, I am using a test machine that can only open programs via commandline (Windows) and its testprogram can only continue if the application closes. I know it is a flaw of the machine as well, but a feature like this really suits the mfgtool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;Can someone also check the source code on this website and open the solution in visual basic? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 08:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332910#M45079</guid>
      <dc:creator>boudewijn-ame</dc:creator>
      <dc:date>2015-02-27T08:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool optimisable for mass production</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332911#M45080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with you and will try to raise this issue to the mfgtool development team. I wish we had a way for the public to open issues/bugs against the SW and track it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332911#M45080</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-02-27T14:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool optimisable for mass production</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332912#M45081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another possible work-around is to use sb_loader.exe &lt;SPAN style="font-size: 13.3333330154419px;"&gt;which is a simple standalone download program.&amp;nbsp; T&lt;SPAN style="font-size: 13.3333330154419px;"&gt;he downside is that sb_loader doesn't implement the UTP protocol that mfgtool uses to push commands and data across the link.&amp;nbsp; I was looking at replacing the usb mass storage gadget and UTP daemon with the ethernet over USB g_ether gadget and using ssh/scp over that link.&amp;nbsp; This would require a new kernel build and new ramdisk image.&amp;nbsp; You might also modify the disk image of the ramdisk and pre-load some scripts on it to do things.&amp;nbsp; In any case I haven't got that part going yet.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sb_loader.exe&amp;nbsp; is on the freescale forum in this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/321160"&gt;sb_loader.exe not supported for imx6 solo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(The version linked at the end does work on the Solo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ucl2.xml for loading the kernel looks like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-ct200.imx" &amp;gt;Loading U-boot&amp;lt;/CMD&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="uImage" address="0x12000000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Kernel.&amp;lt;/CMD&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x12C00000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Initramfs.&amp;lt;/CMD&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="imx6dl-ct200-ldo.dtb"&amp;nbsp;&amp;nbsp;&amp;nbsp; address="0x18000000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Device Tree.&amp;lt;/CMD&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="jump" &amp;gt;Jumping to OS image.&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To replicate this with sb_loader I do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on a linux machine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run "mkimage -l u-boot-ct200.imx | grep Entry" to get the entry address of the u-boot.&amp;nbsp; For me it was 0x17800000.&amp;nbsp; This is used as the parameter for the sb_loader -exec option below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on windows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REM load u-boot image with register setup script&lt;/P&gt;&lt;P&gt;sb_loader.exe -nojump -f u-boot-ct200.imx&lt;/P&gt;&lt;P&gt;REM load linux kernel image&lt;/P&gt;&lt;P&gt;sb_loader.exe -trans 0x12000000 -f uImage&lt;/P&gt;&lt;P&gt;REM load initial RAM filesystem&lt;/P&gt;&lt;P&gt;sb_loader.exe -trans 0x12C00000 -f initramfs.cpio.gz.uboot&lt;/P&gt;&lt;P&gt;REM load device tree&lt;/P&gt;&lt;P&gt;sb_loader.exe -trans 0x18000000 -f imx6dl-ct200-ldo.dtb&lt;/P&gt;&lt;P&gt;REM start u-boot&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sb_loader.exe -exec 0x17800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the -exec command the u-boot ran and booted linux up until it was waiting for a command to come across the link for the Freescale UTP protocol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 17:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-optimisable-for-mass-production/m-p/332912#M45081</guid>
      <dc:creator>andrewdyer</dc:creator>
      <dc:date>2015-02-27T17:07:32Z</dc:date>
    </item>
  </channel>
</rss>

