-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathKconfig
172 lines (138 loc) · 3.65 KB
/
Kconfig
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
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config OTA_UI
bool "Enable OTA UI module"
default n
depends on GRAPHICS_LVGL
---help---
This option will display upgrade progress on panel.
if OTA_UI
config OTA_UI_PROG_SYNC_TIME
int "OTA UI progress sync time, unit:milliseconds."
default 40000
---help---
Period for reading progress.
config OTA_UI_FINISH_EXEC_CMD
string "OTA UI end exec command"
default "reboot 0"
config OTA_UI_CMD_WAIT_TIME
int "exec command wait time, unt:seconds."
default 3
---help---
command wait time.
config OTA_UI_STACKSIZE
int "OTA UI stack size"
default 4096
---help---
The stack size to use the otaUI task. Default: 4096
config OTA_UI_PRIORITY
int "OTA UI task priority"
default 100
---help---
The priority to use the otaUI task. Default: 100
endif
config UTILS_AVB_VERIFY
tristate "AVB verification tools"
default n
depends on LIB_AVB
---help---
Enable AVB verification tools
if UTILS_AVB_VERIFY
config UTILS_AVB_VERIFY_PROGNAME
string "Program name of AVB verification tools"
default "avb_verify"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config UTILS_AVB_VERIFY_PRIORITY
int "Priority of AVB verification tools"
default 100
config UTILS_AVB_VERIFY_STACKSIZE
int "Stack size of AVB verification tools"
default 6144
config UTILS_AVB_VERIFY_ENABLE_DEVICE_LOCK
bool "Enable Device Lock"
default y
depends on KVDB
config UTILS_AVB_VERIFY_ENABLE_PERSISTENT_VALUE
bool "Enable Persistent Value"
default y
depends on KVDB
config UTILS_AVB_VERIFY_ENABLE_ROLLBACK_PROTECTION
bool "Enable Rollback Protection"
default y
depends on KVDB
endif
config UTILS_ZIP_VERIFY
tristate "OTA image verify"
default n
depends on LIB_AVB && LIB_AVB_SHA256
depends on LIB_ZLIB
---help---
This option will enable a upgrade package verify.
if UTILS_ZIP_VERIFY
config UTILS_ZIP_VERIFY_PROGNAME
string "Program name"
default "zip_verify"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config UTILS_ZIP_VERIFY_STACKSIZE
int "Upgrade package verify stack size"
default 4096
---help---
The stack size to use the upgrade package verify task. Default: 4096
config UTILS_ZIP_VERIFY_PRIORITY
int "upgrade package verify priority"
default 100
---help---
The priority to use the upgrade package verify task. Default: 100
config UTILS_ZIP_VERIFY_BUFSIZE
int "upgrade package read buffer size"
default 32768
---help---
The read buffer size to use the upgrade package verify task. Default: 32768
endif
config UTILS_BOOTCTL
tristate "Boot control"
default n
---help---
This option will enable boot control.
if UTILS_BOOTCTL
config UTILS_BOOTCTL_PROGNAME
string "Program name"
default "bootctl"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config UTILS_BOOTCTL_STACKSIZE
int "bootctl verify stack size"
default DEFAULT_TASK_STACKSIZE
---help---
The stack size to use the bootctl task.
config UTILS_BOOTCTL_PRIORITY
int "bootctl verify priority"
default 100
---help---
The priority to use the upgrade package verify task. Default: 100
config UTILS_BOOTCTL_ENTRY
bool "bootctl is entry"
default n
---help---
bootctl is entry program, bootloader image need it.
config UTILS_BOOTCTL_SLOT_A
string "bootctl slot a path"
---help---
bootctl slot a path.
config UTILS_BOOTCTL_SLOT_B
string "bootctl slot b path"
---help---
bootctl slot b path.
config UTILS_BOOTCTL_DEBUG
bool "bootctl debug"
default n
---help---
bootctl debug option.
endif