hc
2023-11-22 f743a7adbd6e230d66a6206fa115b59fec2d88eb
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
config BR2_PACKAGE_MTD
   bool "mtd, jffs2 and ubi/ubifs tools"
   help
     Build mtd, jffs2 and ubi/ubifs tools
 
     http://www.linux-mtd.infradead.org/
 
if BR2_PACKAGE_MTD
 
# The two hidden options below match mtd configure script options
# --enable-jffs and --enable-ubifs
 
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
 
comment "MTD tools selection"
 
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
 
config BR2_PACKAGE_MTD_FLASH_ERASE
   bool "flash_erase"
   default y
 
config BR2_PACKAGE_MTD_FLASH_LOCK
   bool "flash_lock"
   default y
 
config BR2_PACKAGE_MTD_FLASH_OTP_DUMP
   bool "flash_otp_dump"
 
config BR2_PACKAGE_MTD_FLASH_OTP_INFO
   bool "flash_otp_info"
 
config BR2_PACKAGE_MTD_FLASH_OTP_LOCK
   bool "flash_otp_lock"
 
config BR2_PACKAGE_MTD_FLASH_OTP_WRITE
   bool "flash_otp_write"
 
config BR2_PACKAGE_MTD_FLASH_UNLOCK
   bool "flash_unlock"
   default y
 
config BR2_PACKAGE_MTD_FTL_CHECK
   bool "ftl_check"
 
config BR2_PACKAGE_MTD_FTL_FORMAT
   bool "ftl_format"
 
config BR2_PACKAGE_MTD_JFFS2DUMP
   bool "jffs2dump"
   select BR2_PACKAGE_MTD_JFFS_UTILS
 
config BR2_PACKAGE_MTD_MKFSJFFS2
   bool "mkfs.jffs2"
   select BR2_PACKAGE_MTD_JFFS_UTILS
 
config BR2_PACKAGE_MTD_MKFSUBIFS
   bool "mkfs.ubifs"
   select BR2_PACKAGE_MTD_UBIFS_UTILS
 
config BR2_PACKAGE_MTD_MTD_DEBUG
   bool "mtd_debug"
   default y
 
config BR2_PACKAGE_MTD_MTDPART
   bool "mtdpart"
 
config BR2_PACKAGE_MTD_NANDDUMP
   bool "nanddump"
   default y
 
config BR2_PACKAGE_MTD_NANDTEST
   bool "nandtest"
   default y
 
config BR2_PACKAGE_MTD_NANDWRITE
   bool "nandwrite"
   default y
 
config BR2_PACKAGE_MTD_NFTLDUMP
   bool "nftldump"
 
config BR2_PACKAGE_MTD_NFTL_FORMAT
   bool "nftl_format"
 
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"
 
config BR2_PACKAGE_MTD_SUMTOOL
   bool "sumtool"
   select BR2_PACKAGE_MTD_JFFS_UTILS
 
config BR2_PACKAGE_MTD_MTDINFO
   bool "mtdinfo"
   default y
 
config BR2_PACKAGE_MTD_UBIATTACH
   bool "ubiattach"
   default y
 
config BR2_PACKAGE_MTD_UBICRC32
   bool "ubicrc32"
   default y
 
config BR2_PACKAGE_MTD_UBIDETACH
   bool "ubidetach"
   default y
 
config BR2_PACKAGE_MTD_UBIFORMAT
   bool "ubiformat"
   default y
 
config BR2_PACKAGE_MTD_UBIMKVOL
   bool "ubimkvol"
   default y
 
config BR2_PACKAGE_MTD_UBINFO
   bool "ubinfo"
   default y
 
config BR2_PACKAGE_MTD_UBINIZE
   bool "ubinize"
   default y
 
config BR2_PACKAGE_MTD_UBIRENAME
   bool "ubirename"
   default y
 
config BR2_PACKAGE_MTD_UBIRMVOL
   bool "ubirmvol"
   default y
 
config BR2_PACKAGE_MTD_UBIRSVOL
   bool "ubirsvol"
   default y
 
config BR2_PACKAGE_MTD_UBIUPDATEVOL
   bool "ubiupdatevol"
   default y
 
config BR2_PACKAGE_MTD_UBIBLOCK
   bool "ubiblock"
   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
   bool "integck"
 
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_TOOLCHAIN_HAS_THREADS
 
endif