|
@@ -7,8 +7,8 @@ config BR2_PACKAGE_MTD
|
|
|
|
|
|
if BR2_PACKAGE_MTD
|
|
if BR2_PACKAGE_MTD
|
|
|
|
|
|
-# The three hidden options below match mtd configure script options
|
|
|
|
-# --enable-jffs, --enable-ubifs and --enable-tests.
|
|
|
|
|
|
+# The two hidden options below match mtd configure script options
|
|
|
|
+# --enable-jffs and --enable-ubifs
|
|
|
|
|
|
config BR2_PACKAGE_MTD_JFFS_UTILS
|
|
config BR2_PACKAGE_MTD_JFFS_UTILS
|
|
bool
|
|
bool
|
|
@@ -22,10 +22,6 @@ config BR2_PACKAGE_MTD_UBIFS_UTILS
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
select BR2_PACKAGE_ZLIB
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
|
|
-config BR2_PACKAGE_MTD_TESTS
|
|
|
|
- bool
|
|
|
|
- depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
-
|
|
|
|
comment "MTD tools selection"
|
|
comment "MTD tools selection"
|
|
|
|
|
|
config BR2_PACKAGE_MTD_DOCFDISK
|
|
config BR2_PACKAGE_MTD_DOCFDISK
|
|
@@ -173,16 +169,43 @@ config BR2_PACKAGE_MTD_UBIBLOCK
|
|
bool "ubiblock"
|
|
bool "ubiblock"
|
|
default y
|
|
default y
|
|
|
|
|
|
|
|
+config BR2_PACKAGE_MTD_TESTS
|
|
|
|
+ bool "MTD test tools"
|
|
|
|
+ depends on BR2_USE_MMU # fork() in fstests
|
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
+ help
|
|
|
|
+ Build and install tools for testing MTD devices and drivers.
|
|
|
|
+
|
|
|
|
+if BR2_PACKAGE_MTD_TESTS
|
|
|
|
+
|
|
|
|
+config BR2_PACKAGE_MTD_FLASH_READTEST
|
|
|
|
+ bool "flash_readtest"
|
|
|
|
+
|
|
|
|
+config BR2_PACKAGE_MTD_FLASH_SPEED
|
|
|
|
+ bool "flash_speed"
|
|
|
|
+
|
|
|
|
+config BR2_PACKAGE_MTD_FLASH_STRESS
|
|
|
|
+ bool "flash_stress"
|
|
|
|
+
|
|
|
|
+config BR2_PACKAGE_MTD_FLASH_TORTURE
|
|
|
|
+ bool "flash_torture"
|
|
|
|
+
|
|
config BR2_PACKAGE_MTD_INTEGCK
|
|
config BR2_PACKAGE_MTD_INTEGCK
|
|
bool "integck"
|
|
bool "integck"
|
|
- depends on BR2_TOOLCHAIN_HAS_THREADS # mtd-tests
|
|
|
|
- depends on BR2_USE_MMU # fork()
|
|
|
|
- select BR2_PACKAGE_MTD_TESTS
|
|
|
|
- help
|
|
|
|
- Install the integck test program.
|
|
|
|
|
|
|
|
-comment "integck needs a toolchain w/ threads"
|
|
|
|
- depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
|
+config BR2_PACKAGE_MTD_NANDBITERRS
|
|
|
|
+ bool "nandbiterrs"
|
|
|
|
+
|
|
|
|
+config BR2_PACKAGE_MTD_NANDPAGETEST
|
|
|
|
+ bool "nandpagetest"
|
|
|
|
+
|
|
|
|
+config BR2_PACKAGE_MTD_NANDSUBPAGETEST
|
|
|
|
+ bool "nandsubpagetest"
|
|
|
|
+
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+comment "MTD test tools need a toolchain w/ threads"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_USE_MMU
|
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
|
endif
|
|
endif
|