-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathzyxel_config.in
executable file
·611 lines (519 loc) · 15.4 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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
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_FIRMWARE_VERSION_EXT
string "ZyXEL firmware ext version"
default "AGXKK_0.0.0"
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_WITHOUT_XDSL
bool "Without xDSL"
help
ADSL Annex A
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
config ZYXEL_SUPPORT_MISC
bool "Support misc partition"
default n
config ZYXEL_CUSTOMISED_MISC_NAME
string "Name of customised misc partition"
depends on ZYXEL_SUPPORT_MISC
default "misc1" if (TARGET_brcm963xx=y && ZYXEL_SUPPORT_MISC=y)
default "misc" if (TARGET_en75xx=y && ZYXEL_SUPPORT_MISC=y)
help
For Broadcom projects, some of WiFi chips (ex.43684 series) default use misc1 as an embeded nvram,
so the name of Zyxel customised misc partiton need to use "misc2".
For Econet projects, all use the name "misc".
config ZYXEL_BROADCOM_LICENSE_NAME
string "Name of replace license file name"
default "license_zyxel_20090201.txt"
depends on PACKAGE_brcm-license
help
The filename should follow the naming rule, license_zyxel_yymmddss.txt
file is located at https://svn.zyxel.com/svn/TPDC/pkg_tarball/private/Broadcom/brcm-licence
yymmdd means this files is got in 20yy/mm/dd and ss mean the order if there are two files got in the same day.
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
select PACKAGE_picocom
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_SW_RESET_WIFI_MODULE
bool "Software reset WiFi modules"
default n
help
Software reset WiFi modules.
config ZYXEL_WPS_SPOTLIGHT
bool
prompt "WPS spotlight"
default n
help
Display WPS spotlight.
config ZYXEL_WPS_SPOTLIGHT_BLINK
bool
prompt "WPS blink spotlight"
default n
help
Display WPS spotlight blink.
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_WPS_IPTVPARING_2GPIO
bool
prompt "WPS IptvParing LED controled by 2 GPIO"
default n
help
Display WPS IptvParing.
config ZYXEL_QUALITY_AMBER_2GPIO
bool
prompt "QUALITY AMBER"
default n
help
Display QUALITY AMBER. (use Red LED and Green LED to generate orange LED)
config ZYXEL_LED_EN_SUPPORT
bool
prompt "LED EN"
default n
help
support LED EN.
config ZYXEL_SFP_MODULE_SUPPORT
bool
prompt "SFP/xPON components"
default n
help
Support SFP module.
config ZYXEL_SFP_DETECT_PIN
bool "SFP detect pin"
default n
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get SFP detect pin value.
config ZYXEL_SFP_TX_FAULT_PIN
bool "SFP tx fault pin"
default n
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get SFP tx fault pin value.
config ZYXEL_SFP_TX_DISABLE
bool "SFP tx disable pin"
default n
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get SFP tx disable pin value.
config ZYXEL_SFP_RX_SLEEP
bool "rx sleep mod pin for BOSA"
default n
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get rx sleep mod pin value.
config ZYXEL_SFP_SW_RX_LOS
bool "get sfp rx los (sw)"
default n
depends on ZYXEL_SFP_MODULE_SUPPORT
help
Get SFP rx los (sw).
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_UPS_FEATURE
bool "Display the status of UPS battery by LED."
default n
config ZYXEL_NEW_ATEN_ATSE
bool "New ATEN/ATSE algorithm"
default n
config ZYXEL_AT_SET_KEY
bool "AT SET KEY"
default n
help
store admin password and WiFi PSK key in MRD information.
if these item is not empty, zcfg_be will use them.
if these item is empty, zcfg_be will auto-generate them(not store in MRD).
config ZYXEL_AT_SET_SUPERVISOR_KEY
bool "AT SET SUPERVISOR KEY"
default n
depends on ZYXEL_AT_SET_KEY
help
store supervisor password and WiFi PSK key in MRD information.
Generially, Zyxel will not enable this flag.
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.
config ZYXEL_URL_FILTER
bool "Support URL white/black list"
default n
help
Support Zyxel URL white/black list.
config ZYXEL_HOME_CYBER_SECURITY
bool "Support Home Cyber Security"
default n
help
Support Zyxel Home Cyber Security.
config ZYXEL_ZIPQ_USE_LIBMNL
bool "zipq using the libmnl instead of libnetfilter_queue"
default n if !ZYXEL_HOME_CYBER_SECURITY
default y if ZYXEL_HOME_CYBER_SECURITY
depends on KERNEL_ZYXEL_EXT_MARK
help
zipq using the libmnl instead of libnetfilter_queue.
config ZYXEL_ZIPQ_USE_ZEXTMARK
bool "zipq using the zextension mark intead of mark"
default n if !ZYXEL_HOME_CYBER_SECURITY
default y if ZYXEL_HOME_CYBER_SECURITY
depends on KERNEL_ZYXEL_EXT_MARK
help
zipq using the zextension mark intead of mark.
config ZYXEL_MODSW_ZYEE
bool "Enable Zyxel Execution Environment (ZYEE)"
select ZYXEL_SUPPORT_MISC
select PACKAGE_lxc
select PACKAGE_zyee
default n
help
Support Zyxel Execution Environment.
config ZCFG_MODULE_DEBUG
bool "zcfg module debug"
default n
config ZYXEL_WIFI_DELAY_INIT
bool "Delay WIFI init event from zcfg_be wifi module to esmd"
default n
config ZYXEL_ZYWIFID_FORCE_AFFINITY
bool "Force zywifid affinity"
default n
help
This feature can force zywifid running on specific cpu.
config ZYXEL_ZYWIFID_AFFINITY
int "zywifid affinity value"
depends on ZYXEL_ZYWIFID_FORCE_AFFINITY
default 1
help
Set the zywifid to specific cpu value.
config ZYXEL_DELAY_CHK_DO_POWER_SAVE
int "Delay chk_do_power_save.sh execution"
default 0
help
Delay chk_do_power_save.sh execution.
config ZYXEL_TR69_XMPP_CONNECTION_REQUEST
bool "Enable XMPP connection request"
select PACKAGE_libstrophe
select PACKAGE_zxmppc
default n
help
Support XMPP connection request.
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