2010-02-03 15:14:43 +01:00
|
|
|
config BR2_PACKAGE_MTD
|
2014-01-28 12:39:20 +01:00
|
|
|
bool "mtd, jffs2 and ubi/ubifs tools"
|
2005-01-23 12:16:11 +01:00
|
|
|
help
|
2014-01-28 12:39:20 +01:00
|
|
|
Build mtd, jffs2 and ubi/ubifs tools
|
|
|
|
|
|
|
|
http://www.linux-mtd.infradead.org/
|
2005-01-23 12:16:11 +01:00
|
|
|
|
2007-09-27 02:48:31 +02:00
|
|
|
if BR2_PACKAGE_MTD
|
mtd: bump to version 2.0.0
This revision includes:
- Moving from a handwritten makefile to autotools.
- Restructuring and cleaning up the source tree.
- Fixing the problems that the patches in the package/mtd directory fixed.
Changes:
- Move from generic-package to autotools-package in mtd.mk.
- Remove no longer necessary patches.
- Update binary locations in mtd.mk
- Update library/header locations in mtd.mk
- Remove MTD_ADD_MISSING_LINTL definition from mtd.mk, as it's no longer
needed.
Tested with toolchains compiled with musl, uclibc, and glibc.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: additional improvements
- introduce hidden options BR2_PACKAGE_MTD_JFFS_UTILS,
BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS that match the
./configure options of mtd. Those hidden options select the
appropriate dependencies checked by the configure script, and are
selected by the existing per-tool Config.in options.
- .mk file is changed to handle properly the new hidden options
BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and
BR2_PACKAGE_MTD_TESTS.
- .mk file is changed to properly handle BR2_PACKAGE_ACL, by passing
--with-xattr/--without-xattr.
- remove HOST_MTD_BUILD_CMDS and HOST_MTD_INSTALL_CMDS, those are no
longer needed since we have an autotools-package now.
- MTD_STAGING_y and MTD_INSTALL_STAGING_CMDS are removed, we use the
default staging installation commands, that install everything that
is needed.
- the MTD_TARGETS_UBI_y variable is merged into MTD_TARGETS_y, as we no
longer need to distinguish both.
- integck installation logic is moved into MTD_TARGETS_y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-08 23:05:08 +02:00
|
|
|
|
2017-08-14 22:21:50 +02:00
|
|
|
# The two hidden options below match mtd configure script options
|
|
|
|
# --enable-jffs and --enable-ubifs
|
mtd: bump to version 2.0.0
This revision includes:
- Moving from a handwritten makefile to autotools.
- Restructuring and cleaning up the source tree.
- Fixing the problems that the patches in the package/mtd directory fixed.
Changes:
- Move from generic-package to autotools-package in mtd.mk.
- Remove no longer necessary patches.
- Update binary locations in mtd.mk
- Update library/header locations in mtd.mk
- Remove MTD_ADD_MISSING_LINTL definition from mtd.mk, as it's no longer
needed.
Tested with toolchains compiled with musl, uclibc, and glibc.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: additional improvements
- introduce hidden options BR2_PACKAGE_MTD_JFFS_UTILS,
BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS that match the
./configure options of mtd. Those hidden options select the
appropriate dependencies checked by the configure script, and are
selected by the existing per-tool Config.in options.
- .mk file is changed to handle properly the new hidden options
BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and
BR2_PACKAGE_MTD_TESTS.
- .mk file is changed to properly handle BR2_PACKAGE_ACL, by passing
--with-xattr/--without-xattr.
- remove HOST_MTD_BUILD_CMDS and HOST_MTD_INSTALL_CMDS, those are no
longer needed since we have an autotools-package now.
- MTD_STAGING_y and MTD_INSTALL_STAGING_CMDS are removed, we use the
default staging installation commands, that install everything that
is needed.
- the MTD_TARGETS_UBI_y variable is merged into MTD_TARGETS_y, as we no
longer need to distinguish both.
- integck installation logic is moved into MTD_TARGETS_y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-08 23:05:08 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_JFFS_UTILS
|
|
|
|
bool
|
|
|
|
select BR2_PACKAGE_LZO
|
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_UBIFS_UTILS
|
|
|
|
bool
|
|
|
|
select BR2_PACKAGE_LZO
|
|
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
comment "MTD tools selection"
|
2006-01-24 15:20:55 +01:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_DOCFDISK
|
|
|
|
bool "docfdisk"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_DOC_LOADBIOS
|
|
|
|
bool "doc_loadbios"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_FLASHCP
|
|
|
|
bool "flashcp"
|
|
|
|
default y
|
|
|
|
|
2005-01-23 12:16:11 +01:00
|
|
|
config BR2_PACKAGE_MTD_FLASH_ERASE
|
|
|
|
bool "flash_erase"
|
|
|
|
default y
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2005-01-23 12:16:11 +01:00
|
|
|
config BR2_PACKAGE_MTD_FLASH_LOCK
|
2007-01-14 02:01:07 +01:00
|
|
|
bool "flash_lock"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
|
|
|
|
2010-01-07 18:57:36 +01:00
|
|
|
config BR2_PACKAGE_MTD_FLASH_OTP_DUMP
|
|
|
|
bool "flash_otp_dump"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_FLASH_OTP_INFO
|
|
|
|
bool "flash_otp_info"
|
|
|
|
|
2013-01-11 01:43:53 +01:00
|
|
|
config BR2_PACKAGE_MTD_FLASH_OTP_LOCK
|
|
|
|
bool "flash_otp_lock"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_FLASH_OTP_WRITE
|
|
|
|
bool "flash_otp_write"
|
|
|
|
|
2005-01-23 12:16:11 +01:00
|
|
|
config BR2_PACKAGE_MTD_FLASH_UNLOCK
|
|
|
|
bool "flash_unlock"
|
|
|
|
default y
|
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_FTL_CHECK
|
|
|
|
bool "ftl_check"
|
2005-01-23 12:16:11 +01:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_FTL_FORMAT
|
|
|
|
bool "ftl_format"
|
2007-01-14 02:01:07 +01:00
|
|
|
|
2005-01-23 12:16:11 +01:00
|
|
|
config BR2_PACKAGE_MTD_JFFS2DUMP
|
|
|
|
bool "jffs2dump"
|
mtd: bump to version 2.0.0
This revision includes:
- Moving from a handwritten makefile to autotools.
- Restructuring and cleaning up the source tree.
- Fixing the problems that the patches in the package/mtd directory fixed.
Changes:
- Move from generic-package to autotools-package in mtd.mk.
- Remove no longer necessary patches.
- Update binary locations in mtd.mk
- Update library/header locations in mtd.mk
- Remove MTD_ADD_MISSING_LINTL definition from mtd.mk, as it's no longer
needed.
Tested with toolchains compiled with musl, uclibc, and glibc.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: additional improvements
- introduce hidden options BR2_PACKAGE_MTD_JFFS_UTILS,
BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS that match the
./configure options of mtd. Those hidden options select the
appropriate dependencies checked by the configure script, and are
selected by the existing per-tool Config.in options.
- .mk file is changed to handle properly the new hidden options
BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and
BR2_PACKAGE_MTD_TESTS.
- .mk file is changed to properly handle BR2_PACKAGE_ACL, by passing
--with-xattr/--without-xattr.
- remove HOST_MTD_BUILD_CMDS and HOST_MTD_INSTALL_CMDS, those are no
longer needed since we have an autotools-package now.
- MTD_STAGING_y and MTD_INSTALL_STAGING_CMDS are removed, we use the
default staging installation commands, that install everything that
is needed.
- the MTD_TARGETS_UBI_y variable is merged into MTD_TARGETS_y, as we no
longer need to distinguish both.
- integck installation logic is moved into MTD_TARGETS_y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-08 23:05:08 +02:00
|
|
|
select BR2_PACKAGE_MTD_JFFS_UTILS
|
2005-01-23 12:16:11 +01:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_MKFSJFFS2
|
|
|
|
bool "mkfs.jffs2"
|
mtd: bump to version 2.0.0
This revision includes:
- Moving from a handwritten makefile to autotools.
- Restructuring and cleaning up the source tree.
- Fixing the problems that the patches in the package/mtd directory fixed.
Changes:
- Move from generic-package to autotools-package in mtd.mk.
- Remove no longer necessary patches.
- Update binary locations in mtd.mk
- Update library/header locations in mtd.mk
- Remove MTD_ADD_MISSING_LINTL definition from mtd.mk, as it's no longer
needed.
Tested with toolchains compiled with musl, uclibc, and glibc.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: additional improvements
- introduce hidden options BR2_PACKAGE_MTD_JFFS_UTILS,
BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS that match the
./configure options of mtd. Those hidden options select the
appropriate dependencies checked by the configure script, and are
selected by the existing per-tool Config.in options.
- .mk file is changed to handle properly the new hidden options
BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and
BR2_PACKAGE_MTD_TESTS.
- .mk file is changed to properly handle BR2_PACKAGE_ACL, by passing
--with-xattr/--without-xattr.
- remove HOST_MTD_BUILD_CMDS and HOST_MTD_INSTALL_CMDS, those are no
longer needed since we have an autotools-package now.
- MTD_STAGING_y and MTD_INSTALL_STAGING_CMDS are removed, we use the
default staging installation commands, that install everything that
is needed.
- the MTD_TARGETS_UBI_y variable is merged into MTD_TARGETS_y, as we no
longer need to distinguish both.
- integck installation logic is moved into MTD_TARGETS_y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-08 23:05:08 +02:00
|
|
|
select BR2_PACKAGE_MTD_JFFS_UTILS
|
2006-01-23 21:48:56 +01:00
|
|
|
|
2013-07-29 04:11:50 +02:00
|
|
|
config BR2_PACKAGE_MTD_MKFSUBIFS
|
|
|
|
bool "mkfs.ubifs"
|
mtd: bump to version 2.0.0
This revision includes:
- Moving from a handwritten makefile to autotools.
- Restructuring and cleaning up the source tree.
- Fixing the problems that the patches in the package/mtd directory fixed.
Changes:
- Move from generic-package to autotools-package in mtd.mk.
- Remove no longer necessary patches.
- Update binary locations in mtd.mk
- Update library/header locations in mtd.mk
- Remove MTD_ADD_MISSING_LINTL definition from mtd.mk, as it's no longer
needed.
Tested with toolchains compiled with musl, uclibc, and glibc.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: additional improvements
- introduce hidden options BR2_PACKAGE_MTD_JFFS_UTILS,
BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS that match the
./configure options of mtd. Those hidden options select the
appropriate dependencies checked by the configure script, and are
selected by the existing per-tool Config.in options.
- .mk file is changed to handle properly the new hidden options
BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and
BR2_PACKAGE_MTD_TESTS.
- .mk file is changed to properly handle BR2_PACKAGE_ACL, by passing
--with-xattr/--without-xattr.
- remove HOST_MTD_BUILD_CMDS and HOST_MTD_INSTALL_CMDS, those are no
longer needed since we have an autotools-package now.
- MTD_STAGING_y and MTD_INSTALL_STAGING_CMDS are removed, we use the
default staging installation commands, that install everything that
is needed.
- the MTD_TARGETS_UBI_y variable is merged into MTD_TARGETS_y, as we no
longer need to distinguish both.
- integck installation logic is moved into MTD_TARGETS_y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-08 23:05:08 +02:00
|
|
|
select BR2_PACKAGE_MTD_UBIFS_UTILS
|
2013-07-29 04:11:50 +02:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_MTD_DEBUG
|
|
|
|
bool "mtd_debug"
|
2005-03-09 18:27:14 +01:00
|
|
|
default y
|
|
|
|
|
2015-08-04 13:19:38 +02:00
|
|
|
config BR2_PACKAGE_MTD_MTDPART
|
|
|
|
bool "mtdpart"
|
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_NANDDUMP
|
|
|
|
bool "nanddump"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_NANDTEST
|
|
|
|
bool "nandtest"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_NANDWRITE
|
|
|
|
bool "nandwrite"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2010-01-07 18:57:36 +01:00
|
|
|
config BR2_PACKAGE_MTD_NFTLDUMP
|
|
|
|
bool "nftldump"
|
|
|
|
|
2005-01-23 12:16:11 +01:00
|
|
|
config BR2_PACKAGE_MTD_NFTL_FORMAT
|
|
|
|
bool "nftl_format"
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2010-01-07 18:57:36 +01:00
|
|
|
config BR2_PACKAGE_MTD_RECV_IMAGE
|
|
|
|
bool "recv_image"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_RFDDUMP
|
|
|
|
bool "rfddump"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_RFDFORMAT
|
|
|
|
bool "rfdformat"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_SERVE_IMAGE
|
|
|
|
bool "serve_image"
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_SUMTOOL
|
|
|
|
bool "sumtool"
|
mtd: bump to version 2.0.0
This revision includes:
- Moving from a handwritten makefile to autotools.
- Restructuring and cleaning up the source tree.
- Fixing the problems that the patches in the package/mtd directory fixed.
Changes:
- Move from generic-package to autotools-package in mtd.mk.
- Remove no longer necessary patches.
- Update binary locations in mtd.mk
- Update library/header locations in mtd.mk
- Remove MTD_ADD_MISSING_LINTL definition from mtd.mk, as it's no longer
needed.
Tested with toolchains compiled with musl, uclibc, and glibc.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: additional improvements
- introduce hidden options BR2_PACKAGE_MTD_JFFS_UTILS,
BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS that match the
./configure options of mtd. Those hidden options select the
appropriate dependencies checked by the configure script, and are
selected by the existing per-tool Config.in options.
- .mk file is changed to handle properly the new hidden options
BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and
BR2_PACKAGE_MTD_TESTS.
- .mk file is changed to properly handle BR2_PACKAGE_ACL, by passing
--with-xattr/--without-xattr.
- remove HOST_MTD_BUILD_CMDS and HOST_MTD_INSTALL_CMDS, those are no
longer needed since we have an autotools-package now.
- MTD_STAGING_y and MTD_INSTALL_STAGING_CMDS are removed, we use the
default staging installation commands, that install everything that
is needed.
- the MTD_TARGETS_UBI_y variable is merged into MTD_TARGETS_y, as we no
longer need to distinguish both.
- integck installation logic is moved into MTD_TARGETS_y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-08 23:05:08 +02:00
|
|
|
select BR2_PACKAGE_MTD_JFFS_UTILS
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2010-04-19 22:36:13 +02:00
|
|
|
config BR2_PACKAGE_MTD_MTDINFO
|
|
|
|
bool "mtdinfo"
|
|
|
|
default y
|
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_UBIATTACH
|
|
|
|
bool "ubiattach"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_UBICRC32
|
|
|
|
bool "ubicrc32"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_UBIDETACH
|
|
|
|
bool "ubidetach"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2010-02-03 14:18:23 +01:00
|
|
|
config BR2_PACKAGE_MTD_UBIFORMAT
|
|
|
|
bool "ubiformat"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_UBIMKVOL
|
|
|
|
bool "ubimkvol"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
2005-03-09 18:27:14 +01:00
|
|
|
|
2008-03-26 07:35:31 +01:00
|
|
|
config BR2_PACKAGE_MTD_UBINFO
|
|
|
|
bool "ubinfo"
|
2005-01-23 12:16:11 +01:00
|
|
|
default y
|
2010-02-03 14:18:23 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_UBINIZE
|
|
|
|
bool "ubinize"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_UBIRENAME
|
|
|
|
bool "ubirename"
|
|
|
|
default y
|
2008-03-26 07:35:31 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_UBIRMVOL
|
|
|
|
bool "ubirmvol"
|
|
|
|
default y
|
2010-02-03 14:18:23 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_UBIRSVOL
|
|
|
|
bool "ubirsvol"
|
|
|
|
default y
|
2008-03-26 07:35:31 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MTD_UBIUPDATEVOL
|
|
|
|
bool "ubiupdatevol"
|
|
|
|
default y
|
2007-07-20 10:00:19 +02:00
|
|
|
|
2014-04-10 01:40:24 +02:00
|
|
|
config BR2_PACKAGE_MTD_UBIBLOCK
|
|
|
|
bool "ubiblock"
|
|
|
|
default y
|
|
|
|
|
2017-08-14 22:21:50 +02:00
|
|
|
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"
|
|
|
|
|
2016-07-14 23:03:47 +02:00
|
|
|
config BR2_PACKAGE_MTD_INTEGCK
|
|
|
|
bool "integck"
|
|
|
|
|
2017-08-14 22:21:50 +02:00
|
|
|
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"
|
2017-08-15 06:20:04 +02:00
|
|
|
depends on BR2_USE_MMU
|
2017-08-14 22:21:50 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
2017-08-15 06:20:04 +02:00
|
|
|
|
2007-09-27 02:48:31 +02:00
|
|
|
endif
|