<?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 IMX6D eMMC Boot Problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6D-eMMC-Boot-Problem/m-p/654905#M100321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi we are having trouble getting our IMX6D to boot on our new custom board. I see a lot of other people on the forum have trouble with this so here are the details for our issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried all combinations of BOOT_MODE select bits, and following along with Table 5-8 eMMC Boot Fusemap in the RM we tried Fast Boot 1/0, MMC speed 1/0, Fast Boock Ack 1/0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here is what is working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) Imx6 goes into revovery usb mode&lt;/P&gt;&lt;P&gt;2.) Push u-boot to imx6 from imx6_usb util&lt;/P&gt;&lt;P&gt;3.) U-boot loads into DDR and runs&lt;/P&gt;&lt;P&gt;4.) From u-boot mount emmc as usb mass storage device&lt;/P&gt;&lt;P&gt;5.) Using fdisk create partition and format it as ext2&lt;/P&gt;&lt;P&gt;6.) Copy full rootfs to flash&lt;/P&gt;&lt;P&gt;7.) Reboot&lt;/P&gt;&lt;P&gt;8.) Perform steps 1-3 again&lt;/P&gt;&lt;P&gt;9.) From u-boot copy kernel and dtb file into memory&lt;/P&gt;&lt;P&gt;10.) From u-boot boot kernel using bootz&lt;/P&gt;&lt;P&gt;11.) Kernel boots, and mounts emmc rootfs&lt;/P&gt;&lt;P&gt;12.) From linux now running on imx6 login&lt;/P&gt;&lt;P&gt;13.) Turn off read only mode for mmcblk0boot{0,1}&lt;/P&gt;&lt;P&gt;14.) From Linux dd if=/u-boot.imx of=/dev/mmcblk0boot{0,1} bs=512 seek=2&lt;/P&gt;&lt;P&gt;15.) sync&lt;/P&gt;&lt;P&gt;16.) read back both boot{0,1} into local files and then cmp -l -b u-boot.imx bootdata{0,1}, I also used diff&amp;nbsp; and they are all the same.&lt;/P&gt;&lt;P&gt;17.) Using linux mmc-utils: mmc bootpart enable 1 1 /dev/mmcblk0 a. I tried changing both of the enable options to use different banks and to use/not use the Ack.&lt;/P&gt;&lt;P&gt;18.) Power cycle board: tried both hard power and reboot results is always the same.&lt;/P&gt;&lt;P&gt;19.) Imx6 powers on and always ends up in USB recovery mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this by setting pretty much all combos of the boot_cfg1 &amp;amp; boot_cfg2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Also I retried dd’n u-boot.imx into the user flash area to see if imx6 would try to boot it as well.&amp;nbsp; No luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would appreciate any thoughts and suggestions,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 03:42:30 GMT</pubDate>
    <dc:creator>nextsteve</dc:creator>
    <dc:date>2016-12-07T03:42:30Z</dc:date>
    <item>
      <title>IMX6D eMMC Boot Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6D-eMMC-Boot-Problem/m-p/654905#M100321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi we are having trouble getting our IMX6D to boot on our new custom board. I see a lot of other people on the forum have trouble with this so here are the details for our issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried all combinations of BOOT_MODE select bits, and following along with Table 5-8 eMMC Boot Fusemap in the RM we tried Fast Boot 1/0, MMC speed 1/0, Fast Boock Ack 1/0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here is what is working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) Imx6 goes into revovery usb mode&lt;/P&gt;&lt;P&gt;2.) Push u-boot to imx6 from imx6_usb util&lt;/P&gt;&lt;P&gt;3.) U-boot loads into DDR and runs&lt;/P&gt;&lt;P&gt;4.) From u-boot mount emmc as usb mass storage device&lt;/P&gt;&lt;P&gt;5.) Using fdisk create partition and format it as ext2&lt;/P&gt;&lt;P&gt;6.) Copy full rootfs to flash&lt;/P&gt;&lt;P&gt;7.) Reboot&lt;/P&gt;&lt;P&gt;8.) Perform steps 1-3 again&lt;/P&gt;&lt;P&gt;9.) From u-boot copy kernel and dtb file into memory&lt;/P&gt;&lt;P&gt;10.) From u-boot boot kernel using bootz&lt;/P&gt;&lt;P&gt;11.) Kernel boots, and mounts emmc rootfs&lt;/P&gt;&lt;P&gt;12.) From linux now running on imx6 login&lt;/P&gt;&lt;P&gt;13.) Turn off read only mode for mmcblk0boot{0,1}&lt;/P&gt;&lt;P&gt;14.) From Linux dd if=/u-boot.imx of=/dev/mmcblk0boot{0,1} bs=512 seek=2&lt;/P&gt;&lt;P&gt;15.) sync&lt;/P&gt;&lt;P&gt;16.) read back both boot{0,1} into local files and then cmp -l -b u-boot.imx bootdata{0,1}, I also used diff&amp;nbsp; and they are all the same.&lt;/P&gt;&lt;P&gt;17.) Using linux mmc-utils: mmc bootpart enable 1 1 /dev/mmcblk0 a. I tried changing both of the enable options to use different banks and to use/not use the Ack.&lt;/P&gt;&lt;P&gt;18.) Power cycle board: tried both hard power and reboot results is always the same.&lt;/P&gt;&lt;P&gt;19.) Imx6 powers on and always ends up in USB recovery mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this by setting pretty much all combos of the boot_cfg1 &amp;amp; boot_cfg2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Also I retried dd’n u-boot.imx into the user flash area to see if imx6 would try to boot it as well.&amp;nbsp; No luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would appreciate any thoughts and suggestions,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 03:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6D-eMMC-Boot-Problem/m-p/654905#M100321</guid>
      <dc:creator>nextsteve</dc:creator>
      <dc:date>2016-12-07T03:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6D eMMC Boot Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6D-eMMC-Boot-Problem/m-p/654906#M100322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you try to use mfgtool to program your emmc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 09:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6D-eMMC-Boot-Problem/m-p/654906#M100322</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2016-12-13T09:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6D eMMC Boot Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6D-eMMC-Boot-Problem/m-p/654907#M100323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please look at my comments below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1.&lt;/P&gt;&lt;P&gt;&amp;nbsp; The following &amp;nbsp;may be useful :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/thread/312758"&gt;https://community.nxp.com/thread/312758&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Please try do not use the eMMC fast boot option (BOOT_CFG1[4] = 0). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 07:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6D-eMMC-Boot-Problem/m-p/654907#M100323</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-12-19T07:55:50Z</dc:date>
    </item>
  </channel>
</rss>

