diff options
author | Bernhard Walle <walle@corscience.de> | 2012-03-15 14:06:33 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-03-16 11:49:23 +0100 |
commit | dfcf060370c1ee252764a3476900e98b8acdf5c8 (patch) | |
tree | 648ec38e8b7572df8e02c3090577e46ca2d1ca2a /rules/flashbench.in | |
parent | 81e66e3e12ea2e8af61a4b1cf2196c53ce66e702 (diff) | |
download | ptxdist-dfcf060370c1ee252764a3476900e98b8acdf5c8.tar.gz ptxdist-dfcf060370c1ee252764a3476900e98b8acdf5c8.tar.xz |
Add flashbench tool
This patch adds the flashbench tool from Linaro Project
git://git.linaro.org/people/arnd/flashbench.git. See also
http://lwn.net/Articles/428584/. Because there is no tarball, I
exported the current git repo and put it on my server.
The default maximum buffer size of 64 MiB (the buffer is allocated 4
times) was too large for my device, so I patched the tool and added an
option in the ptxdist menu.
Tested with a custom OMAP3 board which is similar to the Devkit8000.
Signed-off-by: Bernhard Walle <walle@corscience.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/flashbench.in')
-rw-r--r-- | rules/flashbench.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/rules/flashbench.in b/rules/flashbench.in new file mode 100644 index 000000000..e8f09ef17 --- /dev/null +++ b/rules/flashbench.in @@ -0,0 +1,31 @@ +## SECTION=test_suites + +menuconfig FLASHBENCH + tristate + prompt "flashbench " + help + Identify characteristics of flash media + + This is the tool used to identify the properties of + SD cards and other media for the Linaro flash memory + survey at [1]. The latest version should be available + at [2]. Please also check out the article on lwn.net [3]. + + [1] https://wiki.linaro.org/WorkingGroups/KernelConsolidation/Projects/FlashCardSurvey + [2] git clone git://git.linaro.org/people/arnd/flashbench.git + [3] http://lwn.net/Articles/428584/ + +if FLASHBENCH + +config FLASHBENCH_MAX_BUFSIZE + string + prompt "Maximum flashbench buffer size in megabytes" + default 64 + help + This is the maximum buffer size flashbench uses during operationg. + The buffer gets allocated 4 times, so take that into account when + choosing a buffer. The default is 64 MiB. + +endif + +# vim: set ft=kconfig: |