<?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>S32GのトピックRe: Reduce DDR init time for S32G boards</title>
    <link>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1720903#M4751</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have initiated a thread with the internal team and I will get back to you on this.&lt;/P&gt;
&lt;P&gt;Thank you for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank S Patel&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 07:01:51 GMT</pubDate>
    <dc:creator>MayanksPatel</dc:creator>
    <dc:date>2023-09-12T07:01:51Z</dc:date>
    <item>
      <title>Reduce DDR init time for S32G boards</title>
      <link>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1719180#M4718</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently, we find a issue that the DDR init time seems is longer than expected.&lt;/P&gt;&lt;P&gt;The main cost on RDB2 as following:&lt;/P&gt;&lt;P&gt;NOTICE: Reset status: Power-On Reset&lt;BR /&gt;ddr_init start at: 100 ms&lt;BR /&gt;execute_training start at: 102 ms&lt;BR /&gt;execute_training spend: 77 ms&lt;BR /&gt;post_train_setup start at: 181 ms&lt;BR /&gt;init_memory_ecc_scrubber start at: 217 ms&lt;BR /&gt;init_memory_ecc_scrubber 1 loop spend: 358 ms&lt;BR /&gt;init_memory_ecc_scrubber 2 loop spend: 0 ms&lt;BR /&gt;init_memory_ecc_scrubber end at: 587 ms&lt;BR /&gt;init_memory_ecc_scrubber spend: 373 ms&lt;BR /&gt;post_train_setup end at: 594 ms&lt;BR /&gt;post_train_setup spend: 416 ms&lt;BR /&gt;ddr_init end at: 600 ms&lt;BR /&gt;ddr_init spend: 502 ms&lt;BR /&gt;NOTICE: BL2: v2.5(release):bsp36.0-2.5-12-g836521a5d-dirty&lt;BR /&gt;NOTICE: BL2: Built : 17:42:10, Mar 23 2023&lt;BR /&gt;NOTICE: BL2: Booting BL31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the&amp;nbsp;execute_training() cost about 77ms and init_memory_ecc_scrubber() cost about 373ms.&lt;/P&gt;&lt;P&gt;Is there any way to reduce the time cost to make it init faster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhantao&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 02:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1719180#M4718</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2023-09-08T02:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce DDR init time for S32G boards</title>
      <link>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1720903#M4751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have initiated a thread with the internal team and I will get back to you on this.&lt;/P&gt;
&lt;P&gt;Thank you for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank S Patel&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 07:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1720903#M4751</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-09-12T07:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce DDR init time for S32G boards</title>
      <link>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1723829#M4814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="bodyDisplay_0" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&lt;SPAN&gt;I tested the DDR initialization time on RDB2 using BSP37 and found the two most time-consuming phases were the execute_training() (about 73ms) and the init_memory_ecc_scrubber() (about 358ms).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For the execute_training(), it is necessary after a POR to set up a working environment for the DDR controller. For the init_memory_ecc_scrubber(), you can not invoke it if you do not enable the DRAM-related ECC feature. If the init_memory_ecc_scrubber() is skipped, you may save the corresponding executing time. However, in this case, you may need to manually initialize the DRAM before using it. (The init_memory_ecc_scrubber() can fill all DRAM with zero, so it is not recommend to skip this function.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;On the other hand, if you do not skip the init_memory_ecc_scrubber(), you can shrink the DRAM size to save a little time in executing the init_memory_ecc_scrubber(). For example, though the physical DRAM has a capacity of 4GB, you can just use part of DRAM as per the real requirement of your project. In this case, the time consumed by executing init_memory_ecc_scrubber() will be less.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BTW, no matter which approaches you will use, I would like to suggest configuring the corresponding parameters through the S32 DDR tool and using the tool to generate the source code, rather than modifying the source code manually.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mayank S Patel&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-panel lia-panel-standard MessageTagsTaplet Chrome lia-component-message-view-widget-tags"&gt;
&lt;DIV class="lia-decoration-border"&gt;
&lt;DIV class="lia-decoration-border-top"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-decoration-border-content"&gt;
&lt;DIV&gt;
&lt;DIV class="lia-panel-content-wrapper"&gt;
&lt;DIV class="lia-panel-content"&gt;
&lt;DIV class="AddMessageTags lia-message-tags"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Sep 2023 09:48:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1723829#M4814</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-09-15T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce DDR init time for S32G boards</title>
      <link>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1725161#M4837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Mayank S Patel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know what you mean, we will discuss your suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Zhantao&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 03:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1725161#M4837</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2023-09-19T03:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce DDR init time for S32G boards</title>
      <link>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1728792#M4873</link>
      <description>&lt;P&gt;Hi Mayank&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204248"&gt;@MayanksPatel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The submitter is my colleague and we have a S32G customer who would like to reduce the boot-up time of the system. Thank you so much for the detailed explanation. Would you please provide a maybe draft version of the source code changes for the refinement ideas you mentioned below? We're not familiar with the u-boot boot-up code and not very sure about what changes to carry out here.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yan&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 09:20:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1728792#M4873</guid>
      <dc:creator>yanyan</dc:creator>
      <dc:date>2023-09-25T09:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce DDR init time for S32G boards</title>
      <link>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1730379#M4893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/9978"&gt;@Yan&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The DDR initialization source code are not directly modified. S32 DDR tool is used for that. we configure the parameters in the tool, and then generate the code. you needs to generate the code through S32 DDR Tool on your board. please refer Document AN12848 regarding S32G2/R45 DDR Initialization&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards ,&lt;/P&gt;
&lt;P&gt;Tushar&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Reduce-DDR-init-time-for-S32G-boards/m-p/1730379#M4893</guid>
      <dc:creator>nxf92355</dc:creator>
      <dc:date>2023-09-27T09:41:43Z</dc:date>
    </item>
  </channel>
</rss>

