<?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中的主题 Re: How to Configure and Verify ECC on i.MX8MP Platform</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147346#M239885</link>
    <description>Hello, thank you for your response.&lt;BR /&gt;&lt;BR /&gt;Based on the document you provided, I have two questions regarding the device tree (DTS) configuration for ECC in U-Boot:&lt;BR /&gt;&lt;BR /&gt;1. About the reserved ECC memory region in U-Boot DTS:&lt;BR /&gt;&lt;BR /&gt;My board has 4GB of DDR, and according to the 1/8 ECC reservation ratio, I understand that 512MB should be reserved for ECC.&lt;BR /&gt;&lt;BR /&gt;Could you please confirm how to correctly define the ecc_reserved node in U-Boot’s DTS? For example:&lt;BR /&gt;&lt;BR /&gt;ecc_reserved: ecc@b8000000 {&lt;BR /&gt;no-map;&lt;BR /&gt;reg = &amp;lt;0 0xb8000000 0 0x20000000&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;In addition, do I also need to reduce the size defined in memory@80000000 by 512MB to prevent the system from using the ECC reserved area?&lt;BR /&gt;&lt;BR /&gt;Please let me know if this configuration is correct, and whether similar changes are also required in the Linux kernel DTS.&lt;BR /&gt;&lt;BR /&gt;2. ECC not enabled in Linux:&lt;BR /&gt;&lt;BR /&gt;After booting into the system, I checked the kernel logs with dmesg | grep -i ecc and saw:&lt;BR /&gt;&lt;BR /&gt;[ 1.807708] EDAC MC: ECC not enabled&lt;BR /&gt;&lt;BR /&gt;Does this indicate that ECC is actually not enabled in the system?&lt;BR /&gt;&lt;BR /&gt;Looking forward to your further guidance. Thank you very much!</description>
    <pubDate>Wed, 06 Aug 2025 05:56:55 GMT</pubDate>
    <dc:creator>DADAXIN</dc:creator>
    <dc:date>2025-08-06T05:56:55Z</dc:date>
    <item>
      <title>How to Configure and Verify ECC on i.MX8MP Platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147165#M239869</link>
      <description>&lt;P&gt;Hello NXP Community,&lt;/P&gt;&lt;P&gt;I'm currently working on enabling &lt;STRONG&gt;LPDDR4 ECC&lt;/STRONG&gt; on the &lt;STRONG&gt;i.MX8MP platform&lt;/STRONG&gt;, and I have some questions regarding both &lt;STRONG&gt;U-Boot and Linux kernel&lt;/STRONG&gt; configurations.&lt;/P&gt;&lt;P&gt;Here's what I've done so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I used &lt;STRONG&gt;NXP's DDR Tool&lt;/STRONG&gt; to generate timing and ECC-related settings.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I integrated the generated lpddr4_timing.c into U-Boot and confirmed ECC support is enabled during build.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I enabled the necessary ECC configuration options in the &lt;STRONG&gt;device tree (DTS)&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, I’m unclear about the &lt;STRONG&gt;proper method to verify ECC is working correctly&lt;/STRONG&gt;, especially:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;In U-Boot:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there a built-in command or test method to check ECC (e.g., similar to ecc command available on i.MX93)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;How can I confirm that ECC initialization and scrub happened correctly?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;In Kernel:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Besides enabling ECC support in DTS, is there a test module or log I can check for ECC errors or corrections?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Do I need to enable additional kernel modules (e.g., EDAC or ramoops)?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If available, could you please share the &lt;STRONG&gt;ECC test binary file&lt;/STRONG&gt; or any guidance specific to i.MX8MP for ECC validation?&lt;/P&gt;&lt;P&gt;Thank you in advance for your support.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 01:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147165#M239869</guid>
      <dc:creator>DADAXIN</dc:creator>
      <dc:date>2025-08-06T01:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Configure and Verify ECC on i.MX8MP Platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147242#M239876</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253315"&gt;@DADAXIN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer the attachment file for ECC on imx8 Series. there is no validation tool to test it, enable is enable. We have verified it , and it can works fine. And if you do need the test binary, you need to check the attachment file and write the test code by yourself.&lt;/P&gt;
&lt;P&gt;B.R&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 03:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147242#M239876</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-08-06T03:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Configure and Verify ECC on i.MX8MP Platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147346#M239885</link>
      <description>Hello, thank you for your response.&lt;BR /&gt;&lt;BR /&gt;Based on the document you provided, I have two questions regarding the device tree (DTS) configuration for ECC in U-Boot:&lt;BR /&gt;&lt;BR /&gt;1. About the reserved ECC memory region in U-Boot DTS:&lt;BR /&gt;&lt;BR /&gt;My board has 4GB of DDR, and according to the 1/8 ECC reservation ratio, I understand that 512MB should be reserved for ECC.&lt;BR /&gt;&lt;BR /&gt;Could you please confirm how to correctly define the ecc_reserved node in U-Boot’s DTS? For example:&lt;BR /&gt;&lt;BR /&gt;ecc_reserved: ecc@b8000000 {&lt;BR /&gt;no-map;&lt;BR /&gt;reg = &amp;lt;0 0xb8000000 0 0x20000000&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;In addition, do I also need to reduce the size defined in memory@80000000 by 512MB to prevent the system from using the ECC reserved area?&lt;BR /&gt;&lt;BR /&gt;Please let me know if this configuration is correct, and whether similar changes are also required in the Linux kernel DTS.&lt;BR /&gt;&lt;BR /&gt;2. ECC not enabled in Linux:&lt;BR /&gt;&lt;BR /&gt;After booting into the system, I checked the kernel logs with dmesg | grep -i ecc and saw:&lt;BR /&gt;&lt;BR /&gt;[ 1.807708] EDAC MC: ECC not enabled&lt;BR /&gt;&lt;BR /&gt;Does this indicate that ECC is actually not enabled in the system?&lt;BR /&gt;&lt;BR /&gt;Looking forward to your further guidance. Thank you very much!</description>
      <pubDate>Wed, 06 Aug 2025 05:56:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147346#M239885</guid>
      <dc:creator>DADAXIN</dc:creator>
      <dc:date>2025-08-06T05:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Configure and Verify ECC on i.MX8MP Platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147952#M239920</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253315"&gt;@DADAXIN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A1 : No need to change the dts file about ecc region.&lt;/P&gt;
&lt;P&gt;A2: How do you enable the ecc feature? You need to run the &lt;STRONG&gt;&lt;EM&gt;make imx8mp_evk_inline_ecc_defconfig &lt;/EM&gt;&lt;/STRONG&gt;to compile the uboot and then compile the flash.bin file.&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 02:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Configure-and-Verify-ECC-on-i-MX8MP-Platform/m-p/2147952#M239920</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-08-07T02:13:42Z</dc:date>
    </item>
  </channel>
</rss>

