<?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  L4.1.15_2.1.0-ga_mfg_tools not finding board? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/L4-1-15-2-1-0-ga-mfg-tools-not-finding-board/m-p/749040#M116531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to migrate from mfgtool2 on Windows to&amp;nbsp;the Linux version. I'm using a custom board, with an IMX6Solo CPU, and I've been using the Windows version successfully, so I know my images etc are fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the cfg.ini and ucl2.xml files from Windows to set up the Linux tool, and I'm fairly sure all is correct with these - indeed an 'strace' on mfgtoolcli shows them being opened successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board is detected on USB - lsusb shows:&lt;/P&gt;&lt;P&gt;Bus 001 Device 007: ID 15a2:0061 Freescale Semiconductor, Inc.&lt;/P&gt;&lt;P&gt;with dmesg containing:&lt;/P&gt;&lt;P&gt;[1195478.199348] usb 1-2: new high-speed USB device number 7 using xhci_hcd&lt;BR /&gt;[1195478.328352] usb 1-2: New USB device found, idVendor=15a2, idProduct=0061&lt;BR /&gt;[1195478.328358] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;BR /&gt;[1195478.328362] usb 1-2: Product: SE Blank RIGEL&lt;BR /&gt;[1195478.328365] usb 1-2: Manufacturer: Freescale SemiConductor Inc&lt;BR /&gt;[1195478.352579] usbcore: registered new interface driver usbhid&lt;BR /&gt;[1195478.352583] usbhid: USB HID core driver&lt;BR /&gt;[1195478.358096] hid-generic 0003:15A2:0061.0001: hiddev0,hidraw0: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank RIGEL] on usb-0000:00:14.0-2/input0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ucl2.xml file - in ./Profiles/myboard/OS Firmware-&amp;nbsp; has the LIST entry for 'LINUX-MMC', and a CFG section:&lt;/P&gt;&lt;P&gt;&amp;lt;CFG&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="BootStrap" dev="MX6D" vid="15A2" pid="0061"/&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="BootStrap" dev="MX6Q" vid="15A2" pid="0054"/&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="BootStrap" dev="MX6UL" vid="15A2" pid="007D"/&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="Updater" dev="MSC" vid="066F" pid="37FF"/&amp;gt;&lt;BR /&gt; &amp;lt;/CFG&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I run mfgtoolcli (as sudo) - sudo ./mfgtoolcli -l "LINUX-MMC" -c "myboard" - there doesn't seem to be any comms with the board at all. The console shows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your Options:&lt;BR /&gt;&amp;nbsp; Ready to flash.&lt;/P&gt;&lt;P&gt;(and it sits there like that). The log file contains:&lt;/P&gt;&lt;P&gt;DLL version: 2.3.4&lt;BR /&gt;Tue Jan 23 13:08:47 2018&lt;BR /&gt; Start new logging&lt;BR /&gt;ModuleID[2] LevelID[10]: address from XML 0x10500000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x10800000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x11180000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x11200000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x10600000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x10540000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x11100000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running&lt;BR /&gt;ModuleID[2] LevelID[1]: new MxHidDeviceClass&lt;BR /&gt;ModuleID[2] LevelID[1]: new MxHidDeviceClass&lt;BR /&gt;ModuleID[2] LevelID[1]: new MxHidDeviceClass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on what's wrong, and/or how to debug further?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2018 13:24:40 GMT</pubDate>
    <dc:creator>colinhelliwell</dc:creator>
    <dc:date>2018-01-23T13:24:40Z</dc:date>
    <item>
      <title>L4.1.15_2.1.0-ga_mfg_tools not finding board?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-1-15-2-1-0-ga-mfg-tools-not-finding-board/m-p/749040#M116531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to migrate from mfgtool2 on Windows to&amp;nbsp;the Linux version. I'm using a custom board, with an IMX6Solo CPU, and I've been using the Windows version successfully, so I know my images etc are fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the cfg.ini and ucl2.xml files from Windows to set up the Linux tool, and I'm fairly sure all is correct with these - indeed an 'strace' on mfgtoolcli shows them being opened successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board is detected on USB - lsusb shows:&lt;/P&gt;&lt;P&gt;Bus 001 Device 007: ID 15a2:0061 Freescale Semiconductor, Inc.&lt;/P&gt;&lt;P&gt;with dmesg containing:&lt;/P&gt;&lt;P&gt;[1195478.199348] usb 1-2: new high-speed USB device number 7 using xhci_hcd&lt;BR /&gt;[1195478.328352] usb 1-2: New USB device found, idVendor=15a2, idProduct=0061&lt;BR /&gt;[1195478.328358] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;BR /&gt;[1195478.328362] usb 1-2: Product: SE Blank RIGEL&lt;BR /&gt;[1195478.328365] usb 1-2: Manufacturer: Freescale SemiConductor Inc&lt;BR /&gt;[1195478.352579] usbcore: registered new interface driver usbhid&lt;BR /&gt;[1195478.352583] usbhid: USB HID core driver&lt;BR /&gt;[1195478.358096] hid-generic 0003:15A2:0061.0001: hiddev0,hidraw0: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank RIGEL] on usb-0000:00:14.0-2/input0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ucl2.xml file - in ./Profiles/myboard/OS Firmware-&amp;nbsp; has the LIST entry for 'LINUX-MMC', and a CFG section:&lt;/P&gt;&lt;P&gt;&amp;lt;CFG&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="BootStrap" dev="MX6D" vid="15A2" pid="0061"/&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="BootStrap" dev="MX6Q" vid="15A2" pid="0054"/&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="BootStrap" dev="MX6UL" vid="15A2" pid="007D"/&amp;gt;&lt;BR /&gt; &amp;lt;STATE name="Updater" dev="MSC" vid="066F" pid="37FF"/&amp;gt;&lt;BR /&gt; &amp;lt;/CFG&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I run mfgtoolcli (as sudo) - sudo ./mfgtoolcli -l "LINUX-MMC" -c "myboard" - there doesn't seem to be any comms with the board at all. The console shows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your Options:&lt;BR /&gt;&amp;nbsp; Ready to flash.&lt;/P&gt;&lt;P&gt;(and it sits there like that). The log file contains:&lt;/P&gt;&lt;P&gt;DLL version: 2.3.4&lt;BR /&gt;Tue Jan 23 13:08:47 2018&lt;BR /&gt; Start new logging&lt;BR /&gt;ModuleID[2] LevelID[10]: address from XML 0x10500000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x10800000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x11180000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x11200000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x10600000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x10540000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: address from XML 0x11100000&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running&lt;BR /&gt;ModuleID[2] LevelID[1]: new MxHidDeviceClass&lt;BR /&gt;ModuleID[2] LevelID[1]: new MxHidDeviceClass&lt;BR /&gt;ModuleID[2] LevelID[1]: new MxHidDeviceClass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on what's wrong, and/or how to debug further?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 13:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-1-15-2-1-0-ga-mfg-tools-not-finding-board/m-p/749040#M116531</guid>
      <dc:creator>colinhelliwell</dc:creator>
      <dc:date>2018-01-23T13:24:40Z</dc:date>
    </item>
    <item>
      <title>Re:  L4.1.15_2.1.0-ga_mfg_tools not finding board?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-1-15-2-1-0-ga-mfg-tools-not-finding-board/m-p/749041#M116532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been digging into this some more, using wireshark and strace. It looks like the app isn't even &lt;EM&gt;trying&lt;/EM&gt; to do anything on USB. I can see it examining all the USB devices (e.g. via /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/uevent), but can only assume that it's not spotting the board.&lt;/P&gt;&lt;P&gt;This 'file' contains:&lt;/P&gt;&lt;P&gt;DEVTYPE=usb_interface&lt;BR /&gt;PRODUCT=15a2/61/1&lt;BR /&gt;TYPE=0/0/0&lt;BR /&gt;INTERFACE=3/0/0&lt;BR /&gt;MODALIAS=usb:v15A2p0061d0001dc00dsc00dp00ic03isc00ip00in00&lt;/P&gt;&lt;P&gt;- note, no 'DRIVER' field. Could this be the reason?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In parallel with trying the official tool, I've also been trying the version from &lt;A class="link-titled" href="https://github.com/codeauroraforum/mfgtools" title="https://github.com/codeauroraforum/mfgtools"&gt;GitHub - codeauroraforum/mfgtools: Freescale/NXP I.MX Chip image deploy tools.&lt;/A&gt;&amp;nbsp;&amp;nbsp;(on the same hardware). This gets as far as trying to read/write on the USB but still without success. I don't know how robust this version is either, but at least I can try digging into the source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the source available for the official version? (And I'd also like to build a 32-bit version anyway)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 13:41:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-1-15-2-1-0-ga-mfg-tools-not-finding-board/m-p/749041#M116532</guid>
      <dc:creator>colinhelliwell</dc:creator>
      <dc:date>2018-01-24T13:41:39Z</dc:date>
    </item>
    <item>
      <title>Re:  L4.1.15_2.1.0-ga_mfg_tools not finding board?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-1-15-2-1-0-ga-mfg-tools-not-finding-board/m-p/749042#M116533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the end, I've given up on the NXP Linux MfgTool (both the NXP binary download and the github source repo), and instead migrated to imx_usb_loader + utp_com (&lt;A href="https://community.nxp.com/thread/441563"&gt;https://community.nxp.com/thread/441563&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;It took a bit of figuring out the downloading and flashing commands (especially when my SOM manufacturer - KaRo - have done their own u-boot with their own way of writing the production u-boot!), but I got USB comms without any problem, and the two apps seem cleanly-written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 13:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-1-15-2-1-0-ga-mfg-tools-not-finding-board/m-p/749042#M116533</guid>
      <dc:creator>colinhelliwell</dc:creator>
      <dc:date>2018-01-27T13:59:20Z</dc:date>
    </item>
  </channel>
</rss>

