I am working on a custom board design based on Spectrum Digital's TI8168EVM.
I would like to define a method to test DDR memory in our production line so that we can detect any soldering problems that might occur during our manufacturing process.
Is there a recommended way to test DDR memory in a fast way either on Linux or in U-Boot?
I have found a command in u-boot named mtest that seems to perform a very basic test, but I am not able to test the complete 1GB memory on my system.
Taking a deeper look into my problem, I have discovered that U-Boot is placing part of its code on 0x40400000 (SRAM) and 0x80700000 (DDR RAM), so I can understand why my system crashes when testing some of the addresses.
Why is it that looking at my code u-boot.map and board/ti/ti8168/config.mk are showing me that U-Boot should be at address 0x80700000, but doing md -s in U-boot I can see that there's actually some sort of information starting at address 0x806F4000 ? What is that information, and why does my system crash when I try to write there?
What can I do to be able to test my whole RAM address range, from 80000000 to C0000000 ?
Thank you in advance for your help.