[U-Boot] mtest issue

Alexey Goncharov alexygoncharov at gmail.com
Thu Nov 19 07:31:37 CET 2009


Hello everyone,

I have a LPC2468 board and currently play with u-boot. U-boot version
is 1.1.6 from Embedded Artists. I've already made u-boot loading and
executing user commands. Everything seems works fine, except the
memory test (mtest) command:

lpc-board# mtest

Pattern 00000000  Writing...  Reading...
Mem error @ 0xA075AB74: found A0780000, expected 001D6ADD

Mem error @ 0xA075AB78: found 001D6ADD, expected 001D6ADE

Pattern FFFFFFFF  Writing...

After the mtest started to check RAM with "0xFFFFFFFF" pattern the
system stops to respond. In case with CFG_ALT_MEMTEST defined mtest
also fails with error:

Testing a0000000 ... a0780000:
Iteration:      1
FAILURE (read/write) @ 0xa075ab68: expected 0x001d6adb, actual 0xffe29525)

You can see the ram dump made with "md a075ab40" command:

a075ab30: ffe29532 ffe29531 ffe29530 ffe2952f             2...1...0.../...
a075ab40: a075ab68 a0788b64 a079ad7c a079ad7c    h.u.d.x.|.y.|.y.
a075ab50: 0000000d 0000000d a075ab68 a075ab74    ........h.u.t.u.
a075ab60: 00000000 00000040 00000000 00000040    .... at .......@...
a075ab70: 00000000 00000040 a079decc 00000002

This segment of RAM (addresses from 0xa075ab40) seems already
initialized and used somehow by u-boot. I've checked second board in
the same way. The result is the same, so any hardware problems are
excepted. The question is: what is it? Is it stack or something else?
Should i pay attention on that or just don't mind. Is it possible to
make mtest pass?

As you may see, i'm totally new to u-boot and have no experience at
all, that's why maybe my question will make you laugh. Anyway, could
you please, help me to find the shortest way to fix this issue.

Thank you for your time wasted on me,
Alexey Goncharov, Russia


More information about the U-Boot mailing list