<?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 Re: imx6q, eMMC fast boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385798#M55843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your very kind support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i don't understand here, is that Freescale refers, inside 8.5.3.1 of iMX6q user manual, to an "eMMC Fast Boot" feature that i can't find in any of the Micron datasheets. Micron datasheet (TN-52-06, public) describes details of 2 boot modes, Boot Operation and Alternate Boot Operation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am supposing this "fast boot" mode match with the "boot ack" feature of micron datasheets. If so, this mode shouldn't cause any fast-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, another mistery is how to set ECSD[179] of the eMMC, since i am supposing this should be done from ROM bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 12:20:40 GMT</pubDate>
    <dc:creator>angelo_d</dc:creator>
    <dc:date>2015-04-17T12:20:40Z</dc:date>
    <item>
      <title>imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385794#M55839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am wandering what is the gain enabling, as section 8.5.3.1 of the user manual reports, the eMMC fast boot.&lt;/P&gt;&lt;P&gt;Also how can i measure this gain.&lt;/P&gt;&lt;P&gt;My application just load a minimal boot loader and then Linux, so i am not sure the fast boot can improve or&lt;/P&gt;&lt;P&gt;even decrease the boot performance comparing current default normal boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every suggestion is welcome.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385794#M55839</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-04-08T07:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385795#M55840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to links below it significantly improves boot time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-93619"&gt;Linux Fast Boot on i.MX6 Sabresd Board&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94738"&gt;Linux Fast Boot on i.MX6Q Board: Building Steps&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;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>Wed, 08 Apr 2015 10:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385795#M55840</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-04-08T10:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385796#M55841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Igor, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was asking about the imx6q "eMMC fast boot" option section 8.5.3.1 of the user manual reports.&lt;/P&gt;&lt;P&gt;It can be set with BOOT_CFG1[4]. I tried this, but have no boot anymore. Seems my eMMC (MTFC16GJDDQ-4M IT) is simply not supporting this mode. If you could confirm this would be nice so i can close this task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 14:48:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385796#M55841</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-04-14T14:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385797#M55842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eMMC MTFC16GJDDQ-4M datasheet is not publicly available,&lt;/P&gt;&lt;P&gt;in general one needs to verify that BOOT_CFG2[1] Boot Acknowledge and eMMC&lt;/P&gt;&lt;P&gt;ECSD[179] bit 6 should be set both to make device send this acknowledge during fast boot,&lt;/P&gt;&lt;P&gt;for booting from emmc one can look at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/306880" title="https://community.freescale.com/thread/306880"&gt;https://community.freescale.com/thread/306880&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eMMC fast boot, the bootloader&amp;nbsp; should be programmed to the specified boot partition.&lt;/P&gt;&lt;P&gt;MMC partitions are treated effectively as separate block devices on the same MMC card.&lt;/P&gt;&lt;P&gt;Boot partition access howto:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -To enable write access to /dev/mmcblkXbootY, disable the forced read-only access with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo 0 &amp;gt; /sys/block/mmcblkXbootY/force_ro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -To re-enable read-only access:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo 1 &amp;gt; /sys/block/mmcblkXbootY/force_ro&lt;/P&gt;&lt;P&gt;e.x:&lt;/P&gt;&lt;P&gt;root@freescale ~$ ls /dev/mmc*&lt;BR /&gt;/dev/mmcblk0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/mmcblk0boot0&amp;nbsp; /dev/mmcblk0boot1&amp;nbsp; /dev/mmcblk0p1&lt;BR /&gt;root@freescale ~$ ls /dev/mmc*&lt;/P&gt;&lt;P&gt;/dev/mmcblk0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/mmcblk0boot0&amp;nbsp; /dev/mmcblk0boot1&amp;nbsp; /dev/mmcblk0p1&lt;/P&gt;&lt;P&gt;there would be one boot partitions on mx6sl evk board.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mmcblk0boot0.&lt;/P&gt;&lt;P&gt;after run echo 0 &amp;gt;&amp;nbsp; /sys/block/mmcblk0boot0/force_ro, then dd cmd can be used to program the bootloader directly.&lt;/P&gt;&lt;P&gt;if want to enable eMMC fast boot, the boot_config must be set to 0x08:&lt;/P&gt;&lt;P&gt;echo 8 &amp;gt; /sys/devices/platform/sdhci-esdhc-imx.1/mmc_host/mmc1/mmc1:0001/boot_config&lt;/P&gt;&lt;P&gt;so the process is as follows:&lt;/P&gt;&lt;P&gt;echo 0 &amp;gt; /sys/block/mmcblk0boot0/force_ro&lt;/P&gt;&lt;P&gt;dd if=uboot.bin of=/dev/mmcblk0boot0 bs=512 seek=2 skip=2&lt;/P&gt;&lt;P&gt;echo 1 &amp;gt; /sys/block/mmcblk0boot0/force_ro&lt;/P&gt;&lt;P&gt;echo 8 &amp;gt; /sys/devices/platform/sdhci-esdhc-imx.1/mmc_host/mmc1/mmc1:0001/boot_config&lt;/P&gt;&lt;FIELDSET class="hidden parameters"&gt;&lt;LEGEND&gt;&lt;/LEGEND&gt;&lt;INPUT type="hidden" value="" /&gt; &lt;INPUT type="hidden" value="" /&gt; &lt;INPUT type="hidden" value="" /&gt; &lt;INPUT type="hidden" value="" /&gt; &lt;INPUT type="hidden" value="" /&gt;&lt;/FIELDSET&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>Tue, 14 Apr 2015 15:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385797#M55842</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-04-14T15:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385798#M55843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your very kind support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i don't understand here, is that Freescale refers, inside 8.5.3.1 of iMX6q user manual, to an "eMMC Fast Boot" feature that i can't find in any of the Micron datasheets. Micron datasheet (TN-52-06, public) describes details of 2 boot modes, Boot Operation and Alternate Boot Operation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am supposing this "fast boot" mode match with the "boot ack" feature of micron datasheets. If so, this mode shouldn't cause any fast-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, another mistery is how to set ECSD[179] of the eMMC, since i am supposing this should be done from ROM bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 12:20:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385798#M55843</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-04-17T12:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385799#M55844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hi Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this bit is nonvolatile, as described in Micron&lt;/P&gt;&lt;P&gt;tn2918.pdf Table 2: Boot Partition Enable: Extended CSD Register Byte 179,&lt;/P&gt;&lt;P&gt;imho one can find patches for programming on web, like below&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="https://github.com/beagleboard/meta-beagleboard/blob/master/common-bsp/recipes-bsp/u-boot/u-boot-denx/0014-mmc-Add-RSTN-enable-for-emmc.patch" title="https://github.com/beagleboard/meta-beagleboard/blob/master/common-bsp/recipes-bsp/u-boot/u-boot-denx/0014-mmc-Add-RSTN-enable-for-emmc.patch"&gt;https://github.com/beagleboard/meta-beagleboard/blob/master/common-bsp/recipes-bsp/u-boot/u-boot-denx/0014-mmc-Add-RSTN-enable-for-emmc.patch&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, 17 Apr 2015 12:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385799#M55844</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-04-17T12:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385800#M55845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks i will try as you say, but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can be completely wrong, but i see at least 2 probable errors in the i.mx 6D/6Q Processor Reference Manual (datasheet):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) both You and the datasheet say that BOOT_CFG2[1] must be set (so for me set is level 1) to enable Boot Acknowledge.&lt;/P&gt;&lt;P&gt;But datasheet reports "BOOT_CFG2[1] = 1 means Boot Acknowledge Disabled".&lt;/P&gt;&lt;P&gt;2) first eMMC boot diagram (page 408) shows that if Fast Boot is set, execution moves to (6), fast boot happen, and then flow moves back to (2).&lt;/P&gt;&lt;P&gt;But at the end of (2) (page 409), flow moves to (4), normal data read. This (4) part should not happen for Fast Boot, since data has already be read at (6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, i see confusion in the Fast Boot meaning, some time called "Special Boot Mode or Boot Mode", as in page 407. Micron datasheet TN-52-06 refers to Boot Mode or Alternative Boot Mode, that seems to be both Fast Boot modes.&lt;/P&gt;&lt;P&gt;Then, again, there is a "&lt;STRONG&gt;Boot Acknowledge&lt;/STRONG&gt;" enable/disable (BOOT_CFG2[1]), and an "&lt;STRONG&gt;eMMC Fast Boot Acknowledge&lt;/STRONG&gt;" enable / disable (BOOT_CFG1[2]). The difference is not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 22:33:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385800#M55845</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-04-17T22:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385801#M55846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have "maybe" emmc fast boot working, booting from mmcblk0boot0, just programming u-boot.imx into mmcblk0boot0 (at offset 0x400) and setting EXT_CSD[179] to 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOOT_CFG1[4] btw must be not set. If i set it, nothing work anymore. Why ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 07:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385801#M55846</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-04-21T07:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q, eMMC fast boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385802#M55847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check here for further info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/354655"&gt;imx6q eMMC Fast Boot, someone using it can help ?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 07:24:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-eMMC-fast-boot/m-p/385802#M55847</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-05-07T07:24:02Z</dc:date>
    </item>
  </channel>
</rss>

