<?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のトピックimx6 flashing sparse image using uuu</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-flashing-sparse-image-using-uuu/m-p/1585362#M200390</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Working on an imx6ull based board.&lt;/P&gt;&lt;P&gt;We are creating a custom image in yocto where we have a rather large but empty partition (ext4 filesystem created in this partition but no data).&lt;/P&gt;&lt;P&gt;Downloading the resulting image takes about 10 minutes but we need to reduce this time.&lt;/P&gt;&lt;P&gt;So far we have used:&lt;BR /&gt;uuu -b emmc_all &amp;lt;path to u-boot&amp;gt; &amp;lt;path to .wic.bz2 file&amp;gt;/*&lt;/P&gt;&lt;P&gt;Looking at the the decompressed .wic file it is about 3.6 G but most of this should be zeros/empty space.&lt;/P&gt;&lt;P&gt;I think one can draw this conclusion also looking at the generated rootfs.wic.bmap-file as it states:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Image size in bytes: 3.5 GiB --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;ImageSize&amp;gt; 3790602240 &amp;lt;/ImageSize&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Size of a block in bytes --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;BlockSize&amp;gt; 4096 &amp;lt;/BlockSize&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Count of blocks in the image file --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;BlocksCount&amp;gt; 925440 &amp;lt;/BlocksCount&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Count of mapped blocks: 514.2 MiB or 14.2% --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;MappedBlocksCount&amp;gt; 131631 &amp;lt;/MappedBlocksCount&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Also tried to convert the .wic file using android's img2simg.&lt;BR /&gt;When trying the resulting file using the inbuild "emmc_all" script the bootloader started (booting from bootpartition?) but couldn't find a partition table.&lt;/P&gt;&lt;P&gt;Have also made various attempts using a custom uuu-script based on the "emmc_all" inbuilt scipt.&lt;/P&gt;&lt;P&gt;Is there some way to do a "sparse flashing" using uuu?&lt;BR /&gt;And could someone point me to how to do this?&lt;/P&gt;&lt;P&gt;thanks,&lt;BR /&gt;Mårten&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 07:13:19 GMT</pubDate>
    <dc:creator>maos</dc:creator>
    <dc:date>2023-01-20T07:13:19Z</dc:date>
    <item>
      <title>imx6 flashing sparse image using uuu</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-flashing-sparse-image-using-uuu/m-p/1585362#M200390</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Working on an imx6ull based board.&lt;/P&gt;&lt;P&gt;We are creating a custom image in yocto where we have a rather large but empty partition (ext4 filesystem created in this partition but no data).&lt;/P&gt;&lt;P&gt;Downloading the resulting image takes about 10 minutes but we need to reduce this time.&lt;/P&gt;&lt;P&gt;So far we have used:&lt;BR /&gt;uuu -b emmc_all &amp;lt;path to u-boot&amp;gt; &amp;lt;path to .wic.bz2 file&amp;gt;/*&lt;/P&gt;&lt;P&gt;Looking at the the decompressed .wic file it is about 3.6 G but most of this should be zeros/empty space.&lt;/P&gt;&lt;P&gt;I think one can draw this conclusion also looking at the generated rootfs.wic.bmap-file as it states:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Image size in bytes: 3.5 GiB --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;ImageSize&amp;gt; 3790602240 &amp;lt;/ImageSize&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Size of a block in bytes --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;BlockSize&amp;gt; 4096 &amp;lt;/BlockSize&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Count of blocks in the image file --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;BlocksCount&amp;gt; 925440 &amp;lt;/BlocksCount&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;!-- Count of mapped blocks: 514.2 MiB or 14.2% --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;MappedBlocksCount&amp;gt; 131631 &amp;lt;/MappedBlocksCount&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Also tried to convert the .wic file using android's img2simg.&lt;BR /&gt;When trying the resulting file using the inbuild "emmc_all" script the bootloader started (booting from bootpartition?) but couldn't find a partition table.&lt;/P&gt;&lt;P&gt;Have also made various attempts using a custom uuu-script based on the "emmc_all" inbuilt scipt.&lt;/P&gt;&lt;P&gt;Is there some way to do a "sparse flashing" using uuu?&lt;BR /&gt;And could someone point me to how to do this?&lt;/P&gt;&lt;P&gt;thanks,&lt;BR /&gt;Mårten&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 07:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-flashing-sparse-image-using-uuu/m-p/1585362#M200390</guid>
      <dc:creator>maos</dc:creator>
      <dc:date>2023-01-20T07:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 flashing sparse image using uuu</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-flashing-sparse-image-using-uuu/m-p/1586207#M200465</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;A couple of tips that can reduce the time of flashing would be:&lt;BR /&gt;&lt;BR /&gt;- Do not use wic.bz2 use standard .wic file, since the tool will decompress first and then start flashing.&lt;BR /&gt;- Try build one smaller image.&lt;BR /&gt;- Remove message from uart port. Debug message takes some time to transfer to uart port even when it's not connected.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 18:30:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-flashing-sparse-image-using-uuu/m-p/1586207#M200465</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2023-01-20T18:30:25Z</dc:date>
    </item>
  </channel>
</rss>

