<?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のトピックUTP not receive MFGtool command since boot into linux kernel 4.1.15</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/UTP-not-receive-MFGtool-command-since-boot-into-linux-kernel-4-1/m-p/659123#M101115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Guys:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I got an issue when upgrade our product's kernel from 3.0.35 to 4.1.15.&lt;/P&gt;&lt;P&gt;that is /dev/utp not recieve any "updater" command from MFGtools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; in old 3.0.35 kernel, all I need to do is modprobe "g_file_storage" to initialize /dev/utp; then call "uuc" program to read /dev/utp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; In kernel 4.1.15; I have to use configfs for /dev/utp initializing. but after "uuc" executed, nothing happened. I am wondering is I missed configure the configfs for usb_f_mass_gadget?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I list my steps below:&lt;/P&gt;&lt;P&gt;/* load needed kernel modules */&lt;/P&gt;&lt;P&gt;modprobe libcomposite&lt;BR /&gt;modprobe usb_f_mass_storage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* configure configfs for mass_storage function */&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs&lt;BR /&gt;mount none /tmp/configfs/ -t configfs&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1&lt;BR /&gt;echo "0x1d6b" &amp;gt; /tmp/configfs/usb_gadget/g1/idVendor &lt;BR /&gt;echo "0x0002" &amp;gt; /tmp/configfs/usb_gadget/g1/idProduct&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/strings/0x409&lt;BR /&gt;echo 3 &amp;gt; /tmp/configfs/usb_gadget/g1/strings/0x409/manufacturer&lt;BR /&gt;echo 2 &amp;gt; /tmp/configfs/usb_gadget/g1/strings/0x409/product&lt;BR /&gt;echo 1 &amp;gt; /tmp/configfs/usb_gadget/g1/strings/0x409/serialnumber&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/configs/c.1&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/configs/c.1/strings/0x409&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/functions/mass_storage.0&lt;/P&gt;&lt;P&gt;ln -s /tmp/configfs/usb_gadget/g1/functions/mass_storage.0 /tmp/configfs/usb_gadget/g1/configs/c.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* now call bind function in usb_f_mass_storage.ko, this will initialize /dev/utp device node */&lt;/P&gt;&lt;P&gt;echo "ci_hdrc.0" &amp;gt; /tmp/configfs/usb_gadget/g1/UDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* call uuc to listen /dev/utp */&lt;/P&gt;&lt;P&gt;sudo /usr/bin/uuc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Does I missed anything important? please tell me what I missed, I'll be very appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wally&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2016 22:31:05 GMT</pubDate>
    <dc:creator>wallyyeh</dc:creator>
    <dc:date>2016-10-21T22:31:05Z</dc:date>
    <item>
      <title>UTP not receive MFGtool command since boot into linux kernel 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UTP-not-receive-MFGtool-command-since-boot-into-linux-kernel-4-1/m-p/659123#M101115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Guys:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I got an issue when upgrade our product's kernel from 3.0.35 to 4.1.15.&lt;/P&gt;&lt;P&gt;that is /dev/utp not recieve any "updater" command from MFGtools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; in old 3.0.35 kernel, all I need to do is modprobe "g_file_storage" to initialize /dev/utp; then call "uuc" program to read /dev/utp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; In kernel 4.1.15; I have to use configfs for /dev/utp initializing. but after "uuc" executed, nothing happened. I am wondering is I missed configure the configfs for usb_f_mass_gadget?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I list my steps below:&lt;/P&gt;&lt;P&gt;/* load needed kernel modules */&lt;/P&gt;&lt;P&gt;modprobe libcomposite&lt;BR /&gt;modprobe usb_f_mass_storage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* configure configfs for mass_storage function */&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs&lt;BR /&gt;mount none /tmp/configfs/ -t configfs&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1&lt;BR /&gt;echo "0x1d6b" &amp;gt; /tmp/configfs/usb_gadget/g1/idVendor &lt;BR /&gt;echo "0x0002" &amp;gt; /tmp/configfs/usb_gadget/g1/idProduct&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/strings/0x409&lt;BR /&gt;echo 3 &amp;gt; /tmp/configfs/usb_gadget/g1/strings/0x409/manufacturer&lt;BR /&gt;echo 2 &amp;gt; /tmp/configfs/usb_gadget/g1/strings/0x409/product&lt;BR /&gt;echo 1 &amp;gt; /tmp/configfs/usb_gadget/g1/strings/0x409/serialnumber&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/configs/c.1&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/configs/c.1/strings/0x409&lt;/P&gt;&lt;P&gt;mkdir /tmp/configfs/usb_gadget/g1/functions/mass_storage.0&lt;/P&gt;&lt;P&gt;ln -s /tmp/configfs/usb_gadget/g1/functions/mass_storage.0 /tmp/configfs/usb_gadget/g1/configs/c.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* now call bind function in usb_f_mass_storage.ko, this will initialize /dev/utp device node */&lt;/P&gt;&lt;P&gt;echo "ci_hdrc.0" &amp;gt; /tmp/configfs/usb_gadget/g1/UDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* call uuc to listen /dev/utp */&lt;/P&gt;&lt;P&gt;sudo /usr/bin/uuc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Does I missed anything important? please tell me what I missed, I'll be very appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wally&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 22:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UTP-not-receive-MFGtool-command-since-boot-into-linux-kernel-4-1/m-p/659123#M101115</guid>
      <dc:creator>wallyyeh</dc:creator>
      <dc:date>2016-10-21T22:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: UTP not receive MFGtool command since boot into linux kernel 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UTP-not-receive-MFGtool-command-since-boot-into-linux-kernel-4-1/m-p/659124#M101116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please specify which platform are you using? You could refer to Section “Manufacturing Tool, MFGTool” on the i.MX Yocto Project User's Guide document in order to build an image with MFGTool support, and to section "Serial download mode for the Manufacturing Tool" in the i.MX Linux® User's Guide (IMXLUG) for more details on how to use the manufacturing tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, you could take a look at the following thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/395344"&gt;https://community.nxp.com/thread/395344&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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>Tue, 25 Oct 2016 23:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UTP-not-receive-MFGtool-command-since-boot-into-linux-kernel-4-1/m-p/659124#M101116</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2016-10-25T23:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: UTP not receive MFGtool command since boot into linux kernel 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UTP-not-receive-MFGtool-command-since-boot-into-linux-kernel-4-1/m-p/659125#M101117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Carlos:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thankyou! Your post really saved my day. according your suggest reference, I found the correctly modporbe command should be:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo modprobe g_mass_storage stall=0&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;removable=1 idVendor=0x066F idProduct=0x37FF \&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iSerialNumber="" clk_ignore_unused&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;Execute above modprobe command then sudo&amp;nbsp;uuc, now it finally can read messages what MFGtools sending. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 02:05:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UTP-not-receive-MFGtool-command-since-boot-into-linux-kernel-4-1/m-p/659125#M101117</guid>
      <dc:creator>wallyyeh</dc:creator>
      <dc:date>2016-10-27T02:05:36Z</dc:date>
    </item>
  </channel>
</rss>

