<?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: DDR stress test cause system hang in Linux</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019101#M150728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;I used "memtester" and same issue happened, this time with "memtester" the system will hange if&amp;nbsp;input memory bigger than 768MB&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102935i0298218F0FD3D550/image-size/large?v=v2&amp;amp;px=999" title="Screenshot from 2020-03-02 23-32-42.png" alt="Screenshot from 2020-03-02 23-32-42.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2020 16:38:23 GMT</pubDate>
    <dc:creator>johncoll</dc:creator>
    <dc:date>2020-03-02T16:38:23Z</dc:date>
    <item>
      <title>DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019095#M150722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXPs,&lt;BR /&gt;Release: Yocto-Sumo (4.14.98_2.0.0_GA)&lt;BR /&gt;Board: i.MX8MQ EVK based custom board&lt;BR /&gt;We're working on iMX8MQ based custom-designed board with 2GB DDR4 RAM (MCIMX8M-EVK 3GB LPDDR4 RAM) now we're having an issue when doing stress test RAM in linux.&lt;BR /&gt;The system always hang when&amp;nbsp;doing RAM stress test with&amp;nbsp;more than 760MB RAM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100420i11BFEAEC6A32EAED/image-size/large?v=v2&amp;amp;px=999" title="Screenshot from 2020-02-26 22-05-56.png" alt="Screenshot from 2020-02-26 22-05-56.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've already done RAM testing with &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-340179"&gt;DDR Tool&lt;/A&gt; and mtest in Uboot and all PASSED, then configured the linux system recognized with 2GB RAM.&lt;BR /&gt;Does anyone provide the solution for this issue? Any guidance or suggestions will be really helpful.&lt;BR /&gt;Best regards,&lt;BR /&gt;John.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updated: Add hang log and&amp;nbsp;DDR Controller Configuration Spreadsheet&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 15:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019095#M150722</guid>
      <dc:creator>johncoll</dc:creator>
      <dc:date>2020-02-26T15:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019096#M150723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;may be recommended to use latest MX8M_LPDDR4_RPA_v24 tool with test:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-340179"&gt;i.MX8 MSCALE SERIES DDR Tool Release (V3.10)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and try attached patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 23:46:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019096#M150723</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-26T23:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019097#M150724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;I've tested with new patch and system still hang like before, but this time kernel show some log like bellow&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99263i2E42654A6D706EB1/image-size/large?v=v2&amp;amp;px=999" title="Screenshot from 2020-02-27 21-19-42.png" alt="Screenshot from 2020-02-27 21-19-42.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 14:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019097#M150724</guid>
      <dc:creator>johncoll</dc:creator>
      <dc:date>2020-02-27T14:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019098#M150725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what is full processor part number&lt;/P&gt;&lt;P&gt;2. please provide full log: uboot + linux&lt;/P&gt;&lt;P&gt;3. can you confirm that you used latest MX8M_LPDDR4_RPA_v24.xlsx tool&lt;/P&gt;&lt;P&gt;with latest ver.3.10 DDR test version below&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-340179"&gt;i.MX8 MSCALE SERIES DDR Tool Release (V3.10)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and followed Chapter 4 How to bring up a new MX8MSCALE board&lt;/P&gt;&lt;P&gt;MSCALE_DDR_Tool_User_Guide.pdf included in package&lt;BR /&gt;4. please try with uboot and linux from nxp source.codeaurora.org/external/imx/linux-imx&amp;nbsp; repository&lt;BR /&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.14.98_2.0.0_ga"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2018.03_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2018.03_4.14.98_2.0.0_ga"&gt;uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. what you do mean saying "doing stress test RAM in linux" - is it linux "memtester" or&lt;/P&gt;&lt;P&gt;some custom test ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2020 04:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019098#M150725</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-28T04:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019099#M150726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor&lt;BR /&gt;My custom board are &lt;BR /&gt;CPU: MIMX8MQ6CVAHZAB&lt;BR /&gt;RAM: 2GB DDR4 MT40A512M16JY-075E&lt;BR /&gt;Uboot: imx_v2018.03_4.14.98_2.0.0_ga&lt;BR /&gt;Kernel: imx_4.14.98_2.0.0_ga&lt;BR /&gt;My DDR is DDR4 not LPDDR4 so I used &lt;SPAN&gt;MX8M_DDR4_RPA_v9.xlsx&amp;nbsp;&lt;/SPAN&gt;then based on&amp;nbsp;that I modified it to match our RAM configuration, you can refer it in the attachement. I followed Chapter 4 in MSCALE_DDR_Tool_User_Guide.pdf to build uboot up and runing, the system can boot to linux and work fined. Then in Linux I used &lt;A href="https://linux.die.net/man/1/stress"&gt;stress&lt;/A&gt;&amp;nbsp;command to test memory with 760MB.&lt;BR /&gt;I have tested&amp;nbsp;RAM using both &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-340179"&gt;DDR Tool&lt;/A&gt; and Uboot &lt;EM&gt;mtest&lt;/EM&gt;, it's all show PASS. What I saw is that when application try to allocate or malloc a memory more than 760MB in Linux, it cause the hang issue, for example this command '&lt;EM&gt;stress --vm 1 --vm-bytes 760M&lt;/EM&gt;'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2020 16:32:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019099#M150726</guid>
      <dc:creator>johncoll</dc:creator>
      <dc:date>2020-02-28T16:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019100#M150727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suggest to try standard linux tool "memtester".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Feb 2020 06:23:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019100#M150727</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-29T06:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019101#M150728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;I used "memtester" and same issue happened, this time with "memtester" the system will hange if&amp;nbsp;input memory bigger than 768MB&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102935i0298218F0FD3D550/image-size/large?v=v2&amp;amp;px=999" title="Screenshot from 2020-03-02 23-32-42.png" alt="Screenshot from 2020-03-02 23-32-42.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 16:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019101#M150728</guid>
      <dc:creator>johncoll</dc:creator>
      <dc:date>2020-03-02T16:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019102#M150729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;memtester (opposite to ddr tool) also stresses power supplies, so errors using&lt;/P&gt;&lt;P&gt;memtester point to power supplies (ripples, instabilities) issues. May be recommended&lt;/P&gt;&lt;P&gt;to recheck board design using sect.3.6. Power connectivity/routing&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX8MDQLQHDG" target="_blank"&gt;&lt;STRONG&gt;i.MX8M Hardware Developer’s Guide&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 00:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019102#M150729</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-03-03T00:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019103#M150730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;I double checked with hardware team, then following test cases in &lt;A href="https://www.nxp.com/docs/en/nxp/application-notes/AN12118.pdf"&gt;Power Consumption Measurement&lt;/A&gt;&amp;nbsp;document and comparing to IMX8MQ EVK board, there's no much different between our board and KIT.&lt;/P&gt;&lt;P&gt;Today I built new bl31.bin from&amp;nbsp;without&amp;nbsp;OP-TEE and the Linux system isn't hang anymore.&lt;/P&gt;&lt;P&gt;Is there any idea what might be the root cause?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 16:47:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019103#M150730</guid>
      <dc:creator>johncoll</dc:creator>
      <dc:date>2020-03-06T16:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019104#M150731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if " there's no much different between our board and KIT", then&lt;/P&gt;&lt;P&gt;could you try to reproduce issue on nxp reference board&lt;/P&gt;&lt;P&gt;with software described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tools:IMX-SW" title="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tools:IMX-SW"&gt;i.MX Software and Development Tools | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2020 04:31:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1019104#M150731</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-03-07T04:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1157800#M162388</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We ran into the same problem and had no idea, did you solve it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 13:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1157800#M162388</guid>
      <dc:creator>haochengdong</dc:creator>
      <dc:date>2020-09-23T13:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1246545#M170926</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;We had new hardware version and there's some improved on power design but there is still same problem. Do you guys have any suggestion to debug this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 15:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1246545#M170926</guid>
      <dc:creator>johncoll</dc:creator>
      <dc:date>2021-03-16T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1326257#M178752</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Is there any update on how to solve the issue?&lt;/P&gt;&lt;P&gt;We currently face the same issue on i.MX6ULL and wanna reference to the solution.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 12:25:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1326257#M178752</guid>
      <dc:creator>alif_chen</dc:creator>
      <dc:date>2021-08-19T12:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1326277#M178753</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We ran into the same problem, too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did you guys have any idea on how to solve it?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 12:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1326277#M178753</guid>
      <dc:creator>alif_chen</dc:creator>
      <dc:date>2021-08-19T12:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1327033#M178843</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reply the issue myself.&lt;/P&gt;&lt;P&gt;It turns out that optee-os revise the DDR in the device tree with "reserved-memory".&lt;/P&gt;&lt;P&gt;However, the "#address-cells" and "#size-cells" are wrong.&lt;/P&gt;&lt;P&gt;I traced the code in optee-os, and then found a commit that helps.&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-optee-os/commit/?h=imx_5.4.47_2.2.0&amp;amp;id=995908f2a91c06ccd3e1bab7bc57325ecf270f62" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-optee-os/commit/?h=imx_5.4.47_2.2.0&amp;amp;id=995908f2a91c06ccd3e1bab7bc57325ecf270f62&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue has been resolved by patching that.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 16:00:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1327033#M178843</guid>
      <dc:creator>alif_chen</dc:creator>
      <dc:date>2021-08-20T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1380921#M183908</link>
      <description>&lt;P&gt;We are having the same problem with the i.MX8M plus.&lt;BR /&gt;The i.MX8M plus evk was referenced. However, the package type we use is MIMX8ML6CVNKZAB, and it passed the stress test of "mscale_ddr_tool_v3.30" without any problem.&lt;BR /&gt;The part name of the LPDDR we are using is MT53D1024M32D4DT-046 WT:D(4GB).&lt;/P&gt;&lt;P&gt;The Yocto version I use is 5.10-hardknott.&lt;/P&gt;&lt;P&gt;And I also corrected the memory size information of u-boot and ATF.&lt;/P&gt;&lt;P&gt;The linux boot is fine, but the memory test using memtesr or stress-ng fails.&lt;BR /&gt;If It set a test area that is exactly larger than 720 MB, the system crashes..&lt;BR /&gt;for example :&lt;BR /&gt;1. If it run up to 14th "memtester 50M 1000 &amp;amp;", there is no problem. On the 15th run, the system crashes.&lt;BR /&gt;2. "memtester 720M 1000 &amp;amp;" is fine but "memtester 750M 1000 &amp;amp;" crashes the system.&lt;BR /&gt;3. "stress-ng --vm 1 --vm-bytes 720" is fine, but "stress-ng --vm 1 --vm-bytes 750" crashes the system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking forward to a lot of advice.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 02:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1380921#M183908</guid>
      <dc:creator>Russell_Kook</dc:creator>
      <dc:date>2021-12-03T02:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381346#M183948</link>
      <description>&lt;P&gt;You need to use linux command "free" to get how many memory for&amp;nbsp;&lt;SPAN&gt;memtester.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 15:45:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381346#M183948</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2021-12-03T15:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381586#M183979</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;root@imx8mpevk:~# free&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; total &amp;nbsp;&amp;nbsp;&amp;nbsp; used&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; free&amp;nbsp; shared&amp;nbsp; buff/cache&amp;nbsp; available&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mem:&amp;nbsp; 3763556&amp;nbsp;&amp;nbsp;&amp;nbsp; 49684&amp;nbsp;&amp;nbsp; 3480184&amp;nbsp;&amp;nbsp;&amp;nbsp; 8892&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 233688&amp;nbsp;&amp;nbsp;&amp;nbsp; 3413216&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Swap:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I typed because I do not have permission to upload a captured image.&lt;/P&gt;&lt;P&gt;You can see that there is a lot of free memory left.&lt;/P&gt;&lt;P&gt;I have attached my iomem info below.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;root@imx8mpevk:~# cat /proc/iomem &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30200000-3020ffff : 30200000.gpio gpio@30200000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30210000-3021ffff : 30210000.gpio gpio@30210000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30220000-3022ffff : 30220000.gpio gpio@30220000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30230000-3023ffff : 30230000.gpio gpio@30230000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30240000-3024ffff : 30240000.gpio gpio@30240000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30260000-3026ffff : 30260000.tmu tmu@30260000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30280000-3028ffff : 30280000.watchdog watchdog@30280000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30330000-3033ffff : 30330000.pinctrl pinctrl@30330000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30350000-3035ffff : 30350000.efuse efuse@30350000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30380000-3038ffff : 30380000.clock-controller clock-controller@30380000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30660000-3066ffff : 30660000.pwm pwm@30660000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30670000-3067ffff : 30670000.pwm pwm@30670000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30680000-3068ffff : 30680000.pwm pwm@30680000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30690000-3069ffff : 30690000.pwm pwm@30690000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30890000-3089ffff : 30890000.serial serial@30890000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30a20000-30a2ffff : 30a20000.i2c i2c@30a20000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30a30000-30a3ffff : 30a30000.i2c i2c@30a30000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30aa0000-30aaffff : 30aa0000.mailbox mailbox@30aa0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30b50000-30b5ffff : 30b50000.mmc mmc@30b50000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30b60000-30b6ffff : 30b60000.mmc mmc@30b60000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30bb0000-30bbffff : 30bb0000.spi fspi_base&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30bd0000-30bdffff : 30bd0000.dma-controller dma-controller@30bd0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;30bf0000-30bfffff : 30bf0000.ethernet ethernet@30bf0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;32ec0000-32ecffff : 32ec0000.media-blk-ctrl media-blk-ctrl@32ec0000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;33000000-33001fff : 33000000.dma-apbh dma-apbh@33000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;38300000-38300423 : hantrodec0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;38310000-38310423 : hantrodec0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;38320000-383207cf : hx280enc&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3d800000-3dbfffff : 3d800000.ddr-pmu ddr-pmu@3d800000&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;40000000-943fffff : System RAM&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;40480000-418bffff : Kernel code&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;418c0000-41b3ffff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;41b40000-41d1ffff : Kernel data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;43000000-4300bfff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;4501a000-498dbfff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;94400000-a43fffff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;a4400000-bfffffff : System RAM&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ba000000-bfffffff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;100000000-17fffffff : System RAM&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;17b000000-17effffff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;17f180000-17f1dffff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;17f1e0000-17f7e0fff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;17f7e1000-17f83cfff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;17f83f000-17f847fff : reserved&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;17f848000-17fffffff : reserved&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 03:57:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381586#M183979</guid>
      <dc:creator>Russell_Kook</dc:creator>
      <dc:date>2021-12-06T03:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381768#M183997</link>
      <description>&lt;P&gt;So far, haven't seen problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;root@imx8mqevk:~# free&lt;BR /&gt;total used free shared buff/cache available&lt;BR /&gt;Mem: 3037148 386204 2563424 9004 87520 2557760&lt;BR /&gt;Swap: 0 0 0&lt;BR /&gt;root@imx8mqevk:~#&lt;BR /&gt;root@imx8mqevk:~# uname -a&lt;BR /&gt;Linux imx8mqevk 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea #1 SMP PREEMPT Sun Apr 14 10:53:57 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux&lt;BR /&gt;root@imx8mqevk:~# memtester 2048M 1000&lt;BR /&gt;memtester version 4.3.0 (64-bit)&lt;BR /&gt;Copyright (C) 2001-2012 Charles Cazabon.&lt;BR /&gt;Licensed under the GNU General Public License version 2 (only).&lt;/P&gt;
