<?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: DDR Init Failed in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/DDR-Init-Failed/m-p/1695562#M18693</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204730"&gt;@srinivasa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to below link&amp;nbsp; to modify&amp;nbsp;Plat/nxp/&amp;lt;SOC&amp;gt;/&amp;lt;Board&amp;gt;/platform_def.h and&amp;nbsp;Plat/nxp/&amp;lt;SOC&amp;gt;/&amp;lt;Board&amp;gt;/ddr_init.c according to your target board.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-903DCB6A-FA4B-4A1C-B29D-F75A8CDBA976.html" target="_self"&gt;https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-903DCB6A-FA4B-4A1C-B29D-F75A8CDBA976.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The DDR driver supports the following board level applications for DDR:&lt;BR /&gt;• DIMM: Driver reads SPD for configuring DDR timing parameters&lt;BR /&gt;• Mock DIMM: Hardcoded timing in place of reading SPD&lt;BR /&gt;• Discrete DDR: Driver requires a static DDR configuration to be added&lt;/P&gt;&lt;P&gt;Please choose one DDR initialization method in the above for your target board.&lt;/P&gt;&lt;P&gt;In addition you need to use QCVS tool to calculate the initial DDR initialization parameters according to the DDR data sheet(or reading from SPD), then use DDRv tool to do validation and optimization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Khushbu&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 06:51:18 GMT</pubDate>
    <dc:creator>khushbur</dc:creator>
    <dc:date>2023-07-31T06:51:18Z</dc:date>
    <item>
      <title>DDR Init Failed</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/DDR-Init-Failed/m-p/1694164#M18659</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Hi,&lt;BR /&gt;We are using 16GB DDR 4 sodimm module.&lt;BR /&gt;We have observed DDR booting inconsistency issue in one of the board.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;We suspected issue could be board timing issue and changed RC values of board timing &amp;nbsp;structure as below, but still same issue seen on this board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;static const struct board_timing udimm[] = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//&amp;nbsp; {0x03, rce, 0x01020204, 0x04040403}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; {0x0F, rce, 0x01020204, 0x04040403} &amp;nbsp;//changed from 0x03 to 0x0F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;BR /&gt;&lt;BR /&gt;DDR boot failed logs:&lt;BR /&gt;[ 19.682701] reboot: Restarting system&lt;BR /&gt;NOTICE: UDIMM D41.23286S.001&lt;BR /&gt;ERROR: Found training error(s): 0x2100&lt;BR /&gt;ERROR: Error: Waiting for D_INIT timeout.&lt;BR /&gt;ERROR: Writing DDR register(s) failed&lt;BR /&gt;ERROR: Programing DDRC error&lt;BR /&gt;ERROR: DDR init failed.&lt;BR /&gt;NOTICE: Incorrect DRAM0 size is defined in platform_def.h&lt;BR /&gt;ERROR: mmap_add_region_check() failed. error -22&lt;BR /&gt;ERROR: mmap_add_region_check() failed. error -22&lt;BR /&gt;NOTICE: BL2: v2.4(release):la12xx-sdk2.1-0-gb07d2b6c9-dirty&lt;BR /&gt;NOTICE: BL2: Built : 21:16:51, Jun 30 2023&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know any inputs on this, is it RC_Timing, DDR Calibration values issue?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:34:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/DDR-Init-Failed/m-p/1694164#M18659</guid>
      <dc:creator>srinivasa</dc:creator>
      <dc:date>2023-07-27T11:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: DDR Init Failed</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/DDR-Init-Failed/m-p/1695562#M18693</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204730"&gt;@srinivasa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to below link&amp;nbsp; to modify&amp;nbsp;Plat/nxp/&amp;lt;SOC&amp;gt;/&amp;lt;Board&amp;gt;/platform_def.h and&amp;nbsp;Plat/nxp/&amp;lt;SOC&amp;gt;/&amp;lt;Board&amp;gt;/ddr_init.c according to your target board.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-903DCB6A-FA4B-4A1C-B29D-F75A8CDBA976.html" target="_self"&gt;https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-903DCB6A-FA4B-4A1C-B29D-F75A8CDBA976.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The DDR driver supports the following board level applications for DDR:&lt;BR /&gt;• DIMM: Driver reads SPD for configuring DDR timing parameters&lt;BR /&gt;• Mock DIMM: Hardcoded timing in place of reading SPD&lt;BR /&gt;• Discrete DDR: Driver requires a static DDR configuration to be added&lt;/P&gt;&lt;P&gt;Please choose one DDR initialization method in the above for your target board.&lt;/P&gt;&lt;P&gt;In addition you need to use QCVS tool to calculate the initial DDR initialization parameters according to the DDR data sheet(or reading from SPD), then use DDRv tool to do validation and optimization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Khushbu&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 06:51:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/DDR-Init-Failed/m-p/1695562#M18693</guid>
      <dc:creator>khushbur</dc:creator>
      <dc:date>2023-07-31T06:51:18Z</dc:date>
    </item>
  </channel>
</rss>

