<?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: Using MFGtool(UUU) on IMX6DL in Linux in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-MFGtool-UUU-on-IMX6DL-in-Linux/m-p/1016195#M150353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It may be useful for you to take a look at this:&lt;BR /&gt; &lt;A href="https://github.com/NXPmicro/mfgtools/issues/46"&gt;https://github.com/NXPmicro/mfgtools/issues/46&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2020 00:43:11 GMT</pubDate>
    <dc:creator>AldoG</dc:creator>
    <dc:date>2020-03-27T00:43:11Z</dc:date>
    <item>
      <title>Using MFGtool(UUU) on IMX6DL in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-MFGtool-UUU-on-IMX6DL-in-Linux/m-p/1016194#M150352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am pretty new to this area so please bear with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an IMX6DL board and I want to flash a Linux image through USB.&lt;/P&gt;&lt;P&gt;Originally, I flash my image using a windows version of mfgtool. This takes in a "ucl2.xml" file which contains all the flashing and partitioning commands. This works but I am trying to transition into using Linux to do everything.&lt;/P&gt;&lt;P&gt;I downloaded UUU (&lt;A href="https://github.com/NXPmicro/mfgtools" title="https://github.com/NXPmicro/mfgtools"&gt;https://github.com/NXPmicro/mfgtools&lt;/A&gt;) on my ubuntu 16.04 machine. I found a table of direct conversion from ucl2.xml to UUU script (&lt;A href="https://github.com/NXPmicro/mfgtools/wiki/migration-from-ucl2.xml-to-uuu-script"&gt;HERE&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the conversion table, I managed to convert the first few lines from:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;CMD state="BootStrap" type="boot" body="BootStrap" file ="mfg/u-boot.imx" ifdev="MX6D"&amp;gt;Loading U-boot&amp;lt;/CMD&amp;gt;&lt;BR /&gt;&amp;lt;CMD state="BootStrap" type="load" file="mfg/zImage" address="0x12000000"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6D"&amp;gt;Loading Kernel.&amp;lt;/CMD&amp;gt;&lt;BR /&gt;&amp;lt;CMD state="BootStrap" type="load" file="mfg/paladin-mfgtool-initramfs" address="0x12C00000"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6D"&amp;gt;Loading Initramfs.&amp;lt;/CMD&amp;gt;&lt;BR /&gt;&amp;lt;CMD state="BootStrap" type="load" file="mfg/imx6dl-custom.dtb" address="0x18000000"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6D"&amp;gt;Loading device tree.&amp;lt;/CMD&amp;gt;&lt;BR /&gt;&amp;lt;CMD state="BootStrap" type="jump" &amp;gt;Program eFuses and jumping to OS image.&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To (uuu script):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;uuu_version 1.2.39&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# flash u-boot&lt;BR /&gt;SDP: boot -f mfg/u-boot.imx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# flash initramfs&lt;BR /&gt;FB: ucmd setenv fastboot_buffer 0x12C00000&lt;BR /&gt;FB: download -f mfg/my-mfgtool-initramfs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# flash device tree blob&lt;BR /&gt;FB: ucmd setenv fastboot_buffer 0x18000000&lt;BR /&gt;FB: download -f mfg/imx6dl-custom.dtb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# flash kernel&lt;BR /&gt;FB: ucmd setenv fastboot_buffer 0x12000000&lt;BR /&gt;FB: download -f mfg/zImage&lt;BR /&gt;FB: acmd booti 0x12000000 0x12C00000 0x18000000&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run my script, u-boot does get flashed but is left waiting for the device to reload:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.154-0-g47ddef5&lt;BR /&gt;Success 0 Failure 0 &lt;BR /&gt;1:34 1/ 1 [=================100%=================] SDP: boot -f mfg/u-boot.imx &lt;BR /&gt;Okay&lt;BR /&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.154-0-g47ddef5&lt;BR /&gt;Success 0 Failure 0 Wait for Known USB Device Appear...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, the device gets a "Bad Linux ARM zImage magic!" error and gets stuck&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;U-Boot 2016.11-rc3-svn1593 (Apr 19 2018 - 16:37:59 +0200)&lt;BR /&gt;CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)&lt;BR /&gt;CPU: Extended Commercial temperature grade (-20C to 105C) at 40C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Board: Paladin Alpha&lt;BR /&gt;I2C: ready&lt;BR /&gt;DRAM: 512 MiB&lt;BR /&gt;MMC: FSL_SDHC: 0&lt;BR /&gt;Using default environment&lt;BR /&gt;No panel detected: default to Hannstar-XGA&lt;BR /&gt;Display: Hannstar-XGA (1024x768)&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Net: No ethernet found.&lt;BR /&gt;Hit any key to stop autoboot: 0 &lt;BR /&gt;Programming bank 0 word 0x00000005 to 0x00005860...&lt;BR /&gt;Programming bank 0 word 0x00000006 to 0x00000010...&lt;BR /&gt;Bad Linux ARM zImage magic!&lt;BR /&gt;=&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried setting some required flags in my u-boot defconfig file to follow this wiki page (&lt;A href="https://github.com/NXPmicro/mfgtools/wiki/uboot-config-requirement"&gt;HERE&lt;/A&gt;) but still no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really stuck so any inputs would really be helpful (perhaps a slightly different approach?).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 12:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-MFGtool-UUU-on-IMX6DL-in-Linux/m-p/1016194#M150352</guid>
      <dc:creator>angelo_gitb</dc:creator>
      <dc:date>2020-03-25T12:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using MFGtool(UUU) on IMX6DL in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-MFGtool-UUU-on-IMX6DL-in-Linux/m-p/1016195#M150353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It may be useful for you to take a look at this:&lt;BR /&gt; &lt;A href="https://github.com/NXPmicro/mfgtools/issues/46"&gt;https://github.com/NXPmicro/mfgtools/issues/46&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 00:43:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-MFGtool-UUU-on-IMX6DL-in-Linux/m-p/1016195#M150353</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2020-03-27T00:43:11Z</dc:date>
    </item>
  </channel>
</rss>

