This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
zyxel_config.in
executable file
·435 lines (369 loc) · 10.6 KB
/
zyxel_config.in
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
menu "ZyXEL Project Configuration"
config ZYXEL_FIRMWARE_VERSION
string "ZyXEL firmware version"
default "V0.00(AAA.0)b0"
config ZYXEL_FIRMWARE_ID
string "ZyXEL firmware Id"
default ""
config ZYXEL_GUI_PATCH_DIR
string "ZyXEL GUI patch directory"
default ""
menu "Build system options"
config IGNORE_OPENWRT_GEN_FILES
bool "Ignore OpenWRT generic files & patches"
default n
help
Ignore all files and patch files which are located in folder
target/linux/generic/files* and target/linux/generic/patches*
config CUSTOM_KCONFIG_PREFIX
string "Prefix for kernel configuration file"
default ""
help
This prefix will be used for search SUBTARGET's kernel configuration file.
(no effect any files which are located in folder 'target/linux/generic').
For example: OpenWRT will search following kernel configuration files
kernel configuration files:
target/linux/generic/config-$(KERNEL_PATCHVER)
target/linux/$(PLATFORM_DIR)/$(CUSTOM_KCONFIG_PREFIX)config-$(KERNEL_PATCHVER)
target/linux/$(PLATFORM_DIR)/$(SUBTARGET)/$(CUSTOM_KCONFIG_PREFIX)config-$(KERNEL_PATCHVER)
config CUSTOM_KPATCH_PREFIX
string "Prefix for kernel patch/files folader"
default ""
help
This prefix will be used for search SUBTARGET's patch folder and files folder.
(no effect any folders which are located in folder 'target/linux/generic').
For example: OpenWRT will search following folders
patch folders:
target/linux/generic/patches-$(KERNEL_PATCHVER)
target/linux/$(PLATFORM_DIR)/$(CUSTOM_KPATCH_PREFIX)patches-$(KERNEL_PATCHVER)
target/linux/$(PLATFORM_DIR)/$(SUBTARGET)/$(CUSTOM_KPATCH_PREFIX)patches-$(KERNEL_PATCHVER)
files folders:
target/linux/generic/files-$(KERNEL_PATCHVER)
target/linux/$(PLATFORM_DIR)/$(CUSTOM_KPATCH_PREFIX)files-$(KERNEL_PATCHVER)
target/linux/$(PLATFORM_DIR)/$(SUBTARGET)/$(CUSTOM_KPATCH_PREFIX)files-$(KERNEL_PATCHVER)
endmenu
menu "Default MRD information"
config MRD_VENDOR_NAME
string "Vendor Name"
default "ZyXEL Communications Corp."
config MRD_PRODUCT_NAME
string "Product Name"
default "Unknown"
config MRD_SERIAL_NO
string "Product Serial Number"
default "S090Y00000000"
config MRD_MAIN_FEATURE_BIT
int "Main Feature Bit"
default 0
config MRD_MODEL_ID
string "Model ID"
default ""
config MRD_DEBUG_BIT
int "Debug Bit"
default 0
config MRD_COUNTRY_CODE
hex "Country Code"
default 0xFF
endmenu
menu "Other MRD information"
choice
prompt "Hardware vendor"
default ZYXEL_HARDWARE_VENDOR_PEGATRON
config ZYXEL_HARDWARE_VENDOR_PEGATRON
bool "Pegatron"
help
Pegatron
config ZYXEL_HARDWARE_VENDOR_MSTC
bool "MSTC"
help
MSTC
config ZYXEL_HARDWARE_VENDOR_TWSZ
bool "T&W"
help
T&W
config ZYXEL_HARDWARE_VENDOR_PROWARE
bool "Proware"
help
Proware
endchoice
config ZYXEL_HARDWARE_VENDOR
string
default "PEGATRON" if ZYXEL_HARDWARE_VENDOR_PEGATRON
default "MSTC" if ZYXEL_HARDWARE_VENDOR_MSTC
default "TWSZ" if ZYXEL_HARDWARE_VENDOR_TWSZ
default "PROWARE" if ZYXEL_HARDWARE_VENDOR_PROWARE
config ZYXEL_HARDWARE_VERSION
int "Which hardware version current used?"
default "1"
config SAME_FW_FOR_PROJECTS
bool "Common firmware for projects"
default y if ZYXEL_FEATURE_BITS
depends on ZYXEL_FEATURE_BITS
menu "Zyxel Feature Bits Option"
config ZYXEL_FEATURE_BITS
bool "Enable Zyxel Feature Bits"
default n
help
Zyxel Feature Bits Feature.
config MRD_FEATURE_BITS
bool "MRD Feature Bits Option"
default n
depends on ZYXEL_FEATURE_BITS
help
MRD Other Feature Bits Option.
config MRD_SUPPORT_VOICE
bool "Voice Support"
default n
depends on MRD_FEATURE_BITS
config MRD_SUPPORT_VOICE_SINGLE
bool "Voice Only Support One Port"
default n
depends on MRD_SUPPORT_VOICE
config MRD_SUPPORT_2_4_G
bool "2.4G Support"
default n
depends on MRD_FEATURE_BITS
config MRD_SUPPORT_FEM_2_4_G
bool "2.4G FEM Support"
default n
depends on MRD_SUPPORT_2_4_G
config MRD_SUPPORT_EXTANT_2_4_G
bool "2.4G Ext. Antenna Support"
default n
depends on MRD_SUPPORT_2_4_G
config MRD_SUPPORT_5G
bool "5G Support"
default n
depends on MRD_FEATURE_BITS
config MRD_SUPPORT_FEM_5G
bool "5G FEM Support"
default n
depends on MRD_SUPPORT_5G
config MRD_SUPPORT_EXTANT_5G
bool "5G Ext. Antenna Support"
default n
depends on MRD_SUPPORT_5G
config MRD_SUPPORT_VDSL_17A
bool "VDSL Profile 17a Support"
default n
depends on MRD_FEATURE_BITS
config MRD_SUPPORT_VDSL_35B
bool "VDSL Profile 35b Support"
default n
depends on MRD_FEATURE_BITS
config MRD_SUPPORT_GFAST
bool "G.Fast Support"
default n
depends on MRD_FEATURE_BITS
choice
prompt "ADSL Type"
default MRD_SUPPORT_ANNEX_A
depends on MRD_FEATURE_BITS
config MRD_SUPPORT_ANNEX_A
bool "Annex A"
help
ADSL Annex A
config MRD_SUPPORT_ANNEX_B
bool "Annex B"
help
ADSL Annex B
config MRD_SUPPORT_ANNEX_C
bool "Annex C"
help
ADSL Annex C
endchoice
config MRD_SUPPORT_ZIGBEE
bool "Zigbee Support"
default n
depends on MRD_FEATURE_BITS
endmenu
endmenu
menu "bcm963xx default NVRAM values"
config BCM63138_NVRAM_MEMORY_CONFIG
hex "Memory config(This value should reference boardparms.c)"
default 0xFFFFFFFF
help
Only BCM63138 platform need this config
This value should reference boardparms.c and boardparms.h with specific BOARD_ID.
config BCM63138_NVRAM_MC_MEMORY_ALLOCATION
int "MC memory allocation (MB)"
default 4
help
Only BCM63138 platform need this config
config BCM63138_NVRAM_TM_MEMORY_ALLOCATION
int "TM memory allocation (MB)"
default 20
help
Only BCM63138 platform need this config
config BCM63138_NVRAM_DHD0_MEMORY_ALLOCATION
int "DHD 0 memory allocation (MB)"
default 0
help
Only BCM63138 platform need this config
config BCM63138_NVRAM_DHD1_MEMORY_ALLOCATION
int "DHD 1 memory allocation (MB)"
default 0
help
Only BCM63138 platform need this config
config BCM63138_NVRAM_DHD2_MEMORY_ALLOCATION
int "DHD 2 memory allocation (MB)"
default 0
help
Only BCM63138 platform need this config
endmenu
menu "Manufacture options"
config FILL_IN_PARTITION_INFO_INTO_NVRAM
bool
prompt "Fill in partition info into NVRAM when assemble firmware."
default n
config TARGET_NAND_FLASH_TOTAL_SIZE
int "NAND flash size in MB for target board"
default 128
depends on FILL_IN_PARTITION_INFO_INTO_NVRAM
config ZYXEL_RMA_FW_SUPPORT
bool
prompt "Build a RMA FW for hardware vendors. This FW will unlock the MFG commands and allow WAN remote management."
default n
config ZYXEL_SYS_FWUR_SUPPORT
bool
prompt "sys fwur command"
select PACKAGE_atftp
default y
endmenu
menu "Supported components on hardware"
config DSL_SUPPORT
bool
prompt "xDSL components"
default y
help
Support ADSL, VDSL.
config XPON_SUPPORT
bool
prompt "xPON components"
default n
help
Support EPON, GPON.
config LTE_SUPPORT
bool
prompt "LTE components"
default n
help
Support LTE.
config PROXIMITY_SENSOR_SUPPORT
bool
prompt "Proximity sensor, SX9301, components"
select KERNEL_I2C_SX9310
default n
help
Support Proximity sensor.
For now, only on Project VMG8823-B10B
config ZYXEL_ZIGBEE_SUPPORT
bool
prompt "Zigbee module"
select PACKAGE_Z3GatewayHost
select PACKAGE_ZigbeeNcpUpdate
default n
help
Support Zigbee module.
endmenu
menu "Hardware depend misc."
config ZYXEL_QTN_WIFI_5G_SUPPORT
bool
prompt "QTN WiFi 5G components"
default n
help
Support QTN WiFi 5G.
config ZYXEL_QTN_SW_RESET
bool "QTN software reset"
depends on ZYXEL_QTN_WIFI_5G_SUPPORT
help
Reset QTN software.
config ZYXEL_WPS_SPOTLIGHT
bool
prompt "WPS spotlight"
default n
help
Display WPS spotlight.
config ZYXEL_WPS_SPOTLIGHT_2GPIO
bool
prompt "WPS spotlight"
default n
depends on ZYXEL_WPS_SPOTLIGHT
help
Display WPS spotlight. (use Red LED and Green LED to generate orange LED)
config ZYXEL_SFP_MODULE_SUPPORT
bool
prompt "SFP components"
default n
help
Support SFP module.
config ZYXEL_SFP_DETECT_PIN
bool "SFP detect pin"
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get SFP detect pin value.
config ZYXEL_SFP_TX_FAULT_PIN
bool "SFP tx fault pin"
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get SFP tx fault pin value.
config ZYXEL_SFP_TX_DISABLE
bool "SFP tx disable pin"
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get SFP tx disable pin value.
config ZYXEL_FEM_DETECT
bool
prompt "Detect FEM component"
default n
help
Detect FEM component.
config ZYXEL_BOARD_DETECT_BY_GPIO
bool
prompt "Detect board type by GPIO"
default n
help
Detect board type by GPIO.
config ZYXEL_SUPPORT_BOTH_256_512_FLASH
bool
prompt "Support both 256MB & 512MB flash"
default n
help
Support both 256MB & 512MB flash.
For now, only apply on VMG8825-B50B WIND & Generic.
endmenu
config ZYXEL_NEW_ATEN_ATSE
bool "New ATEN/ATSE algorithm"
default n
menu "Customization design for new id"
config ZYXEL_DISABLE_TXRX_FOR_WAN_ACT
bool "Disable tx/rx activity which is generated by PHY."
default n
help
Disable tx/rx activity which is generated by PHY.
config ZYXEL_WIND_NEW_XDSL_BEHAVIOR
bool "New xDSL LED behavior: 994 slow amber & 992/993 fast green."
default n
help
New xDSL LED behavior: 994 slow amber & 992/993 fast green.
config ZYXEL_SUPPORT_SW_LAN_AGGREGATE_LED
bool "Support software control lan aggregate led."
default n
help
Support software control lan aggregate led.
endmenu
config ZYXEL_SUPPORT_SMB2
bool "Support samba SMBv2 protocol"
depends on PACKAGE_samba
default n
help
Build samba-3.6.25 to support samba SMBv2 protocol.
endmenu
menu "zcfg support"
config ZYXEL_SUPPORT_ZCFG
bool "ZCFG support"
default y
config ZCFG_TR98_COMPATIBLE
bool "ZCFG is compatible with TR098"
default n
endmenu