<?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のトピックimx6: memory controller initialization in uboot?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227053#M16332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;On the i.MX6 cpu, I am curious where the memory controller (MMDC -- see reference manual chapter 45) is initialized in uboot. &lt;/P&gt;&lt;P&gt;It seems uboot code is loaded directly into main RAM as explained here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.denx.de/pipermail/u-boot/2012-February/117134.html"&gt;http://lists.denx.de/pipermail/u-boot/2012-February/117134.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that mean that the MMDC memory contrller is init before uboot is loaded into RAM?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;-jfs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2013 16:54:05 GMT</pubDate>
    <dc:creator>jfsimon</dc:creator>
    <dc:date>2013-01-16T16:54:05Z</dc:date>
    <item>
      <title>imx6: memory controller initialization in uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227053#M16332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;On the i.MX6 cpu, I am curious where the memory controller (MMDC -- see reference manual chapter 45) is initialized in uboot. &lt;/P&gt;&lt;P&gt;It seems uboot code is loaded directly into main RAM as explained here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.denx.de/pipermail/u-boot/2012-February/117134.html"&gt;http://lists.denx.de/pipermail/u-boot/2012-February/117134.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that mean that the MMDC memory contrller is init before uboot is loaded into RAM?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;-jfs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 16:54:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227053#M16332</guid>
      <dc:creator>jfsimon</dc:creator>
      <dc:date>2013-01-16T16:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: imx6: memory controller initialization in uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227054#M16333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Verdana, sans-serif;"&gt;It is possible to provide register initialization via so called DCD table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Verdana, sans-serif;"&gt;in flash_header file &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Verdana, sans-serif;"&gt;board/freescale/mx6q_&amp;lt;custom board name&amp;gt;/flash_header.S&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 12pt; font-family: Verdana, sans-serif;"&gt;For details please use Chapter 8 (System Boot), section 8.6.2 [Device &lt;BR /&gt; Configuration Data (DCD)] of i.MX6 Reference Manual (IMX6DQRM).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 02:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227054#M16333</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-01-17T02:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: imx6: memory controller initialization in uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227055#M16334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;Thanks so much for pointing me to the DCD table feature. But I don't find this implemented in i.MX6 boards. Maybe I am looking at the wrong u-boot source code?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;-jfs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 11:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227055#M16334</guid>
      <dc:creator>jfsimon</dc:creator>
      <dc:date>2013-01-17T11:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: imx6: memory controller initialization in uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227056#M16335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's done by ROM to load DCD table and initialize RAM.&lt;/P&gt;&lt;P&gt;You can get more information from MX6DQ RM: 8.3.3 Device Configuration Data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 11:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227056#M16335</guid>
      <dc:creator>lily_zhang</dc:creator>
      <dc:date>2013-01-17T11:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: imx6: memory controller initialization in uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227057#M16336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use U-boot from LTIB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=L3.0.35_1.1.0_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;sr=20&amp;amp;Parent_nodeId=1337723891654732089522&amp;amp;Parent_pageType=product" title="https://www.freescale.com/webapp/Download?colCode=L3.0.35_1.1.0_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;sr=20&amp;amp;Parent_nodeId=1337723891654732089522&amp;amp;Parent_pageType=product"&gt;https://www.freescale.com/webapp/Download?colCode=L3.0.35_1.1.0_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Boar…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 11:28:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227057#M16336</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-01-17T11:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: imx6: memory controller initialization in uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227058#M16337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the exact same question as you.&amp;nbsp; I think I've tracked it down.&amp;nbsp; In the U-boot source directory, there is a file called boards.cfg.&amp;nbsp; This file lists hundreds of boards.&amp;nbsp; If you search for your specific mx6 board, you should see at the rightmost entry in this table, a file directory for the specific .cgf that the specific board is using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample from boards.cfg:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;mx6qarm2 ...&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mx6qarm2:IMX_CONFIG=board/freescale/mx6qarm2/imximage.cfg&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mx6qsabreauto ...&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mx6qsabreauto:IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mx6qsabrelite ...&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mx6qsabrelite:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mx6qsabresd ...&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mx6qsabresd:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My board is a mx6qsabrelite, and in this file you will see that it references "/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this file there are a series of DCD writes to various addresses.&amp;nbsp; I would recommend creating a new imximage.cfg file in /board/freescale/mxq6_&amp;lt;yourboard&amp;gt;/.&amp;nbsp; You can use the file listed above as a starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 14:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227058#M16337</guid>
      <dc:creator>justindefields</dc:creator>
      <dc:date>2013-04-03T14:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: imx6: memory controller initialization in uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227059#M16338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the MMDC controller's initialization is done in uboot-imx/board/freescale/&amp;lt;board name&amp;gt;/flash_header.S, either using DCD mode or plug in mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DCD mode is a table where contain the address and value, then ROM code will get this table to do the configure, then after all these tables' item are executed, ROM will copy the image to DDR and jump to DDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plugin mode is another mode which allow ROM code to call this plugin function, after this plugin code return, ROM code continue to do the rest of work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I have made it clear for you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 01:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-memory-controller-initialization-in-uboot/m-p/227059#M16338</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-04-12T01:57:32Z</dc:date>
    </item>
  </channel>
</rss>

