summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-06-04 01:13:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-08 15:00:55 +0200
commit842308e29774c577291cae09a8a71ecc3b708b92 (patch)
treebf7d9a21f1e48d74d0cdf69e239d5832d561507e /commands/Kconfig
parent3275c7ea43f366bcfac5a9f8ffc0d001592d9529 (diff)
downloadbarebox-842308e29774c577291cae09a8a71ecc3b708b92.tar.gz
barebox-842308e29774c577291cae09a8a71ecc3b708b92.tar.xz
commands: add new memtest command
This new memtest can test the whole unused memory. The new memtest command try to request the whole unused sdram regions on all banks and run the mem_test routine from common/memtest.c on it. The memtest command has only two parameters; -i Amount of iterations, default 1, iteration of 0 is endless. -b Set this to skip integrity check.(Do only a fast test for bus lines) If MMU support is enable, memtest try to run memtest twice. The first with cache enabled, the second with cache disabled. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 82209fa01c..1af218698e 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -561,6 +561,16 @@ config CMD_NANDTEST
select PARTITION_NEED_MTD
prompt "nandtest"
+config CMD_MEMTEST
+ tristate
+ prompt "memtest"
+ help
+ The memtest command can test the registered barebox memory.
+ During this test barebox memory regions like heap, stack, ...
+ will be skipped. If the tested architecture has MMU with PTE
+ flags support, the memtest is running twice with cache enabled
+ and with cache disabled
+
endmenu
menu "video command"