<?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: Problem using u-boot in iMX53 loco and eMMC in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-using-u-boot-in-iMX53-loco-and-eMMC/m-p/589219#M88981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flavio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if correct mmc number is used, for example it is&lt;/P&gt;&lt;P&gt;/dev/mmcblk0p2 in u-boot-fslc-2016.07 include/configs/mx53loco.h &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fu-boot-fslc%2Ftree%2F2016.07%2Bfslc" rel="nofollow" target="_blank"&gt;https://github.com/Freescale/u-boot-fslc/tree/2016.07+fslc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FFreescale%2Flinux-fslc%2Fblob%2F4.1-1.0.x-imx%2Farch%2Farm%2Fboot%2Fdts%2Fimx53-qsb.dts" rel="nofollow" target="_blank"&gt;https://github.com/Freescale/linux-fslc/blob/4.1-1.0.x-imx/arch/arm/boot/dts/imx53-qsb.dts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;eMMC version 4.51 should work with changes in /drivers/mmc/core/mmc.c&amp;nbsp; :&lt;/P&gt;&lt;P&gt;card-&amp;gt;ext_csd.rev &amp;gt; 7&lt;/P&gt;&lt;P&gt;provided on 0001-With-the-new-eMMC5.1-spec-there-is-a-new-EXT_CSD-reg.patch.zip&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="435796" data-objecttype="2" href="https://community.nxp.com/message/435796#comment-435796"&gt;https://community.nxp.com/message/435796#435796&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also one can post this to meta-fsl-arm mailing list :&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&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>Thu, 11 Aug 2016 06:25:08 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-08-11T06:25:08Z</dc:date>
    <item>
      <title>Problem using u-boot in iMX53 loco and eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-using-u-boot-in-iMX53-loco-and-eMMC/m-p/589218#M88980</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;I'm working on a new design based on iMX53 Quick Start Board.&lt;/P&gt;&lt;P&gt;I'm using u-boot-fslc and linux-fslc from Yocto recipes.&lt;/P&gt;&lt;P&gt;The Linux distribuition is Debian Jessie.&lt;/P&gt;&lt;P&gt;Boths u-boot and kernel were compiled manually, using arm-poky toolchain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can boot the system from the SD card without any problem.&lt;/P&gt;&lt;P&gt;From the SD card, I was able to access the eMMC partitions and save information in those partitions. I setup the system in the same way as the SD card:&lt;/P&gt;&lt;P&gt;* The 1st partition for u-boot&lt;/P&gt;&lt;P&gt;* The 2nd partition (VFAT) for kernel and device tree&lt;/P&gt;&lt;P&gt;* The 3rd partition for filesystem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the boot in order to boot from the eMMC, u-boot starts, but it doesn't detect the other partitions located in eMMC.&lt;/P&gt;&lt;P&gt;If I maintain the SD card on the board, the u-boot from the eMMC can detect the contents from the SD Card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the CONFIG_SUPPORT_EMMC_BOOT on mx53loco.h, recompiled u-boot. It didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the schematics, and it is using SD3 bus, with 8 bits data. I checked u-boot source code, and it seems to set ESDHC3 and all 8 bits of data bus. I believe this is correct. Is there any other thing that I should check? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The eMMC is from Sandisk (I don't have the specific part number now). From the specification, it is 4.51, but I saw that there is backward compatibility with the support 4.4 version presented on u-boot. Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I do in u-boot in order to correctly access Linux Kernel and Device Tree in order to boot Linux from eMMC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 02:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-using-u-boot-in-iMX53-loco-and-eMMC/m-p/589218#M88980</guid>
      <dc:creator>FlavioAlves</dc:creator>
      <dc:date>2016-08-11T02:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using u-boot in iMX53 loco and eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-using-u-boot-in-iMX53-loco-and-eMMC/m-p/589219#M88981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flavio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if correct mmc number is used, for example it is&lt;/P&gt;&lt;P&gt;/dev/mmcblk0p2 in u-boot-fslc-2016.07 include/configs/mx53loco.h &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fu-boot-fslc%2Ftree%2F2016.07%2Bfslc" rel="nofollow" target="_blank"&gt;https://github.com/Freescale/u-boot-fslc/tree/2016.07+fslc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FFreescale%2Flinux-fslc%2Fblob%2F4.1-1.0.x-imx%2Farch%2Farm%2Fboot%2Fdts%2Fimx53-qsb.dts" rel="nofollow" target="_blank"&gt;https://github.com/Freescale/linux-fslc/blob/4.1-1.0.x-imx/arch/arm/boot/dts/imx53-qsb.dts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;eMMC version 4.51 should work with changes in /drivers/mmc/core/mmc.c&amp;nbsp; :&lt;/P&gt;&lt;P&gt;card-&amp;gt;ext_csd.rev &amp;gt; 7&lt;/P&gt;&lt;P&gt;provided on 0001-With-the-new-eMMC5.1-spec-there-is-a-new-EXT_CSD-reg.patch.zip&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="435796" data-objecttype="2" href="https://community.nxp.com/message/435796#comment-435796"&gt;https://community.nxp.com/message/435796#435796&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also one can post this to meta-fsl-arm mailing list :&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&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>Thu, 11 Aug 2016 06:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-using-u-boot-in-iMX53-loco-and-eMMC/m-p/589219#M88981</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-08-11T06:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using u-boot in iMX53 loco and eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-using-u-boot-in-iMX53-loco-and-eMMC/m-p/589220#M88982</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;I checked u-boot source code and I could not find similar validation located on this kernel patch. And, reading the source code, it seams that u-boot has support for newer versions of mmc/emmc standards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reset u-boot source code, and made the following changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; added #define DEBUG in include/common.h file&lt;/P&gt;&lt;P&gt;=&amp;gt; added #define CONFIG_SUPPORT_EMMC_BOOT in include/configs/mx53loco.h file&lt;/P&gt;&lt;P&gt;=&amp;gt; added #define CONFIG_SYS_FSL_USDHC_NUM 3 in include/configs/mx53loco.h file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I recompile e reinstall u-boot.imx file on e-mmc, I am able to see the debug messages. But, it hangs at the moment where ESDHC is being initialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2015.10-00058-g03ab68e-dirty (Aug 15 2016 - 10:53:52 -0300)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initcall: 77804d10&lt;/P&gt;&lt;P&gt;U-Boot code: 77800000 -&amp;gt; 77850E80&amp;nbsp; BSS: -&amp;gt; 7789C6B0&lt;/P&gt;&lt;P&gt;initcall: 77804b1c&lt;/P&gt;&lt;P&gt;initcall: 77805220&lt;/P&gt;&lt;P&gt;Board: MX53 LOCO&lt;/P&gt;&lt;P&gt;initcall: 77804d58&lt;/P&gt;&lt;P&gt;I2C:&amp;nbsp;&amp;nbsp; ready&lt;/P&gt;&lt;P&gt;initcall: 77804d40&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp; initcall: 77802268&lt;/P&gt;&lt;P&gt;initcall: 77804fc4&lt;/P&gt;&lt;P&gt;Monitor len: 0009C6B0&lt;/P&gt;&lt;P&gt;Ram size: 40000000&lt;/P&gt;&lt;P&gt;Ram top: 90000000&lt;/P&gt;&lt;P&gt;initcall: 77804b44&lt;/P&gt;&lt;P&gt;initcall: 77804cb8&lt;/P&gt;&lt;P&gt;TLB table from 8fff0000 to 8fff4000&lt;/P&gt;&lt;P&gt;initcall: 77804ed8&lt;/P&gt;&lt;P&gt;initcall: 77804c6c&lt;/P&gt;&lt;P&gt;Reserving 625k for U-Boot at: 8ff53000&lt;/P&gt;&lt;P&gt;initcall: 77804c3c&lt;/P&gt;&lt;P&gt;Reserving 10248k for malloc() at: 8f551000&lt;/P&gt;&lt;P&gt;initcall: 77804e74&lt;/P&gt;&lt;P&gt;Reserving 88 Bytes for Board Info at: 8f550fa8&lt;/P&gt;&lt;P&gt;initcall: 77804b5c&lt;/P&gt;&lt;P&gt;initcall: 77804c08&lt;/P&gt;&lt;P&gt;Reserving 224 Bytes for Global Data at: 8f550ec8&lt;/P&gt;&lt;P&gt;initcall: 77804b9c&lt;/P&gt;&lt;P&gt;initcall: 77804ec8&lt;/P&gt;&lt;P&gt;initcall: 77805030&lt;/P&gt;&lt;P&gt;initcall: 77804fa0&lt;/P&gt;&lt;P&gt;initcall: 77804eec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RAM Configuration:&lt;/P&gt;&lt;P&gt;Bank #0: 70000000 512 MiB&lt;/P&gt;&lt;P&gt;Bank #1: b0000000 512 MiB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp; 1 GiB&lt;/P&gt;&lt;P&gt;initcall: 77804b80&lt;/P&gt;&lt;P&gt;New Stack Pointer is: 8f550ea0&lt;/P&gt;&lt;P&gt;initcall: 77804e30&lt;/P&gt;&lt;P&gt;initcall: 77804dc0&lt;/P&gt;&lt;P&gt;Relocation Offset is: 18753000&lt;/P&gt;&lt;P&gt;Relocating to 8ff53000, new gd at 8f550ec8, sp at 8f550ea0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea of what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 14:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-using-u-boot-in-iMX53-loco-and-eMMC/m-p/589220#M88982</guid>
      <dc:creator>FlavioAlves</dc:creator>
      <dc:date>2016-08-15T14:02:33Z</dc:date>
    </item>
  </channel>
</rss>

