<?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: How to resize /data partition after download userdata.img</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646907#M98821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not aware of existing commands available for resizing the partition size using the manufacturing tool. I would recommend trying editing the mksdcard-android script instead. The eMMC profile of the manufacturing tool calls this script for creating the partitions inside the eMMC card so that should do the trick although I haven't tried it myself.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2017 17:57:59 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2017-02-28T17:57:59Z</dc:date>
    <item>
      <title>How to resize /data partition after download userdata.img</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646904#M98818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I had refer&amp;nbsp;&lt;A href="https://community.nxp.com/thread/339351"&gt;How to generate userdata.img and flashing into eMMC?&lt;/A&gt;&amp;nbsp;via MFG tool. But after that the data partition size is equal to "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BOARD_USERDATAIMAGE_PARTITION_SIZE", It's&amp;nbsp;meas i can't use whole emmc. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;For example, my emmc size is 16GB and I set image size on BoardConfigCommon.mk:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;# 350 MB&lt;BR /&gt;BOARD_SYSTEMIMAGE_PARTITION_SIZE := 367001600&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;# 2GB&lt;BR /&gt;BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;after boot, i check my partition table the size of data partition is 2 GB, but actually we have more than 10 GB not allocate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;How to resize data partition after download userdata.img ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;David&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2017 09:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646904#M98818</guid>
      <dc:creator>david5icp</dc:creator>
      <dc:date>2017-02-18T09:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize /data partition after download userdata.img</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646905#M98819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way would be changing the size of this partitions from the BoardConfigCommon.mk and then creating the userdata.img again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second alternative would be resizing the userdata.img file prior to loading it on the eMMC. There are a couple of linux tools you may use like for example truncate which would look something like this:&lt;/P&gt;&lt;P&gt;$ truncate –s 10g userdata.img&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final alternative would be changing the actual partition size from the eMMC but I think this would be a bit more cumbersome and changing the actual .img file would make writing the eMMC again easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 18:05:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646905#M98819</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-02-20T18:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize /data partition after download userdata.img</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646906#M98820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="207647" data-username="gusarambula" href="https://community.nxp.com/people/gusarambula" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;gusarambula&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I can resize &amp;nbsp;userdata.img, but MFG tool seams reject any *.img large than &amp;nbsp;2GB or 3GB . &amp;nbsp;It's&amp;nbsp;possible to build-in resize &amp;nbsp;command (e2fsck &amp;nbsp;resize2fs) into MFG tool to auto adjust partition size ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;David Wu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 22:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646906#M98820</guid>
      <dc:creator>david5icp</dc:creator>
      <dc:date>2017-02-20T22:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize /data partition after download userdata.img</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646907#M98821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not aware of existing commands available for resizing the partition size using the manufacturing tool. I would recommend trying editing the mksdcard-android script instead. The eMMC profile of the manufacturing tool calls this script for creating the partitions inside the eMMC card so that should do the trick although I haven't tried it myself.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 17:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-data-partition-after-download-userdata-img/m-p/646907#M98821</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-02-28T17:57:59Z</dc:date>
    </item>
  </channel>
</rss>

