<?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>i.MX ProcessorsのトピックRe: IMX8M UUU flashing questions</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-UUU-flashing-questions/m-p/931147#M139660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Hi&amp;nbsp; &lt;A _jive_internal="true" data-content-finding="Community" data-userid="291100" data-username="clement22" href="https://community.nxp.com/people/clement22"&gt;Clement Name&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Please find my answers as per below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;1)Yes, &lt;STRONG&gt;SDP: boot -f _flash.bin&lt;/STRONG&gt; command will first flash the bootloader in RAM only.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;2) &lt;STRONG&gt;${emmc_dev}&lt;/STRONG&gt; is eMMC flash device number which is defined in config file of your board in u-boot source. For i.Mx8M Mini board is defined at &lt;STRONG&gt;"&amp;lt;YOCTO_BUILD&amp;gt;/tmp/work/imx..-poky-linux/u-boot-imx/&amp;lt;u-boot-version&amp;gt;/git/include/configs/imx8mm_evk.h". &lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;3) Yes, the .sdcard image is flashed via uboot through Fastboot command. (FB: flash -raw2sparse all_rootfs.sdcard).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;The other ways to directly flash the .sdcard image.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Flash whole sdcard image using dd command &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;$ sudo dd if=&amp;lt;SDCard image&amp;gt; of=/dev/sdx bs=1k seek=33 conv=fsync&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (offset is 33 - for i.MX 8QuadMax A0, i.MX 8QuadXPlus A0, i.MX 8M Quad, and i.MX 8M Mini)&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Using uuu command&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;$ sudo ./uuu &amp;lt;image.zip file&amp;gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Radhika Somaiya.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2019 08:54:20 GMT</pubDate>
    <dc:creator>radhikasomaiya</dc:creator>
    <dc:date>2019-07-12T08:54:20Z</dc:date>
    <item>
      <title>IMX8M UUU flashing questions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-UUU-flashing-questions/m-p/931145#M139658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the imx8m mini evaluation kit and I have some questions about the flashing procedure (for eMMC).&lt;/P&gt;&lt;P&gt;I have difficulties to understand how the UUU tool works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the YOCTO BSP imx-4.14.98-2.0.0_ga and I'm able to build an image for the eMMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cloned the last version of the UUU tool and I used the script "emmc_burn_all.lst" to load my YOCTO image:&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/NXPmicro/mfgtools/blob/master/uuu/emmc_burn_all.lst" title="https://github.com/NXPmicro/mfgtools/blob/master/uuu/emmc_burn_all.lst"&gt;mfgtools/emmc_burn_all.lst at master · NXPmicro/mfgtools · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I edited the script to use 2 files from my deploy folder:&lt;BR /&gt;- imx-boot-imx8mmevk-emmc.bin&lt;BR /&gt;- core-image-base-imx8mmevk.sdcard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to work but I don't understand what the script does:&lt;BR /&gt;1) It starts by loading the bootloader with the SDP command.&lt;/P&gt;&lt;P&gt;Does it load it in RAM only ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2) The FB command is used to configure uboot.&lt;/P&gt;&lt;P&gt;A parameter ${emmc_dev} is passed to uboot, do you know where is comes from ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) The FB command is used to flash the .sdcard image: "FB: flash -raw2sparse all_rootfs.sdcard"&lt;/P&gt;&lt;P&gt;Does it mean the .sdcard image is flashed via uboot ?&lt;/P&gt;&lt;P&gt;Isn't it possible to directly flash the sdcard image (not going through uboot) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at the 2 docs below but was not able to find the details I'm looking for&lt;BR /&gt;- the wiki documentation&lt;BR /&gt;- PDF file &lt;A href="https://community.nxp.com/docs/DOC-341877" target="test_blank"&gt;https://community.nxp.com/docs/DOC-341877&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know where I could find these informations ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 16:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-UUU-flashing-questions/m-p/931145#M139658</guid>
      <dc:creator>clement22</dc:creator>
      <dc:date>2019-07-02T16:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M UUU flashing questions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-UUU-flashing-questions/m-p/931146#M139659</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;Please check my answers below, they are based on the documentation UUU.pdf that you can find here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/NXPmicro/mfgtools/releases/download/uuu_1.2.135/UUU.pdf"&gt;https://github.com/NXPmicro/mfgtools/releases/download/uuu_1.2.135/UUU.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.- Yes, it does, it will load u-boot to RAM, then it will use android fastboot protocol trough u-boot to flash the target memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.- The variable emmc_dev it represents the eMMC device number, you can check this in the section 5.5 FB: Android fastboot protocol of the document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.-As I said before in 1, UUU uses the android fastboot protocol and trough u-boot, flash the device.&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;BR /&gt; Aldo.&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 16:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-UUU-flashing-questions/m-p/931146#M139659</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2019-07-11T16:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M UUU flashing questions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-UUU-flashing-questions/m-p/931147#M139660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Hi&amp;nbsp; &lt;A _jive_internal="true" data-content-finding="Community" data-userid="291100" data-username="clement22" href="https://community.nxp.com/people/clement22"&gt;Clement Name&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Please find my answers as per below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;1)Yes, &lt;STRONG&gt;SDP: boot -f _flash.bin&lt;/STRONG&gt; command will first flash the bootloader in RAM only.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;2) &lt;STRONG&gt;${emmc_dev}&lt;/STRONG&gt; is eMMC flash device number which is defined in config file of your board in u-boot source. For i.Mx8M Mini board is defined at &lt;STRONG&gt;"&amp;lt;YOCTO_BUILD&amp;gt;/tmp/work/imx..-poky-linux/u-boot-imx/&amp;lt;u-boot-version&amp;gt;/git/include/configs/imx8mm_evk.h". &lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;3) Yes, the .sdcard image is flashed via uboot through Fastboot command. (FB: flash -raw2sparse all_rootfs.sdcard).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;The other ways to directly flash the .sdcard image.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Flash whole sdcard image using dd command &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;$ sudo dd if=&amp;lt;SDCard image&amp;gt; of=/dev/sdx bs=1k seek=33 conv=fsync&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (offset is 33 - for i.MX 8QuadMax A0, i.MX 8QuadXPlus A0, i.MX 8M Quad, and i.MX 8M Mini)&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Using uuu command&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;$ sudo ./uuu &amp;lt;image.zip file&amp;gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Radhika Somaiya.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 08:54:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-UUU-flashing-questions/m-p/931147#M139660</guid>
      <dc:creator>radhikasomaiya</dc:creator>
      <dc:date>2019-07-12T08:54:20Z</dc:date>
    </item>
  </channel>
</rss>

