Memory Tests in U-Boot
Hi,
In U-Boot I found some generic memory tests commands like mtest and post tests. But I need complete DDR4 memory test with below algorithms:
* Checkerboard Test
* March C- Test
* Neighborhood Pattern Sensitive Fault
Can I get any reference code for these algorithms in U-Boot ? Implementation for these algorithms available in any of U-Boot version ?
Thanks and Regards,
Devendra
Quoted 10 lines · On 11/19/19 7:28 AM, [email protected] wrote:
Hi,
In U-Boot I found some generic memory tests commands like mtest and post tests. But I need complete DDR4 memory test with below algorithms:
* Checkerboard Test
* March C- Test
* Neighborhood Pattern Sensitive FaultCan I get any reference code for these algorithms in U-Boot ? Implementation for these algorithms available in any of U-Boot version ?
I don't know if any of the (too many) versions of u-boot have that feature. If you are willing to test from userspace, there is memtester:
https://layers.openembedded.org/layerindex/recipe/863/
I don't think it has all of the tests you asked for but it would be good if you could take a look and report back here for those interested.
Here's a test run that a web search returned:
https://www.lightsoftai.com/?p=113
Also, the stress-ng has some memory tests including one that tests neighbour sensitivity:
https://layers.openembedded.org/layerindex/recipe/104982/
man stress-ng:
galpat-0
galloping pattern zeros. This sets all bits to 0 and flips just 1 in 4096 bits to 1. It then checks to see if the 1s are pulled down to 0 by their neighbours or of the neighbours have been pulled up to 1.
Good luck and please let us know what you find,
../Randy
Quoted 3 lines
Thanks and Regards,
Devendra
Signature · 2 lines
# Randy MacLeod # Wind River Linux
Quoted 11 lines · On Tue, 19 Nov 2019, at 12:28, [email protected] wrote:
Hi,
In U-Boot I found some generic memory tests commands like mtest and post tests. But I need complete DDR4 memory test with below algorithms:
* Checkerboard Test
* March C- Test
* Neighborhood Pattern Sensitive FaultCan I get any reference code for these algorithms in U-Boot ? Implementation for these algorithms available in any of U-Boot version ?
You may be better asking this on the u-boot list <[email protected]>.
Signature · 1 line
Paul Barker
Hello,
Quoted 11 lines · Paul Barker
Quoted 9 lines · On Tue, 19 Nov 2019, at 12:28, [email protected] wrote:
Hi,
In U-Boot I found some generic memory tests commands like mtest and post tests. But I need complete DDR4 memory test with below algorithms:
* Checkerboard Test
* March C- Test
* Neighborhood Pattern Sensitive Fault
We found stressapptest (by Google) the most reliable test for DDR calibration problems.
We have seen unreliable systems pass other memory tests such as in U-Boot.
Regards, Leon
Quoted 2 lines
--
Leon Woestenberg
[email protected]
T: +31 40 711 42 76
M: +31 6 472 30 372
Sidebranch
Embedded Systems
Eindhoven, The Netherlands
http://www.sidebranch.com