<?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: How to configure the DRAM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-the-DRAM/m-p/302455#M38353</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;As far as I understand you want to boot from the SD, correct?&lt;/P&gt;&lt;P&gt;As you might know the iMX6 features a&amp;nbsp; boot ROM code that uses fuses, and GPIO settings to determined the boot device like SD, SPI, NAND, USB, etc.&lt;/P&gt;&lt;P&gt;But the boot flow of the ROM code is not determined by the generated image. Then the configuration to boot from SD is not really necessary.&lt;/P&gt;&lt;P&gt;In regards the DCD; this is a set of commands that the ROM code uses to configure certain modules like the DDR. The DCD table should be generated with the bootable image like U-Boot.&lt;/P&gt;&lt;P&gt;And you need to change this DCD table according to your DDR settings. I recommend you to check and use as reference the u-boot source code that fits the more to your DDR configuration (SABRE-SD, SABRE-AI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 20:35:10 GMT</pubDate>
    <dc:creator>alejandrolozan1</dc:creator>
    <dc:date>2014-04-01T20:35:10Z</dc:date>
    <item>
      <title>How to configure the DRAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-the-DRAM/m-p/302454#M38352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using IMX6dual processor with 512 MB ddr3&amp;nbsp; chip&lt;STRONG&gt; MT41K128M16JT-125&lt;/STRONG&gt; for our customized board, how to configure the DDR parameters in u-boot, for 512 mb size, 32 bit bus width and chip select 0, &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my understanding i configured these settings in the file called &lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;flash_header.s&lt;/STRONG&gt;&lt;/SPAN&gt; in mx6q_sabrelite folder by modifying the register &lt;STRONG style="color: #ff6600;"&gt;MXC_DCD_ITEM(75, MMDC_P0_BASE_ADDR + 0x000, 0x83190000) &lt;/STRONG&gt;, is it enough to configure the DDR or i need to configure these in some where else?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt;RAM:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For the RAM size i configured in the file called&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;include/configs/mx6q_sabrelite_android.h&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #ff6600;"&gt;//&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;#define PHYS_SDRAM_1_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1u * 1024 * 1024 * 1024) orignal for 1gb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;#define PHYS_SDRAM_1_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1u * 512 * 1024 * 1024)&amp;nbsp; this is what i modified for 512 mb&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And for DDR DCD configuration, i modified the DCD registers with the reference of &lt;SPAN style="color: #ff00ff;"&gt;init script&lt;/SPAN&gt;,&amp;nbsp; which get success for our DDR ram by &lt;SPAN style="color: #ff00ff;"&gt;DDR TEST TOOL&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt;SD CARD:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And for enabling the SD boot , i changed in the same file&amp;nbsp; &lt;STRONG style="color: #000000;"&gt;include/configs/mx6q_sabrelite_android.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;#define CONFIG_FSL_ENV_IN_MMC&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; ---&amp;gt; i enabled this in the file &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;/*&lt;/SPAN&gt; #define CONFIG_FSL_ENV_IN_SATA&lt;SPAN style="color: #ff6600;"&gt; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;// &lt;/SPAN&gt;#define CONFIG_FSL_ENV_IN_SF -----&amp;gt; orignal&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using &lt;SPAN style="color: #ff00ff;"&gt;SD3 slot,&lt;/SPAN&gt; for that i changed the corresponding MUX pin settings in the file &lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;board/freescale/mx6q_sabrelite/mx6q_sabrelite.c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Is the above settings is ok for enabling the &lt;STRONG&gt;SD boot and DDR&lt;/STRONG&gt; configuration or any extra settings needed kindly plz guide me with any suggestion&lt;/P&gt;&lt;P&gt;For your reference herewith i have attached my &lt;STRONG&gt;flash_header.S&lt;/STRONG&gt; file kindly find the attachment&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335870"&gt;flash_header.S.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 11:34:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-the-DRAM/m-p/302454#M38352</guid>
      <dc:creator>shanmugamsundar</dc:creator>
      <dc:date>2014-03-24T11:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure the DRAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-the-DRAM/m-p/302455#M38353</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;As far as I understand you want to boot from the SD, correct?&lt;/P&gt;&lt;P&gt;As you might know the iMX6 features a&amp;nbsp; boot ROM code that uses fuses, and GPIO settings to determined the boot device like SD, SPI, NAND, USB, etc.&lt;/P&gt;&lt;P&gt;But the boot flow of the ROM code is not determined by the generated image. Then the configuration to boot from SD is not really necessary.&lt;/P&gt;&lt;P&gt;In regards the DCD; this is a set of commands that the ROM code uses to configure certain modules like the DDR. The DCD table should be generated with the bootable image like U-Boot.&lt;/P&gt;&lt;P&gt;And you need to change this DCD table according to your DDR settings. I recommend you to check and use as reference the u-boot source code that fits the more to your DDR configuration (SABRE-SD, SABRE-AI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 20:35:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-the-DRAM/m-p/302455#M38353</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2014-04-01T20:35:10Z</dc:date>
    </item>
  </channel>
</rss>