&lt;P&gt;pagesize is 4096&lt;BR /&gt;pagesizemask is 0xfffffffffffff000&lt;BR /&gt;want 2048MB (2147483648 bytes)&lt;BR /&gt;got 2048MB (2147483648 bytes), trying mlock ...locked.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Loop 2/1000:&lt;BR /&gt;Stuck Address : ok&lt;BR /&gt;Random Value : ok&lt;BR /&gt;Compare XOR : ok&lt;BR /&gt;Compare SUB : ok&lt;BR /&gt;Compare MUL : ok&lt;BR /&gt;Compare DIV : ok&lt;BR /&gt;Compare OR : ok&lt;BR /&gt;Compare AND : ok&lt;BR /&gt;Sequential Increment: ok&lt;BR /&gt;Solid Bits : ok&lt;BR /&gt;Block Sequential : ok&lt;BR /&gt;Checkerboard : ok&lt;BR /&gt;Bit Spread : ok&lt;BR /&gt;Bit Flip : testing 359&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 07:52:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381768#M183997</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2021-12-06T07:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: DDR stress test cause system hang in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381776#M183998</link>
      <description>&lt;P&gt;I enabled OPTEE. Finally, I find out the problem comes from reserved memory. It do not really locked.&lt;/P&gt;&lt;P&gt;The following commit solved my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-optee-os/commit/?h=imx_5.4.47_2.2.0&amp;amp;id=995908f2a91c06ccd3e1bab7bc57325ecf270f62" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-optee-os/commit/?h=imx_5.4.47_2.2.0&amp;amp;id=995908f2a91c06ccd3e1bab7bc57325ecf270f62&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 07:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-stress-test-cause-system-hang-in-Linux/m-p/1381776#M183998</guid>
      <dc:creator>alif_chen</dc:creator>
      <dc:date>2021-12-06T07:59:21Z</dc:date>
    </item>
  </channel>
</rss>

