summaryrefslogtreecommitdiffstats
path: root/rules/mtd-utils.in
blob: 4d3395484df8689bafd794c567f1be98842ad095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
## SECTION=shell_and_console

menuconfig MTD_UTILS
	tristate
	prompt "mtd-utils                     "
	select ZLIB
	select LIBUUID
	select LIBLZO if MTD_UTILS_USE_LIBLZO
	help
	  Memory Technology Device Utilities

	  mtdutils is a set of utilities for doing low-level
	  operations on flash devices.

if MTD_UTILS

config MTD_UTILS_USE_LIBLZO
	bool
	prompt "liblzo support"
	help
	  Enable LZO support

config MTD_UTILS_FLASH_ERASE
	bool
	prompt "flash_erase"
	help
	  erase parts of a MTD device

config MTD_UTILS_FLASH_ERASEALL
	bool
	prompt "flash_eraseall"
	help
	  erase the whole of a MTD device

config MTD_UTILS_FLASH_INFO
	bool
	prompt "flash_info"
	help
	  print info about a MTD device

config MTD_UTILS_FLASH_LOCK
	bool
	prompt "flash_lock"
	help
	  This utility locks one or more sectors of flash device.

config MTD_UTILS_FLASH_UNLOCK
	bool
	prompt "flash_unlock"
	help
	  This utility unlock all sectors of flash device.

config MTD_UTILS_FLASHCP
	bool
	prompt "flashcp"
	help
	  Flash Copy - Written by Abraham van der Merwe

config MTD_UTILS_FTL_CHECK
	bool
	prompt "ftl_check"
	help
	  Utility to check an FTL partition

config MTD_UTILS_FTL_FORMAT
	bool
	prompt "ftl_format"
	help
	  Utility to create an FTL partition in a memory region

config MTD_UTILS_JFFS2_DUMP
	bool
	prompt "jffs2_dump"
	help
	  This utility dumps the contents of a binary JFFS2 image

#config MTD_UTILS_JFFS2READER
#	bool
#	prompt "jffs2reader"
#	help
#	  A jffs2 image reader

config MTD_UTILS_JITTERTEST
	bool
	prompt "jittertest"
	help
	  This program is used to measure what the jitter of a
	  real time task would be under "standard" Linux.

	  More particularly, what is the effect of running
	  a real time task under Linux with background
	  JFFS file system activity.

config MTD_UTILS_MTDDEBUG
	bool
	prompt "mtd_debug"
	help
	  Does info, read, write and erase on mtd devices

config MTD_UTILS_NANDDUMP
	bool
	prompt "nanddump"
	help
	  This utility dumps the contents of raw NAND chips or NAND
	  chips contained in DoC devices.

config MTD_UTILS_NANDWRITE
	bool
	prompt "nandwrite"
	help
	  This utility writes a binary image directly to a NAND flash
	  chip or NAND chips contained in DoC devices. This is the
	  "inverse operation" of nanddump.

config MTD_UTILS_NFTL_FORMAT
	bool
	prompt "nftl_format"
	help
	  Creating a NFTL/INFTL partition on an MTD device

config MTD_UTILS_NFTLDUMP
	bool
	prompt "nftldump"
	help
	  Dumping the content of NFTL partitions on a "Physical Disk"

config MTD_UTILS_MKJFFS2
	bool
	prompt "mkfs.jffs2"
	help
	  Build a JFFS2 image in a file, from a given directory tree.

config MTD_UTILS_SUMTOOL
	bool
	prompt "sumtool"
	help
	  Sumtool can be used to generate EBS(Erase Block Summary)
	  information for a jffs2 image. This way we can do faster
	  filesystem mount. To use this the JFFS2_SUMMARY option must
	  be enabled in kernel.
	  
menuconfig MTD_UTILS_UBI_UTILS
	bool
	prompt "ubi utils"
	help
	  Build UBI Utils

if MTD_UTILS_UBI_UTILS

config MTD_UTILS_UBIATTACH
	bool
	prompt "ubiattach"
	help
	  Attach an ubi device to a mtd device

config MTD_UTILS_UBICRC32
	bool
	prompt "ubicrc32"
	help
	  UBI CRC2 file checksum

config MTD_UTILS_UBIDETACH
	bool
	prompt "ubidetach"
	help
	  Detach an ubi device from a mtd device

config MTD_UTILS_UBIFORMAT
	bool
	select GCCLIBS_GCC_S
	prompt "ubiformat"
	help
	  format an mtd device

config MTD_UTILS_UBIMKVOL
	bool
	prompt "ubimkvol"
	help
	  Creates a volume on a UBI device

config MTD_UTILS_UBINFO
	bool
	prompt "ubinfo"
	help
	  Provides infos on UBI volumes and devices

config MTD_UTILS_UBINIZE
	bool
	prompt "ubinize"
	help
	  Creates UBI images. Probably more useful on host than on target

config MTD_UTILS_UBIRMVOL
	bool
	prompt "ubirmvol"
	help
	  Deletes a volume on a UBI device

config MTD_UTILS_UBIUPDATEVOL
	bool
	prompt "ubiupdatevol"
	help
	  Updates a volume with data from file

config MTD_UTILS_MKFS_UBIFS
	bool
	prompt "mkfs.ubifs"
	help
	  Create ubifs filesystems

endif

config MTD_UTILS_MTDINFO
	bool
	prompt "mtdinfo"
	help
	  Print UBI specific information about mtd devices

endif