From: devendra.devadiga at iwavesystems.com Date: Fri, 22 Nov 2019 23:23:34 -0600 Subject: [U-Boot] Memory Tests in U-Boot Message-ID: <6f8302a066b2f970593f44e65d095c6a@iwavesystems.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: cmd_marchc_min.c Type: text/x-c Size: 3336 bytes Desc: not available URL: