Hi, On Wed, Oct 28, 2015 at 07:17:55AM +0100, Sascha Hauer wrote: > On Tue, Oct 27, 2015 at 05:55:04PM +0100, Alexander Aring wrote: > > On Tue, Oct 27, 2015 at 09:29:53AM +0100, Sascha Hauer wrote: > > > This series has some updates for the memory test. The output and the > > > code are made more compact and some additional options are added. Also > > > the remap_range function is reworked. > > > > > > > I currently try to build next with memtest, I got the following issue: > > > > commands/memtest.c: In function 'do_test_one_area': > > commands/memtest.c:50:2: error: implicit declaration of function 'mem_test_moving_inversions_pattern' [-Werror=implicit-function-declaration] > > ret = mem_test_moving_inversions_pattern(r->r->start, r->r->end, 0xdeadbeef); > > > > after running grep I realized and there is no > > "mem_test_moving_inversions_pattern" function. :-( > > > > Then: > > > > after cutting some words from this function and running grep again, then > > I found a "mem_test_moving_inversions" function. :-) > > > > It seems it's a different function and you passed a "0xdeadbeef" there, > > otherwise the function fits. > > > > What means 0xdeadbeef here? > > For a customer I need a moving inversions test with a fixed pattern > instead of the own address written to the address. That's a leftover > here. > > I already fixed that one up. > ok, thanks. I also have some idea to creating a small barebox which do a full memtest on banks, if the architecture supports it. E.g. omap which boots from sd card. We have some MLO image. We could have some switch inside the barebox to build a MLO image which automatically starts the memtest after setup memory. I don't know how possible that is and if MLO have the necessary things inside like "memory bank registration", etc. to make a memory test possible. Also if everything fits then in the MLO with the memtest command. Over Kconfig there exists then some switch to enable this behaviour and also setup the arguments for memtest which should automatically started inside the MLO. A MLO for memory-testing, something like that. Just an idea for somebody which wants a "full" memory test. - Alex _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox