<?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: erase boot partition from eMMC from u-boot cmd line</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396572#M58148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Igor,&amp;nbsp; I've posted this to the U-Boot mailing list.&amp;nbsp; I will post an update here once I get things resolved or otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 11:49:17 GMT</pubDate>
    <dc:creator>cbrust</dc:creator>
    <dc:date>2015-10-16T11:49:17Z</dc:date>
    <item>
      <title>erase boot partition from eMMC from u-boot cmd line</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396568#M58144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need the ability to erase the boot partition and partition information from eMMC from the U-Boot command line.&amp;nbsp; There is a command in U-Boot to do this which fails when executed on the i.MX6 SaberSD Board.&amp;nbsp; That command is "mmc erase"&amp;nbsp; When this command is issued the following is printed on the U-Boot console. Could someone give me an alternative method to erasing eMMC or tell me how to fix the usage of this command?&amp;nbsp; I can do this from a booted Linux but this is not an option.&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc erase 0 0x400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMC erase: dev # 2, block # 0, count 1024 ... Timeout waiting for DAT0 to go high!&lt;/P&gt;&lt;P&gt;mmc erase failed&lt;/P&gt;&lt;P&gt;0 blocks erased: ERROR&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 12:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396568#M58144</guid>
      <dc:creator>cbrust</dc:creator>
      <dc:date>2015-10-14T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: erase boot partition from eMMC from u-boot cmd line</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396569#M58145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;probably wrong sd port was selected, one can try&lt;/P&gt;&lt;P&gt;to select it with mmc dev, mmc info, refer to sect.4.4.1.1 Downloading&lt;/P&gt;&lt;P&gt;an image to MMC/SD attached Linux Guide. Also one can write emmc&lt;/P&gt;&lt;P&gt;with mfg tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&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, 15 Oct 2015 01:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396569#M58145</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-10-15T01:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: erase boot partition from eMMC from u-boot cmd line</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396570#M58146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions, but I do have the correct device selected (mmc dev 2) and&amp;nbsp; I have successfully used the MFG Tool to write eMMC as you suggested.&amp;nbsp; The heart of the issue needing o scrub eMMC from U-Boot is because we have no jumpers or DIP switches on our custom board to select a boot mode (its hardwired to eMMC due to the application). I only used the i.MX6Q SabreSD Board as my example because our custom board is based upon that reference design. The bottom line is the U-Boot mmc erase command is failing and without being able to erase the eMMC boot partition the custom board still boots into U-Boot and will not go into serial download mode. Basically, its bricked unless we de-solder resistors to create an invalid boot mode and then put them back after reloading. Not a great option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a list of the U-Boot commands and the result of each.&lt;/P&gt;&lt;P&gt;----------------------------------------&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc list&lt;/P&gt;&lt;P&gt;FSL_SDHC: 0&lt;/P&gt;&lt;P&gt;FSL_SDHC: 1 (SD)&lt;/P&gt;&lt;P&gt;FSL_SDHC: 2 (eMMC)&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc dev 2&lt;/P&gt;&lt;P&gt;switch to partitions #0, OK&lt;/P&gt;&lt;P&gt;mmc2(part 0) is current device&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc info&lt;/P&gt;&lt;P&gt;Device: FSL_SDHC&lt;/P&gt;&lt;P&gt;Manufacturer ID: 45&lt;/P&gt;&lt;P&gt;OEM: 100&lt;/P&gt;&lt;P&gt;Name: SEM08&lt;/P&gt;&lt;P&gt;Tran Speed: 52000000&lt;/P&gt;&lt;P&gt;Rd Block Len: 512&lt;/P&gt;&lt;P&gt;MMC version 4.4.1&lt;/P&gt;&lt;P&gt;High Capacity: Yes&lt;/P&gt;&lt;P&gt;Capacity: 7.4 GiB&lt;/P&gt;&lt;P&gt;Bus Width: 8-bit&lt;/P&gt;&lt;P&gt;Erase Group Size: 512 KiB&lt;/P&gt;&lt;P&gt;HC WP Group Size: 16 MiB&lt;/P&gt;&lt;P&gt;User Capacity: 7.4 GiB WRREL&lt;/P&gt;&lt;P&gt;Boot Capacity: 2 MiB ENH&lt;/P&gt;&lt;P&gt;RPMB Capacity: 128 KiB ENH&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc erase 0 0x400&lt;/P&gt;&lt;P&gt;MMC erase: dev # 2, block # 0, count 1024 ... Timeout waiting for DAT0 to go high!&lt;/P&gt;&lt;P&gt;mmc erase failed&lt;/P&gt;&lt;P&gt;0 blocks erased: ERROR&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insight on this issue is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 10:57:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396570#M58146</guid>
      <dc:creator>cbrust</dc:creator>
      <dc:date>2015-10-15T10:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: erase boot partition from eMMC from u-boot cmd line</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396571#M58147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems uboot does not support operations with partitions,&lt;/P&gt;&lt;P&gt;suggest also post this on uboot mail list&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.denx.de/mailman/listinfo/u-boot" title="http://lists.denx.de/mailman/listinfo/u-boot"&gt;U-Boot Info Page&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396571#M58147</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-10-16T02:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: erase boot partition from eMMC from u-boot cmd line</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396572#M58148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Igor,&amp;nbsp; I've posted this to the U-Boot mailing list.&amp;nbsp; I will post an update here once I get things resolved or otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 11:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396572#M58148</guid>
      <dc:creator>cbrust</dc:creator>
      <dc:date>2015-10-16T11:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: erase boot partition from eMMC from u-boot cmd line</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396573#M58149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor, the link you provided returns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;403 Forbidden&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 17:34:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/erase-boot-partition-from-eMMC-from-u-boot-cmd-line/m-p/396573#M58149</guid>
      <dc:creator>ssurowinski</dc:creator>
      <dc:date>2019-09-24T17:34:10Z</dc:date>
    </item>
  </channel>
</rss>

