<?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 mx6ul - uuu tool - flash empty eMMC without partition table in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/mx6ul-uuu-tool-flash-empty-eMMC-without-partition-table/m-p/1221294#M168432</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on a project where I use mx6ul processor.&amp;nbsp;&lt;BR /&gt;Currently I'm searching for a tool which is able to flash the eMMC (empty) via USB OTG (Serial download mode).&lt;/P&gt;&lt;P&gt;I have found the uuu tool fom NXP. But I have some troubles with it:&lt;/P&gt;&lt;P&gt;1) u-boot (mainline) does not support the "FB: ucmd" by default - a patch was necessary for this. Is this usual or have I something missed that some config of u-boot will enable the support of the "ucmd" feature for fastboot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) After I got the "ucmd" working the "FB: flash" command is making me crazy. It responds with "cannot find partition" - for sure there is no partition because the eMMC is empty. I thought it will burn the image file onto eMMC like if I would do this with "dd" tool at Linux and a SD-card. But it doesn't seem to be the same ...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Especially the command&lt;BR /&gt;"FB: flash -raw2sparse all &amp;lt;my_image&amp;gt;.wic"&lt;BR /&gt;seems to cause some troubles. The "all" argument is not understandable for me.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can someone explain me, how I can burn an image to an empty eMMC with the uuu tool on imx6ul?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) uuu bootloader / uuu -b emmc bootloader --&amp;gt; The standard commands like they are described at uuu.pdf does not work (I use u-boot with SPL, may that is not supported by uuu). The SPL is loaded but as soon as it is up it restarts and loads SPL again ...&lt;/P&gt;&lt;P&gt;Script used to load the SPL and u-boot to the mx6ul:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;uuu_version 1.2.39&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SDP: boot -f SPL&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: delay 1000&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: write -f u-boot.img&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: jump&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: done&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As soon as u-boot is up the fastboot is enabled by "fastboot 0"&lt;/P&gt;&lt;P&gt;Script used to burn the eMMC:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;uuu_version 1.2.39&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FB: ucmd setenv fastboot_dev mmc&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd setenv mmcdev ${emmc_dev}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd mmc dev ${emmc_dev}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: flash -raw2sparse all myimage.wic&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: flash bootloader u-boot-with-spl.imx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: Done&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The script stops at the line with -raw2sparse with "cannot find partition"&lt;/P&gt;&lt;P&gt;I would be very glad if someone could give me some useful hints!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 14:40:19 GMT</pubDate>
    <dc:creator>rsm4</dc:creator>
    <dc:date>2021-01-26T14:40:19Z</dc:date>
    <item>
      <title>mx6ul - uuu tool - flash empty eMMC without partition table</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6ul-uuu-tool-flash-empty-eMMC-without-partition-table/m-p/1221294#M168432</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on a project where I use mx6ul processor.&amp;nbsp;&lt;BR /&gt;Currently I'm searching for a tool which is able to flash the eMMC (empty) via USB OTG (Serial download mode).&lt;/P&gt;&lt;P&gt;I have found the uuu tool fom NXP. But I have some troubles with it:&lt;/P&gt;&lt;P&gt;1) u-boot (mainline) does not support the "FB: ucmd" by default - a patch was necessary for this. Is this usual or have I something missed that some config of u-boot will enable the support of the "ucmd" feature for fastboot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) After I got the "ucmd" working the "FB: flash" command is making me crazy. It responds with "cannot find partition" - for sure there is no partition because the eMMC is empty. I thought it will burn the image file onto eMMC like if I would do this with "dd" tool at Linux and a SD-card. But it doesn't seem to be the same ...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Especially the command&lt;BR /&gt;"FB: flash -raw2sparse all &amp;lt;my_image&amp;gt;.wic"&lt;BR /&gt;seems to cause some troubles. The "all" argument is not understandable for me.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can someone explain me, how I can burn an image to an empty eMMC with the uuu tool on imx6ul?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) uuu bootloader / uuu -b emmc bootloader --&amp;gt; The standard commands like they are described at uuu.pdf does not work (I use u-boot with SPL, may that is not supported by uuu). The SPL is loaded but as soon as it is up it restarts and loads SPL again ...&lt;/P&gt;&lt;P&gt;Script used to load the SPL and u-boot to the mx6ul:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;uuu_version 1.2.39&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SDP: boot -f SPL&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: delay 1000&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: write -f u-boot.img&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: jump&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SDPV: done&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As soon as u-boot is up the fastboot is enabled by "fastboot 0"&lt;/P&gt;&lt;P&gt;Script used to burn the eMMC:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;uuu_version 1.2.39&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FB: ucmd setenv fastboot_dev mmc&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd setenv mmcdev ${emmc_dev}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd mmc dev ${emmc_dev}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: flash -raw2sparse all myimage.wic&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: flash bootloader u-boot-with-spl.imx&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FB: Done&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The script stops at the line with -raw2sparse with "cannot find partition"&lt;/P&gt;&lt;P&gt;I would be very glad if someone could give me some useful hints!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 14:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6ul-uuu-tool-flash-empty-eMMC-without-partition-table/m-p/1221294#M168432</guid>
      <dc:creator>rsm4</dc:creator>
      <dc:date>2021-01-26T14:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: mx6ul - uuu tool - flash empty eMMC without partition table</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6ul-uuu-tool-flash-empty-eMMC-without-partition-table/m-p/1222386#M168552</link>
      <description>&lt;P&gt;Hi rsm4,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the Linux user manual, chapter 4.2 Universal update utility, it can give you an idea of what to do.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Please also consider update to a newer version of uuu, the one you are using is an old one, on the same document comes a link to the newer versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Israel H.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 05:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6ul-uuu-tool-flash-empty-eMMC-without-partition-table/m-p/1222386#M168552</guid>
      <dc:creator>nxf63675</dc:creator>
      <dc:date>2021-01-28T05:47:05Z</dc:date>
    </item>
  </channel>
</rss>

