DDR stress test cause system hang in Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DDR stress test cause system hang in Linux

Jump to solution
26,280 Views
johncoll
Contributor II

Hello NXPs,
Release: Yocto-Sumo (4.14.98_2.0.0_GA)
Board: i.MX8MQ EVK based custom board
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.
The system always hang when doing RAM stress test with more than 760MB RAM.

Screenshot from 2020-02-26 22-05-56.png

I've already done RAM testing with DDR Tool and mtest in Uboot and all PASSED, then configured the linux system recognized with 2GB RAM.
Does anyone provide the solution for this issue? Any guidance or suggestions will be really helpful.
Best regards,
John.

Updated: Add hang log and DDR Controller Configuration Spreadsheet 

0 Kudos
1 Solution
24,014 Views
johncoll
Contributor II

hello all,

There're seem to have many solutions to resolve the issue with updated patch. But on my case we resolved it by fixing the VPU power supply ripple base on Power Consumption Measurement document. 

Best regards.

John

View solution in original post

0 Kudos
22 Replies
2,046 Views
johncoll
Contributor II

Hi Igor

I've tested with new patch and system still hang like before, but this time kernel show some log like bellow

Screenshot from 2020-02-27 21-19-42.png

Any idea?

Best regards.

John

0 Kudos
1,940 Views
igorpadykov
NXP Employee
NXP Employee

Hi John

1. what is full processor part number

2. please provide full log: uboot + linux

3. can you confirm that you used latest MX8M_LPDDR4_RPA_v24.xlsx tool

with latest ver.3.10 DDR test version below

i.MX8 MSCALE SERIES DDR Tool Release (V3.10) 

and followed Chapter 4 How to bring up a new MX8MSCALE board

MSCALE_DDR_Tool_User_Guide.pdf included in package
4. please try with uboot and linux from nxp source.codeaurora.org/external/imx/linux-imx  repository
linux-imx - i.MX Linux kernel 

uboot-imx - i.MX U-Boot 

5. what you do mean saying "doing stress test RAM in linux" - is it linux "memtester" or

some custom test ?

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos