<?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: Debugging MFGTool</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392814#M57332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that it fails to upload mksdcard.sh.tar - file to device and then unpack it with tar. mksdcard.sh.tar is there on normal place and I think it's found no errors are given and it's never executed. I put changed the text in ucl2.xml when mksdcard.sh is being executed and it never gets that far, but gets stuck in step before it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2015 10:08:20 GMT</pubDate>
    <dc:creator>Maddis</dc:creator>
    <dc:date>2015-09-22T10:08:20Z</dc:date>
    <item>
      <title>Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392810#M57328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get MFGTool working on our custom iMX6q based HW.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Our hw is based on SabreSD with 2GB RAM, eMMC in SD4 instead SD in SD3 and some other minor changes. But because of those changes I need to build the mfgtool u-boot/kernel myself and can't use the existing ones. I'm using Yocto/meta-fsl-arm to build the mfgtool -image for iMX6. I got it working and I'm able to upload mfg u-boot/kernel/initramfs to unit and it starts and talks to mfgtool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is why I got so far and not sure what goes wrong and that's why it would be nice to be able to debug it somehow. I'm assuming that it does not upload the file it tries to extract, but I'm not sure why is that. I have SabreSD iMX6 develboard, but for some reason I cannot get mfgtool working with it even the freshly downloaded mfgtool. It get's stuck at: cpu_id is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what might be wrong and/or how to debug MFGTool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdhci: Secure Digital Host Controller Interface driver&lt;/P&gt;&lt;P&gt;sdhci: Copyright(c) Pierre Ossman&lt;/P&gt;&lt;P&gt;sdhci-pltfm: SDHCI platform and OF driver helper&lt;/P&gt;&lt;P&gt;mmc0: no vqmmc regulator found&lt;/P&gt;&lt;P&gt;mmc0: no vmmc regulator found&lt;/P&gt;&lt;P&gt;mmc0: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA&lt;/P&gt;&lt;P&gt;mmc0: BKOPS_EN bit is not set&lt;/P&gt;&lt;P&gt;mmc0: new high speed DDR MMC card at address 0001&lt;/P&gt;&lt;P&gt;mmcblk0: mmc0:0001 MMC08G 7.26 GiB&lt;/P&gt;&lt;P&gt;mmcblk0boot0: mmc0:0001 MMC08G partition 1 16.0 MiB&lt;/P&gt;&lt;P&gt;mmcblk0boot1: mmc0:0001 MMC08G partition 2 16.0 MiB&lt;/P&gt;&lt;P&gt;mmcblk0rpmb: mmc0:0001 MMC08G partition 3 128 KiB&lt;/P&gt;&lt;P&gt;mmcblk0: p1 p2 p3&lt;/P&gt;&lt;P&gt;mmcblk0boot1: unknown partition table&lt;/P&gt;&lt;P&gt;mmcblk0boot0: unknown partition table&lt;/P&gt;&lt;P&gt;Galcore version 4.6.9.9754&lt;/P&gt;&lt;P&gt;mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed&lt;/P&gt;&lt;P&gt;mxc_asrc 2034000.asrc: mxc_asrc registered&lt;/P&gt;&lt;P&gt;mxc_vpu 2040000.vpu: VPU initialized&lt;/P&gt;&lt;P&gt;usbcore: registered new interface driver usbhid&lt;/P&gt;&lt;P&gt;usbhid: USB HID core driver&lt;/P&gt;&lt;P&gt;i2c-core: driver [cs42888] using legacy suspend method&lt;/P&gt;&lt;P&gt;i2c-core: driver [cs42888] using legacy resume method&lt;/P&gt;&lt;P&gt;TCP: cubic registered&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 10&lt;/P&gt;&lt;P&gt;sit: IPv6 over IPv4 tunneling driver&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 17&lt;/P&gt;&lt;P&gt;8021q: 802.1Q VLAN Support v1.8&lt;/P&gt;&lt;P&gt;Key type dns_resolver registered&lt;/P&gt;&lt;P&gt;VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4&lt;/P&gt;&lt;P&gt;g_mass_storage gadget: Mass Storage Function, version: 2009/09/11&lt;/P&gt;&lt;P&gt;g_mass_storage gadget: Number of LUNs=1&lt;/P&gt;&lt;P&gt;lun0: LUN: removable file: (no medium)&lt;/P&gt;&lt;P&gt;g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11&lt;/P&gt;&lt;P&gt;g_mass_storage gadget: g_mass_storage ready&lt;/P&gt;&lt;P&gt;drivers/rtc/hctosys.c: unable to open rtc device (rtc0)&lt;/P&gt;&lt;P&gt;usb 1-1: new high-speed USB device number 2 using ci_hdrc&lt;/P&gt;&lt;P&gt;ALSA device list:&lt;/P&gt;&lt;P&gt;&amp;nbsp; No soundcards found.&lt;/P&gt;&lt;P&gt;Freeing unused kernel memory: 300K (80be8000 - 80c33000)&lt;/P&gt;&lt;P&gt;Starting UTP&lt;/P&gt;&lt;P&gt;uuc 0.5 [built Sep 17 2015 09:01:22]&lt;/P&gt;&lt;P&gt;UTP: Waiting for device to appear&lt;/P&gt;&lt;P&gt;UTP: file/device node /dev/utp already exists&lt;/P&gt;&lt;P&gt;cpu_id is 0&lt;/P&gt;&lt;P&gt;hub 1-1:1.0: USB hub found&lt;/P&gt;&lt;P&gt;hub 1-1:1.0: 3 ports detected&lt;/P&gt;&lt;P&gt;g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage&lt;/P&gt;&lt;P&gt;UTP: received command 'send'&lt;/P&gt;&lt;P&gt;UTP: sending Success to kernel for command send.&lt;/P&gt;&lt;P&gt;UTP: received command '$ tar xf $FILE '&lt;/P&gt;&lt;P&gt;UTP: executing "tar xf $FILE "&lt;/P&gt;&lt;P&gt;tar: no gzip/bzip2/xz magic&lt;/P&gt;&lt;P&gt;UTP: sending Non-success to kernel for command $ tar xf $FILE .&lt;/P&gt;&lt;P&gt;utp_poll: exit with status 256&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 05:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392810#M57328</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-18T05:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392811#M57329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is your filesystem file in your mfgtool folder? is it something like rootfs.tar.gz? so you may check the tar command in your ucl2.xml is proper or not. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 08:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392811#M57329</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-09-21T08:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392812#M57330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the problem is in mfgtool filesystem since the mfgtool system uploaded to device clearly starts up okay and talks to MFGTool in PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you are talking about the image being loaded with the mfgtool then yes, that's correct form since I used it to program the development board's eMMC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 09:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392812#M57330</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-22T09:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392813#M57331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw the 'tar' command seems not work in your log&amp;nbsp; :&lt;/P&gt;&lt;P&gt;UTP: received command '$ tar xf $FILE '&lt;/P&gt;&lt;P&gt;UTP: executing "tar xf $FILE "&lt;/P&gt;&lt;P&gt;tar: no gzip/bzip2/xz magic&lt;/P&gt;&lt;P&gt;UTP: sending Non-success to kernel for command $ tar xf $FILE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, you may double check the 'tar' command in the ucl script. Or you may send your ucl2.xml here so I can take a look of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 10:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392813#M57331</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-09-22T10:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392814#M57332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that it fails to upload mksdcard.sh.tar - file to device and then unpack it with tar. mksdcard.sh.tar is there on normal place and I think it's found no errors are given and it's never executed. I put changed the text in ucl2.xml when mksdcard.sh is being executed and it never gets that far, but gets stuck in step before it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 10:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392814#M57332</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-22T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392815#M57333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, didn't see your reply before sending mine. The ucl2.xml is inlucded here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 10:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392815#M57333</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-22T10:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392816#M57334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To debug this issue, I would suggest you to use NFS. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 10:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392816#M57334</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-09-22T10:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392817#M57335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after check the ucl script, I don't see any problem. I think it is better to bootup your board with NFS. Then use the same linux commands in the script to program your emmc for debugging. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 02:46:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392817#M57335</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-09-23T02:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392818#M57336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be simple thing and I've used NFS before, but what do you mean to use NFS in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 03:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392818#M57336</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-23T03:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392819#M57337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ucl script basically is a bundle of linux command used to program the emmc on your board. So you can boot your board with NFS. Then you can run the same linux commands to program the emmc. Therefore, you can check the script is right or wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 05:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392819#M57337</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-09-23T05:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392820#M57338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know if there are any instructions how to setup NFS so it can be used the way you suggest?&amp;nbsp; Or could you elaborate bit more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 07:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392820#M57338</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-23T07:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392821#M57339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-103717"&gt;Yocto NFS &amp;amp;amp; TFTP boot&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 08:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392821#M57339</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-09-23T08:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392822#M57340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While starting to test the NFS I noticed that I didn't have U-boot startup delay so I couldn't stop u-boot from booting and changing to NFS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I stopped the mfgtool too and it left the system at state where the mfgtool has booted&amp;nbsp; and created the Linux File-backed storage and it appeared as E: in my computer. Not sure if my problem is this. When I tried to access the E: I get error "The request could not be berformed because of I/O device error." Not entirely sure which way the mksdcard.sh.tar is uploaded to device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll continue with NFS for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit. On another test when trying to access drive E: Windows said "Please insert a disk into drive E:". So it seems that the File-backed storage is not working at least at that state. Not sure if I should be able to access it normally. I'd assume so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 05:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392822#M57340</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-24T05:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MFGTool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392823#M57341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ha. The solution was there whole time and I just couldn't see it! It's working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason this new system wants the mksdcard.sh.tar to be also packed with gzip/bzip2/xz. So I used gzip and replaced the original file with it and now it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the problems are too obvious to notice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 04:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MFGTool/m-p/392823#M57341</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2015-09-25T04:41:51Z</dc:date>
    </item>
  </channel>
</rss>

