summaryrefslogtreecommitdiffstats
path: root/rules/mtd-utils.in
blob: 7f7085963266a9a7c5a05869b5ff517140855660 (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
## SECTION=shell_and_console
menuconfig MTD_UTILS
	tristate
	prompt "mtd-utils                     "
	select ZLIB
	help
	  mtdutils is a set of utilities for doing low-level operations on flash devices.

if MTD_UTILS

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.

comment "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
	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

endif