Skip to contentSkip to conversation

Memory Tests in U-Boot

U-Boot devendra.devadiga at iwavesystems.com 1 participant 1 message Nov 23, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

In U-Boot I found some generic memory tests commands like mtest and POST tests. But I need to do 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 ?

For Checkerboard algorithm, based on the explanation from below link (got by web search) I tried to implement
https://www.design-reuse.com/articles/45915/memory-testing-self-repair-mechanism.html
Attached the file: cmd_checkerboard.c
Is the implementation I did is proper ? Can you verify once?

Similarly for March C- test based on explanation from these docs (got by web search) I tried to implement March C- test
https://eecs.ceas.uc.edu/~jonewb/Memory.pdf
http://www.ee.ncu.edu.tw/~jfli/memtest/lecture/ch03.pdf
Attached the file: cmd_marchc_min.c
Please can you verify once?

For Active Neighborhood Pattern Sensitive Fault test, still I didn't get the proper algorithms.
Can you refer me the any link or source codes for this test?

Thanks and Regards,
Devendra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_checkerboard.c
Type: text/x-c
Size: 2851 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191122/2e65344c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_marchc_min.c
Type: text/x-c
Size: 3336 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191122/2e65344c/attachment-0001.bin>