<?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: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401896#M59413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kursad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the boot switch to 00001100 and tried again and I got the same output as wehn I did it with the switches set to 11010110:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35412i05A54A55D446C5EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 22:33:26 GMT</pubDate>
    <dc:creator>jamespieterick</dc:creator>
    <dc:date>2015-11-17T22:33:26Z</dc:date>
    <item>
      <title>mfgtool gets stuck while loading Android 5.0 onto imx6 board based on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401876#M59393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I an working on loading android 5.0.0.1 Lollipop onto our custom board that is based upon the Sabresd reference design. One of the main differences between our design and the Sabre board is that we are using an Atmel maxTouch touchscreen controller connected through the host USB port instead of the max11801 touch sensor connected through i2c.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to load android onto our board using mfgtool, the download process appears to progress normally until it starts looping writing the following message over and over:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked through the Android source code and I believe that I found the place where this message originates: line 130 of file max11801_ts.c in directory .../kernel_imx/drivers/input/touchscreen. The above message appears to be printed when the max11801 touch screen fails to respond to an AUX_measurement command sent over the I2C bus. Since the max11801 is not present on our board it makes sense that there is no response. I have removed this file from my build but I am still seeing this problem. Obviously this message is coming from&amp;nbsp; either somewhere else or from a file that I still need to rebuild.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What else might I need to be rebuild so that the code is no longer attempting to communicate with the max11801?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have rebuilt and replaced all of the .img and .imx files tha are placed into the&amp;nbsp; ...\Profiles\Linux\OS Firmware\files\android\sabresd folder in the folder where mfgtool is located.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using mfgtool2-android-mx6q-sabresd-emmc-1.2g.vbs to start mfgtool. and I am attempting to load into emmc.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching a file with the debug output as well as a copy of the mfgtool log.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335935"&gt;mfgtoolDebugOut.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335935"&gt;MfgTool.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 22:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401876#M59393</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-10T22:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401877#M59394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mfg tools firmware is located in Linux\OS Firmware\firmware\&lt;/P&gt;&lt;P&gt;and these files should be rebuilt using description in attached&lt;/P&gt;&lt;P&gt;Yocto Guide sect.6.2 Manufacturing Tool, MFGTool.&lt;/P&gt;&lt;P&gt;Files in ...\Profiles\Linux\OS Firmware\files\android\sabresd&lt;/P&gt;&lt;P&gt;are for writing to media (like sd,emmc,nand).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&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>Wed, 11 Nov 2015 02:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401877#M59394</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-11T02:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401878#M59395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying that I need to set up the Yocto project build environment just to build mfgtool? You realize that I am working with Android 5.0 right? This seems like a really messy way to handle this. If this is true developers need to maintain two versions of the files that define the hardware configurations. One in the Yocto build environment and one in the Android build environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have to setup Yocto, I have a few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- What version of the Yocto project is needed to build a version of the mfgtool that is compatible with Android 5.0 on my custom board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Is there a porting guide for Yocto to guide me through the modifications that are required for making mfgtool compatible with my board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I don't understand why mfgtool would even care about the touch screen on the target unit. It does not use it. The fact that mfgtool can get stuck when failing to communicate with a device it is not going to use is indicative of a bug in my opinion. Mfgtool simply has no reason to call that code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 17:08:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401878#M59395</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-11T17:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401879#M59396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. version is described in p.3&amp;nbsp; Release Notes (attached), it is L3.10.53&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95333"&gt;Task #10 - How to create a custom layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 01:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401879#M59396</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-12T01:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401880#M59397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two kernels you need to replace. The mfgtool loads a stock kernel to the memory first. This stock kernel is used to write the real kernel to the flash device. It seems you only replaced the kernel that is to be written to the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, the stock kernel needs to have the support for the protocol the MFGTOOL is using. No, you don't need yocto to build this. You just need a compiler. You can use the pre-built yocto toolchain for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mfgtool's document folder has a "Manufacturing Tool V2 Linux or Android Firmware Development Guide V2.docx" file that explains the process. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 18:13:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401880#M59397</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-11-12T18:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401881#M59398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kursad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documents folder that is associated with the version of mfgtool that I have to download android 5.0 does not have "Manufacturing Tool V2 Linux or Android Firmware Development Guide V2.docx" in it. I did find a copy in a documents folder associated with the mfgtool that came with android 4.4.2.1. The problem is that when I look for information about building the mfgtool kernel, I find the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;H1&gt;How to Generate U-Boot and Kernel Image for MFG&lt;/H1&gt;&lt;P style="margin-top: 12.9pt; margin-bottom: 3.4pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;Please refer to the BSP User Guide, chapter Build Manufacturing Firmware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the wrong version of the document? If so where do I get a copy of the correct version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that said I still do not understand why I need to rebuild the mfgtool. The parts of my board that the mfgtool should care about are identical to the sabresd reference design. What's different is the touchscreen and the display.. Mfgtool uses neither of these. I have no trouble loading Android 4.4.2 onto my board with the version of mfgtool that comes with 4.4.2. When I attempt to load Android 5.0, the 5.0 version of mfgtool is attempting to communicate with the max11801 touch screen controller, failing and getting stuck in a apparent infinite loop. My opinion is that this is a bug. The mfgtool does not need the touchscreen to perform a download. It should not be trying to communicate with it and it definitely should not be getting stuck in an infinite loop when it can't communicate with the touchscreen controller. Is there a way for me to open a problem report against this tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My next question is this: Would the version of mfgtool that came with Android 4.4.2 work to download the Android 5.0 files? I realize that instead of .bin files the 5.0 load has .imx files. Can I just change the associated ucl.xml file? It seems like that would be a lot easier that figuring out how to fix and then build the 5.0 mfgtool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 22:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401881#M59398</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-12T22:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401882#M59399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes in general mfgtool that came with Android 4.4.2 should be able&lt;/P&gt;&lt;P&gt;to program the Android 5.0 files, with necessary ucl.xml modifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 01:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401882#M59399</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-13T01:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401883#M59400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;The mfgtool does not try to communicate with the touch controller. It's the kernel that the mfgtool loads that does this. The mfgtool follows a two step process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. It first loads a &lt;STRONG&gt;minimal u-boot and kernel&lt;/STRONG&gt; for your board. For SabreSD, our team has prepared a kernel for this purppose. For your board, you need to prepare one. This kernel can be mostly identical to your normal kernel, except it needs to include the FSL serial download protocol + initramfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This minimal kernel then downloads the Android images (which include the &lt;STRONG&gt;*real*&lt;/STRONG&gt; kernel that will ultimately run on your board). The minimal kernel then uses commands like dd, cp, fdisk, etc. to write the images onto the flash device on your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the mfgtool does not and cannot have a universal minimal kernel that will work on every board. The minimal kernel for SabreSD likely is not optimized for non-touchscreen operation so that's why it fails to work on your board. That said, if the 4.4.2 minimal kernel is working for you, you should be able to replace it with the one that ships with 5.0.0. Or as you asked, you can do the opposite. You can use the 4.4.2 downloader to download the 5.0.0 images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The first way (using 5.0.0 downloader) :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find these minimal kernel/device tree/u-boot files in the Profiles\Linux\OS Firmware\firmware directory. &lt;STRONG&gt;zImage&lt;/STRONG&gt; is the kernel file. The device tree file depends on the board and the configuration you are using. For example, &lt;STRONG&gt;zImage--3.10.53-r0-imx6q-sabresd-20150105054653.dtb&lt;/STRONG&gt; is the device tree for the quad/dual version of imx6, running on SabreSD. Please see the &lt;STRONG&gt;BootStrap&lt;/STRONG&gt; section of the profile you are using in ucl2.xml file for the file names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The second way (using the 4.4.2 downloader) :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I am pretty sure you really don't have to replace the u-boot.bin files to u-boot.imx files. All you need to replace is boot-*.img, system.img and recovery-*.img files. You can compare the "Updater" section of the profile you are using in ucl2.xml and see if any of the images are written differently, but I wouldn't expect so.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the long run, you have a couple of options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Keep using mfgtool, and create your own minimal kernel etc. &lt;/P&gt;&lt;P&gt;2. There is also an open source third party tool called imx_usb_loader if you are more comfortable with linux than Windows. This is not as comprehensive as the mfgtool, but the idea is the same. You load a binary (in their case, u-boot) to the memory using the download protocol. Then you use this binary to write the real images on to the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 14:19:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401883#M59400</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-11-13T14:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401884#M59401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried option 2 and I could not get it to work. I get as far as the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UTP: received command '$ echo 1 &amp;gt; /sys/block/mmcblk3boot0/force_ro'&lt;/P&gt;&lt;P&gt;UTP: executing "echo 1 &amp;gt; /sys/block/mmcblk3boot0/force_ro"&lt;/P&gt;&lt;P&gt;sh: can't create /sys/block/mmcblk3boot0/force_ro: nonexistent directory&lt;/P&gt;&lt;P&gt;UTP: sending Non-success to kernel for command $ echo 1 &amp;gt; /sys/block/mmcblk3boot0/force_ro.&lt;/P&gt;&lt;P&gt;utp_poll: exit with status 256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what the issue is with this; I tried adding some mkdir commands to create /sys/block/mmcblk3boot0 but the system would not let me create it. I am not sure what the issue is here. An ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 00:38:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401884#M59401</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-14T00:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401885#M59402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot create directories in the /sys folder. This is a special filesystem that holds information exported by the kernel. Here is one document that talks about it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.kernel.org/pub/linux/kernel/people/mochel/doc/papers/ols-2005/mochel.pdf" title="https://www.kernel.org/pub/linux/kernel/people/mochel/doc/papers/ols-2005/mochel.pdf"&gt;https://www.kernel.org/pub/linux/kernel/people/mochel/doc/papers/ols-2005/mochel.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your boot device? If it's not mmcblk3, then you need to modify the ucl2.xml file to reflect the boot device you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you just replaced the boot/system/recover img files, and if you are normally able to use the 4.4.2 mfgtool, this should not have happened. Either you inadvertently replaced another file or something on your board has changed. Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Start with a vanilla 4.4.2 mfgtool and load android 4.4.2 on your board. Make sure this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Still using the 4.4.2 mfgtool, replace the 3 img files in the &lt;STRONG&gt;Profiles\Linux\OS Firmware\files\android\&amp;lt;board name&amp;gt;&lt;/STRONG&gt; folder with the 5.0.0 versions for your board. Also replace u-boot-&amp;lt;board&amp;gt;.imx with the u-boot for your board. Make sure to save the originals, and the new ones are named exactly the same as the old ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this doesn't work and where it fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 21:22:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401885#M59402</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-11-14T21:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401886#M59403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kursad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to do step 1 without a problem. Mfgtool is able to load Android Kitkat onto my board successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then removed everythingt from ucl2.xml that did not appear to be involved in loading android onto the board. I reran mfgtool to verify that I did not break the download. Andoid 4.4 downloaded and ran successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I trimmed down the Android 5.0 version of the ucl2.xml file. I verified that I can use it to successfully download to the Sabre board. I am attaching both ucl2.xml files. I have been using a vbscript to call the mfgtool for 5.0 I am also attaching that file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I attempted step 2 I did the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I replace files boot.mg, ramdisk.img, recovery.img and system.img with the files from my 5.0 build.&lt;/P&gt;&lt;P&gt;- I replaced uboot-6q.bin with u-boot-imx6q.imx.&lt;/P&gt;&lt;P&gt;- I modified ucl2.xml so that the reference to uboot-6q.bin is replaced with a reference to uboot-imx6.imx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mfgtool appears to run successfully with this setup but when I try to actually run Android on my board it does not even start printing on the debug port. I suspect that the problem is related to the fact that the ucl2.xml file for Lollipop used mccblk3 and my modified one uses mmcblk0. I tried replacing all of the references to mccblk0 with references to mmcblk3 as well as replacing references to mmc0 with mmc3 but that did not help. I am not sure at this point what I should try next. Do you have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 00:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401886#M59403</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-17T00:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401887#M59404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;mmcblk number is just how the kernel iterates the interfaces. If you have a single MMC/SD device, then only writing to only one will work. If you have multiple, you need to choose the correct one obviously. Do you have more than one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have only a single interface and the mfgtool succeeded, the problem is with the u-boot image you are writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing you did this, but please don't forget to set the boot mode back to emmc from serial download mode. If you have done this, can you attach the USB cable to the OTG port and see if the unit goes back into the serial download mode even if it's set to "boot from emmc?" If that's the case, that means the bootrom couldn't find a valid boot image or device. If not, it was able to locate u-boot on the correct device, but u-boot is faulty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:08:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401887#M59404</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-11-17T16:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401888#M59405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kursad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am seeing the symptom that you describe where the mfgtool sees the unit as an HID-compliant device when the boot switches are set to eMMC boot mode.. So it looks like the bootrom couldn't find a valid image. My suspicion is that I am downloading the boot image to the wrong location. Do you have any suggestions as to how I correct this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401888#M59405</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-17T16:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401889#M59406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you re-run the process using the 4.4.2 mfgtool + 5.0 images and send me these two files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The board's console log during the whole process.&lt;/P&gt;&lt;P&gt;* mfgtool.log file that's generated in the mfgtool's root directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can look at these and see if I can spot anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:37:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401889#M59406</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-11-17T16:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401890#M59407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krysad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the logs that you've asked for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:59:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401890#M59407</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-17T16:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401891#M59408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kursad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just performed the same exercise with the 5.0 version of Mfgtool and the Sabre board. In this case I am using the ucl2.xml file that I attached above as ucl2-Lollipop.xml. I am attaching the the log files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 17:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401891#M59408</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-17T17:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401892#M59409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kursad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that I did not attach the ucl2.xml file that I am using with the 4.4.2 mfgtool. I thought that I had done that previously. I am attaching it now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 17:23:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401892#M59409</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-17T17:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401893#M59410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logs look OK. Your board has only one mmc device, so all mmc writes are correct. There are some differences in the partition map of 4.4.2 and 5.0, but these shouldn't cause a boot failure as far as I can tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's try the following. I'm attaching a boot tester program. After you flash your 5.0 image with the 4.4.2 tool, set the boot mode to eMMC and connect the USB cable to your PC. As you said it won't boot and will go to the serial download mode. Do not launch the mfgtool. Instead, using the utility attached, from a DOS window, type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boot_Tester.exe -t mx6x -df test.inc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;This will connect to the board and will read the boot log. It should tell us which device it's trying to boot from and why the boot process failed. Please copy paste that output and attach it here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Meanwhile I'll look into the logs you attached some more and see if I can see any issues.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 18:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401893#M59410</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-11-17T18:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401894#M59411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kursad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I ran the tool this is what was printed to the command prompt window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft Windows [Version 6.1.7601]&lt;/P&gt;&lt;P&gt;Copyright (c) 2009 Microsoft Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\admin&amp;gt;cd C:\Users\admin\Desktop\chess\Mfgtools-Rel-13.01.00_ER_MX6Q_UPD&lt;/P&gt;&lt;P&gt;ATER_test3\Boot Tester&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\admin\Desktop\chess\Mfgtools-Rel-13.01.00_ER_MX6Q_UPDATER_test3\Boot Te&lt;/P&gt;&lt;P&gt;ster&amp;gt;Boot_Tester.exe -t mx6x -df test.inc&lt;/P&gt;&lt;P&gt;MX6DQ opened.&lt;/P&gt;&lt;P&gt;HAB_TYPE: DEVELOP&lt;/P&gt;&lt;P&gt;Image loading...&lt;/P&gt;&lt;P&gt;download Image to IRAM OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re-open MX6x device.&lt;/P&gt;&lt;P&gt;Running BOOT DEBUG., press "ESC" key to exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 20:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401894#M59411</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-11-17T20:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: mfgtool gets stuck while loading Android 5.0 onto imx6 board base on SabreSD.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401895#M59412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't show the boot log. Can you put the board in serial download mode and see if you can see the boot log that way? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should see something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34302iBEBFAEEAC70CDE06/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 21:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfgtool-gets-stuck-while-loading-Android-5-0-onto-imx6-board/m-p/401895#M59412</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-11-17T21:38:48Z</dc:date>
    </item>
  </channel>
</rss>

