<?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: MFGTools with imx6sll-evk in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776026#M120496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you use evk board, you can choose evk, for example, if you use EMMC, you can choose "mfgtool2-yocto-mx-evk-emmc.vbs"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2018 09:14:11 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2018-05-29T09:14:11Z</dc:date>
    <item>
      <title>MFGTools with imx6sll-evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776023#M120493</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 am having troubles using MFGTools for an i.MX6sll EVK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Context:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two eval board :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IMX6SLL EVK REV A1&lt;/LI&gt;&lt;LI&gt;IMX6SLL EVK REV A&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;L4.1.15_2.1.0-ga_mfg-tools.tar.gz from NXP Website on Windows 10 pro&lt;/LI&gt;&lt;LI&gt;L4.9.11_1.0.0-ga_mfg-tools.tar.gz from NXP Website on Windows 10 pro&lt;/LI&gt;&lt;LI&gt;Mfgtools built from source code : &lt;A class="link-titled" href="https://github.com/codeauroraforum/mfgtools.git" title="https://github.com/codeauroraforum/mfgtools.git"&gt;GitHub - codeauroraforum/mfgtools: Freescale/NXP I.MX Chip image deploy tools.&lt;/A&gt; on Linux&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Windows binaries does not works inside a VM (crash when the USB device is plug), so I used a physical machine.&lt;/P&gt;&lt;P&gt;On Linux, with a binary built from Git, I needed to patch MfgToolLib/DeviceManager.cpp to correct a segfault in DevChange_callback() as g_devClasses[DeviceClass::DeviceTypeMsc] is not allocated but used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;The problem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running mfgtools.exe, the right board is detected and I can "start" update. There is "Loading U-boot" displayed and nothing happen. The log seems normal and ends with :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is C:\...\firmware\u-boot-imx6sllevk_sd.imx&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;On Linux, same behavior but I got more information :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is .../firmware/u-boot-imx6sllevk_sd.imx&lt;BR /&gt;ModuleID[2] LevelID[1]: RunPlugIn(): TransData(0x877FF400, 0x5FC00,0x6B933010) failed.&lt;BR /&gt;ModuleID[2] LevelID[1]: PortMgrDlg(0)--MxHidDevice--Command Boot excute failed&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As I am able to debug on Linux, I checked that :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;RunDCD() succeed in MxHidDevice::RunPlugIn&lt;/LI&gt;&lt;LI&gt;In TransData(), the SendCmd() for ROM_KERNEL_CMD_WR_FILE succeed&lt;/LI&gt;&lt;LI&gt;SendData() fails because libusb_control_transfer() fails in Write() with values : ret=-7, size=1025&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspected DCD data does not works for the i.MX6SLL-EVL REVA, so I tried :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;u-boot-imx6sllevk_sd.imx&lt;/LI&gt;&lt;LI&gt;u-boot-imx6sllevk_epdc.imx&lt;/LI&gt;&lt;LI&gt;u-boot-mfgtool-2017.03-r0.imx&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you test MFGTools with the EVK ? Have you experienced a similar problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 12:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776023#M120493</guid>
      <dc:creator>vincentdehors</dc:creator>
      <dc:date>2018-05-22T12:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: MFGTools with imx6sll-evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776024#M120494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you use mfgtool on windows10, which .vbs file do you use? pls check if you use correct file for your board&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 08:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776024#M120494</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2018-05-28T08:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: MFGTools with imx6sll-evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776025#M120495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used MfgTools.exe directly with the provided cfg.ini et ucl2.xml. As the program tries to send the right u-boot.imx, I assumed the configuration is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can try launching a .vbs file, but I don't know which one. There is no "*mx6sll-evk*" in the archive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 08:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776025#M120495</guid>
      <dc:creator>vincentdehors</dc:creator>
      <dc:date>2018-05-28T08:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: MFGTools with imx6sll-evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776026#M120496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you use evk board, you can choose evk, for example, if you use EMMC, you can choose "mfgtool2-yocto-mx-evk-emmc.vbs"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 09:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776026#M120496</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2018-05-29T09:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: MFGTools with imx6sll-evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776027#M120497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find out that I selected wrong boot_mode (BOOT_MODE[1:0]=11 =&amp;gt; Reserved) but this was the only way to trigger the Serial Download mode (in other mode, I don't see USB device on Windows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set boot_mode to 01 (Serial Downloader) and I have a working U-boot on SD1, U-boot is executed and USB device is not seen in MFGTools. If I remove the card, this seems to work (but our future board will have something on mmc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know why selecting "Serial Download" is not working ? I need an hardware switch to force this mode (not using fuses, recovery mode, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if I set boot_mode to 10 (internal boot) and I configure to boot from SD3 or eMMC, the board boot from SD1 if there is something on SD1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 09:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MFGTools-with-imx6sll-evk/m-p/776027#M120497</guid>
      <dc:creator>vincentdehors</dc:creator>
      <dc:date>2018-05-31T09:26:59Z</dc:date>
    </item>
  </channel>
</rss>

