<?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: Problem getting Manufacturing Toolkit second stage working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321456#M42900</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;The problem is not about initial board bring-up. I have our custom board with u-boot and kernel running stable for months. I'm just trying to get the manufacturing toolkit procedure working, to prepare for volume production. I'm using the same u-boot base as our custom board, only with a few config changes as indicated in the Manufacturing toolkit documentation. So I'm pretty sure I got everything set up correctly in the ucl2.xml, as it loads u-boot, kernel and ramdisk and kicks off fine. But as mentioned it seems to be an issue with the USB gadget driver, and that is when I came to this issue. Any suggestions based on that..? Using the 3.0 kernel from LTIB 4.1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it has to do with the fact that "&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;g_file_storage gadget: high speed config #1"&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt; is not popping up in the kernel logs on our custom board.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;For convenience as I don't have LTIB set up right now, I just used the ramdisk from the MX6DL release, but that shouldn't matter because there's nothing board specific in that filesystem..?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2014 08:27:11 GMT</pubDate>
    <dc:creator>ThomasG1z</dc:creator>
    <dc:date>2014-06-26T08:27:11Z</dc:date>
    <item>
      <title>Problem getting Manufacturing Toolkit second stage working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321454#M42898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have custom board (partly based on the Sabrelite) that I have trouble getting the second stage of the manufacturing toolkit working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the board into USB downloader mode, and it downloads u-boot, kernel, ramdisk perfectly fine. But when the kernel boots the new USB device for further download and communication doesn't seem to get properly activated. I have tested the identical kernel on the Sabrelite and the Nitrogen6 Lite using the same ucl2.xml config, and then it kicks off fine. I see in a USB analyzer software that no new USB device is detected after the initial ROM downloader has disconnected for my custom board, but comes up fine with the others mentioned.. Kernel log stops at this output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Starting UTP&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;ln: /etc/mtab: File exists&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;disable turn off display&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Starting the hotplug events dispatcher udevd&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Synthesizing initial hotplug events&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;udevd (2242): /proc/2242/oom_adj is deprecated, please use /proc/2242/oom_score_adj instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;uuc 0.4 [built Aug 16 2013 01:24:08]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;UTP: Waiting for device to appear&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;UTP: file/device node /dev/utp already exists&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;cpu_id is 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what to look for..? The USB OTG interface is pretty straight forward, although using only a USB B socket and ID is floating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;On the other boards it continues like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;UTP: Waiting for device to appear&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;UTP: file/device node /dev/utp already exists&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;cpu_id is 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;STRONG&gt;UTP: received command '$ echo 0 &amp;gt; /sys/block/mmcblk0boot0/force_ro'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&lt;STRONG&gt;UTP: executing "echo 0 &amp;gt; /sys/block/mmcblk0boot0/force_ro"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&lt;STRONG&gt;sh: can't create /sys/block/mmcblk0boot0/force_ro: nonexistent directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One noticable difference I see further up in the kernel logs is that on the boards that work I see this line, but not on my custom board:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;g_file_storage gadget: high speed config #1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 08:27:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321454#M42898</guid>
      <dc:creator>ThomasG1z</dc:creator>
      <dc:date>2014-06-19T08:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting Manufacturing Toolkit second stage working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321455#M42899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ThomasG1z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Sabrelite-like board it is not possible to use MFG Tools for Freescale boards,&lt;/P&gt;&lt;P&gt;because they have different configurations. Please use tools for Sabrelite&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/" title="http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/"&gt;http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, issue may be related to DDR errors (and configuration), one&lt;/P&gt;&lt;P&gt;needs to rebuild manufacturing firmware (initramfs.cpio.gz.uboot) with new board DDR calibration settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="331721" data-objecttype="2" href="https://community.freescale.com/message/331721#331721"&gt;https://community.freescale.com/message/331721#331721&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="32294" data-containertype="2020" data-objectid="96412" data-objecttype="102" href="https://community.freescale.com/docs/DOC-96412"&gt;https://community.freescale.com/docs/DOC-96412&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&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, 26 Jun 2014 00:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321455#M42899</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-06-26T00:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting Manufacturing Toolkit second stage working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321456#M42900</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;The problem is not about initial board bring-up. I have our custom board with u-boot and kernel running stable for months. I'm just trying to get the manufacturing toolkit procedure working, to prepare for volume production. I'm using the same u-boot base as our custom board, only with a few config changes as indicated in the Manufacturing toolkit documentation. So I'm pretty sure I got everything set up correctly in the ucl2.xml, as it loads u-boot, kernel and ramdisk and kicks off fine. But as mentioned it seems to be an issue with the USB gadget driver, and that is when I came to this issue. Any suggestions based on that..? Using the 3.0 kernel from LTIB 4.1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it has to do with the fact that "&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;g_file_storage gadget: high speed config #1"&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt; is not popping up in the kernel logs on our custom board.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;For convenience as I don't have LTIB set up right now, I just used the ramdisk from the MX6DL release, but that shouldn't matter because there's nothing board specific in that filesystem..?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 08:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321456#M42900</guid>
      <dc:creator>ThomasG1z</dc:creator>
      <dc:date>2014-06-26T08:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting Manufacturing Toolkit second stage working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321457#M42901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've come somewhat a little bit further. If I put u-boot on my eMMC and boot from that device, then loading the kernel and ramdisk, all files identical to the files I use with mfg toolkit, then the mass storage gadget driver kicks off and I can use mfg toolkit to run through the secondary steps perfectly fine. The same issue appears when I use the sb_loader.exe to load u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doh... So for some reason, whenever I boot up from USB, then the gadget driver does not initialize... Any clues..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 12:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321457#M42901</guid>
      <dc:creator>ThomasG1z</dc:creator>
      <dc:date>2014-06-26T12:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting Manufacturing Toolkit second stage working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321458#M42902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ThomasG1z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based from latest comments, one&lt;/P&gt;&lt;P&gt;definitely needs to rebuild manufacturing firmware (initramfs.cpio.gz.uboot).&lt;/P&gt;&lt;P&gt;Manufacturing toolkit uses own Uboot (included in initramfs.cpio.gz.uboot), it&lt;/P&gt;&lt;P&gt;should be updated for custom board DDR settings.&lt;/P&gt;&lt;P&gt;Please check sect.3.9 "Building Manufacturing Firmware"&lt;/P&gt;&lt;P&gt;i.MX_6Dual6Quad_SABRE-SD_Linux_User's_Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=L3.0.35_4.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Documentation"&gt;L3.0.35_4.1.0_LINUX_DOCS&lt;/A&gt; &lt;IMG alt="" class="jiveImage" src="http://www.freescale.com/files/graphic/SECURITYINFOIMAGE.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"When all else fails, read the instructions."&lt;/P&gt;&lt;P&gt;[Murphy's laws]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 02:03:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321458#M42902</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-06-27T02:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting Manufacturing Toolkit second stage working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321459#M42903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U-boot itself is not a part of initramfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But anyway, I've got it working now. I rebased u-boot for our board to a newer version (2014.04) and for some odd reason it seems to work all the way through now, tested a few times. Not sure what was the original problem though. So I'll leave it at that for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 10:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-getting-Manufacturing-Toolkit-second-stage-working/m-p/321459#M42903</guid>
      <dc:creator>ThomasG1z</dc:creator>
      <dc:date>2014-07-02T10:32:41Z</dc:date>
    </item>
  </channel>
</rss>

