This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mtest problem in U-boot on the TI EVM board

Hi, there

I am a new comer here, and I have met some problem when I was doing the memory test on the TI   EVM board.

I used the mtest in uboot. and It seems different address ranges lead different results.

The following is the log:

XXXXXX#mtest 0x9fff0000 0xa0001000 0 1
Pattern 00000000  Writing...  Reading...
Mem error @ 0xA0000004: found 0000400B, expected 00004001
Tested 1 iteration(s) with 1 errors.
XXXXXX#mtest 0x9ffc0000 0xa0001000 0 1
Pattern 00000000  Writing...  Reading...Tested 1 iteration(s) with 0 errors.
XXXXXX#mtest 0x9ffe0000 0xa0001000 0 1
Pattern 00000000  Writing...  Reading...
Mem error @ 0xA0000004: found 0000800B, expected 00008001
Tested 1 iteration(s) with 1 errors.
XXXXXX#mtest 0x9ffd0000 0xa0001000 0 1
Pattern 00000000  Writing...  Reading...
Mem error @ 0xA0000004: found 0000C00B, expected 0000C001
Tested 1 iteration(s) with 1 errors.

I mean, if you use the 0x9fff0000 as your start addr. then you get a memory error in the 0xa0000004. But if you change the starting address to 0x9ffc0000, then the memory test pass. No error report. So I guess this is a little werid, and I have read the source code of the mtest function, it is very simple and nothing wrong found there. So I am trapped here and come for help.

Is there anybody else meeting the similar problem? Or some one who can give me some hint?....

Thank you in advance!