<?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 [Android 6.0.1] shell script issue when format sdcard partition in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-6-0-1-shell-script-issue-when-format-sdcard-partition/m-p/480894#M76635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;We want to porting Android 6.0.1 and follow the Android_User's_Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Android_User's_Guidepage 17 (5.1.1), The script below can be used to partition a SD card as shown in the partition table above:&lt;/P&gt;&lt;P&gt;$ cd ~/myandroid/&lt;/P&gt;&lt;P&gt;$ sudo chmod +x ./device/fsl/common/tools/fsl-sdcard-partition.sh&lt;/P&gt;&lt;P&gt;$ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f &amp;lt;soc_name&amp;gt; /dev/sdX&lt;/P&gt;&lt;P&gt;# &amp;lt;soc_name&amp;gt; can be imx6q, imx6dl, imx6sl, imx6sx and imx7d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we run the "sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f &amp;lt;soc_name&amp;gt; /dev/sdX", but system will be hang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we just only used the MFG tools to format partition for SD card.&lt;/P&gt;&lt;P&gt;Because the logic 5(SYSTEM) need to the 800MB size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the correct shell script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 04:24:58 GMT</pubDate>
    <dc:creator>charleshuang</dc:creator>
    <dc:date>2016-04-27T04:24:58Z</dc:date>
    <item>
      <title>[Android 6.0.1] shell script issue when format sdcard partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-6-0-1-shell-script-issue-when-format-sdcard-partition/m-p/480894#M76635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;We want to porting Android 6.0.1 and follow the Android_User's_Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Android_User's_Guidepage 17 (5.1.1), The script below can be used to partition a SD card as shown in the partition table above:&lt;/P&gt;&lt;P&gt;$ cd ~/myandroid/&lt;/P&gt;&lt;P&gt;$ sudo chmod +x ./device/fsl/common/tools/fsl-sdcard-partition.sh&lt;/P&gt;&lt;P&gt;$ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f &amp;lt;soc_name&amp;gt; /dev/sdX&lt;/P&gt;&lt;P&gt;# &amp;lt;soc_name&amp;gt; can be imx6q, imx6dl, imx6sl, imx6sx and imx7d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we run the "sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f &amp;lt;soc_name&amp;gt; /dev/sdX", but system will be hang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we just only used the MFG tools to format partition for SD card.&lt;/P&gt;&lt;P&gt;Because the logic 5(SYSTEM) need to the 800MB size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the correct shell script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 04:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-6-0-1-shell-script-issue-when-format-sdcard-partition/m-p/480894#M76635</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2016-04-27T04:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: [Android 6.0.1] shell script issue when format sdcard partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-6-0-1-shell-script-issue-when-format-sdcard-partition/m-p/480895#M76636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to tell what exactly may go wrong with the script.&lt;/P&gt;&lt;P&gt;Please try to run fsl-sdcard-partition.sh script with debug option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ sudo bash -x device/fsl/common/tools/fsl-sdcard-partition.sh -f &amp;lt;soc_name&amp;gt; /dev/sdX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can locate at what point the script hangs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 09:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-6-0-1-shell-script-issue-when-format-sdcard-partition/m-p/480895#M76636</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-04-28T09:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: [Android 6.0.1] shell script issue when format sdcard partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-6-0-1-shell-script-issue-when-format-sdcard-partition/m-p/480896#M76637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor&lt;/P&gt;&lt;P&gt;I already fixed the issue.&lt;/P&gt;&lt;P&gt;We just only to modify shell script about partition size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clayder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 06:05:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-6-0-1-shell-script-issue-when-format-sdcard-partition/m-p/480896#M76637</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2016-05-31T06:05:36Z</dc:date>
    </item>
  </channel>
</rss>

