-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathKconfig
493 lines (369 loc) · 11.6 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
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
# pantavisor kas choices
choice
prompt "Select Build Type"
default BUILD_TYPE_BSP_MULTI
config BUILD_TYPE_BSP_MULTI
bool "multiconfig"
config BUILD_TYPE_BSP_PLAIN
bool "singleconfig"
endchoice
choice
prompt "Select Codename to build"
default CODENAME_KIRKSTONE
config CODENAME_KIRKSTONE
bool "kirkstone"
config CODENAME_SCARTHGAP
bool "scarthgap"
endchoice
choice
prompt "Select Build Target"
default BUILD_BSP
config BUILD_BSP
bool "pantavisor-bsp"
config BUILD_REMIX
bool "pantavisor-remix"
endchoice
config KAS_LOCAL_BUILD_BSP
string
default "DISTROOVERRIDES .= \":pvbsp\"" if BUILD_BSP
config KAS_TARGET_BUILD
string
default "pantavisor-bsp" if BUILD_BSP
default "pantavisor-remix" if BUILD_REMIX
config PVBSP_FIRMWARE_PKG
string "BSP Firmware"
default "${MACHINE_FIRMWARE} linux-firmware"
depends on BUILD_BSP
menu "Containers"
depends on BUILD_REMIX
config USE_PVROOT_IMAGE
bool "Make root container"
default y
depends on BUILD_REMIX
config PVROOT_IMAGE
string
default "yes"
depends on USE_PVROOT_IMAGE
config PVROOT_IMAGE_BSP
string "Root Container Image"
default "core-image-base"
depends on USE_PVROOT_IMAGE
config EXTRA_IMAGE_FEATURES
string "Extra features"
default "debug-tweaks"
depends on USE_PVROOT_IMAGE
config KAS_LOCAL_PVROOT_IMAGE
string
default "PVROOT_IMAGE = \"yes\"" if PVROOT_IMAGE
config CONTAINER_PV_CONNMAN
bool "pv-connman"
config KAS_LOCAL_PV_CONNMAN
string
default "PVROOT_CONTAINERS_CORE += \"pv-connman\"" if CONTAINER_PV_CONNMAN
config CONTAINER_PV_PVR_SDK
bool "pv-pvr-sdk"
config KAS_LOCAL_PV_PVR_SDK
string
default "PVROOT_CONTAINERS_CORE += \"pv-pvr-sdk\"" if CONTAINER_PV_PVR_SDK
config CONTAINER_PV_ALPINE_DBUS
bool "pv-alpine-dbus"
config KAS_LOCAL_PV_ALPINE_DBUS
string
default "PVROOT_CONTAINERS_CORE += \"pv-alpine-dbus\"" if CONTAINER_PV_ALPINE_DBUS
config CONTAINER_PV_ALPINE_CONNMAN
bool "pv-alpine-connman"
config KAS_LOCAL_PV_ALPINE_CONNMAN
string
default "PVROOT_CONTAINERS_CORE += \"pv-alpine-connman\"" if CONTAINER_PV_ALPINE_CONNMAN
config CONTAINER_PV_PVWIFICONNECT
bool "pv-pvwificonnect"
depends on CONTAINER_PV_CONNMAN || CONTAINER_PV_DEBIAN_NM || CONTAINER_PV_ALPINE_CONNMAN
config KAS_LOCAL_PV_PVWIFICONNECT
string
default "PVROOT_CONTAINERS_CORE += \"pv-pvwificonnect\"" if CONTAINER_PV_PVWIFICONNECT
config CONTAINER_PV_DEBIAN_NM
bool "pv-debian-nm"
config KAS_LOCAL_PV_DEBIAN_NM
string
default "PVROOT_CONTAINERS_CORE += \"pv-debian-nm\"" if CONTAINER_PV_DEBIAN_NM
config CONTAINER_PV_AWCONNECT
bool "pv-awconnect"
config KAS_LOCAL_PV_AWCONNECT
string
default "PVROOT_CONTAINERS_CORE += \"pv-awconnect\"" if CONTAINER_PV_AWCONNECT
config CONTAINER_PV_TAILSCALE
bool "pv-tailscale"
config KAS_LOCAL_PV_TAILSCALE
string
default "PVROOT_CONTAINERS_CORE += \"pv-tailscale\"" if CONTAINER_PV_TAILSCALE
endmenu
config MACHINE_FILTER_ALL
bool "Show All Machines"
default y
choice
prompt "Filter Machines"
default MACHINE_FILTER_QEMU
depends on MACHINE_FILTER_ALL = n
config MACHINE_FILTER_QEMU
bool "qemu"
config MACHINE_FILTER_VARISCITE
bool "Variscite"
config MACHINE_FILTER_NXP
bool "NXP"
config MACHINE_FILTER_CORAL
bool "Coral NXP"
depends on CODENAME_SCARTHGAP
config MACHINE_FILTER_RPI
bool "Raspberry Pi"
config MACHINE_FILTER_ROCKCHIP
bool "Rockchip"
config MACHINE_FILTER_SUNXI
bool "sunxi"
config MACHINE_FILTER_TI
bool "TI"
config MACHINE_FILTER_RISCV
bool "RISC-V"
config MACHINE_FILTER_RADXA
bool "Radxa"
endchoice
config PLATFORM_CORAL
bool
config PLATFORM_QEMU
bool
config PLATFORM_RPI
bool
config PLATFORM_NXP
bool
config PLATFORM_VARISCITE
bool
config PLATFORM_TI
bool
config PLATFORM_RISCV
bool
config PLATFORM_ROCKCHIP
bool
config PLATFORM_SUNXI
bool
config PLATFORM_RADXA
bool
choice
prompt "Machine"
default MACHINE_QEMUARM
config MACHINE_QEMUARM
bool "qemuarm"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_QEMU
select PLATFORM_QEMU
config MACHINE_QEMUX86_64
bool "qemux86-64"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_QEMU
select PLATFORM_QEMU
config MACHINE_QEMUMIPS
bool "qemumips"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_QEMU
select PLATFORM_QEMU
config MACHINE_RPI_ARMV8
bool "raspberrypi-armv8"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_RPI
select PLATFORM_RPI
config MACHINE_RPI_ARMV7
bool "raspberrypi-armv7"
depends on CODENAME_SCARTHGAP
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_RPI
select PLATFORM_RPI
config MACHINE_IMX8MN_VAR_SOM
bool "imx8mn-var-som"
depends on CODENAME_KIRKSTONE
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_VARISCITE
select PLATFORM_VARISCITE
config MACHINE_IMX8MM_VAR_DART
bool "imx8mm-var-dart"
depends on CODENAME_KIRKSTONE
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_VARISCITE
select PLATFORM_VARISCITE
config MACHINE_IMX8QXP_B0_MEK
bool "imx8qxp-b0-mek"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_NXP
select PLATFORM_NXP
config MACHINE_IMX8QXP_MEK
bool "imx8qxp-mek"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_NXP
select PLATFORM_NXP
config MACHINE_CORAL_DEV
bool "Google Coral Dev"
depends on CODENAME_SCARTHGAP
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_CORAL
select PLATFORM_CORAL
config MACHINE_ROCKCHIP_RK3328_EVB
bool "rockchip rk3328 evb"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_ROCKCHIP
select PLATFORM_ROCKCHIP
config MACHINE_ROCKCHIP_RK3399PRO_EVB
bool "rockchip rk3399pro evb"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_ROCKCHIP
select PLATFORM_ROCKCHIP
config MACHINE_ROCKCHIP_ROCK64
bool "rockchip rock64"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_ROCKCHIP
select PLATFORM_ROCKCHIP
config MACHINE_SUNXI_NANOPI_R1
bool "sunxi nanopi r1"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_SUNXI
select PLATFORM_SUNXI
config MACHINE_SUNXI_ORANGE_PI_R1
bool "sunxi orange pi r1"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_SUNXI
select PLATFORM_SUNXI
config MACHINE_SUNXI_ORANGE_PI_ZERO_PLUS2_H3
bool "sunxi orange pi zero plus2 h3"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_SUNXI
select PLATFORM_SUNXI
config MACHINE_SUNXI_ORANGE_PI_3LTS
bool "sunxi orange pi 3 lts"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_SUNXI
select PLATFORM_SUNXI
config MACHINE_SUNXI_ORANGE_PI_PC_PLUS
bool "sunxi orange pi pc plus"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_SUNXI
select PLATFORM_SUNXI
config MACHINE_SUNXI_ORANGE_PI_PC2
bool "sunxi orange pi pc2"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_SUNXI
select PLATFORM_SUNXI
config MACHINE_TI_AM62XX_EVM
bool "TI AVM62xx EVM"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_TI
select PLATFORM_TI
config MACHINE_TI_AM62AXX_EVM
bool "TI AVM62axx EVM"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_TI
select PLATFORM_TI
config MACHINE_TI_AM65XX_EVM
bool "TI AVM65xx EVM"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_TI
select PLATFORM_TI
config MACHINE_TI_BEAGLEBONE
bool "TI Beaglebone"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_TI
select PLATFORM_TI
config MACHINE_TI_BEAGLEPLAY
bool "TI Beagleplay"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_TI
select PLATFORM_TI
config MACHINE_RISCV_VISIONFIVE2
bool "RISC-V Visionfive2"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_RISCV
select PLATFORM_RISCV
config MACHINE_RADXA_ROCK5A
bool "radxa rock5a"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_RADXA
select PLATFORM_RADXA
config MACHINE_RADXA_ROCK5B
bool "radxa rock5b"
depends on MACHINE_FILTER_ALL || MACHINE_FILTER_RADXA
select PLATFORM_RADXA
endchoice
config KAS_INCLUDE_MACHINE_QEMUX86_64
string
default "kas/machines/qemux86-64.yaml" if MACHINE_QEMUX86_64
config KAS_INCLUDE_MACHINE_QEMUARM
string
default "kas/machines/qemuarm.yaml" if MACHINE_QEMUARM
config KAS_INCLUDE_MACHINE_QEMUMIPS
string
default "kas/machines/qemumips.yaml" if MACHINE_QEMUMIPS
config KAS_INCLUDE_MACHINE_RPI_ARMV8
string
default "kas/machines/raspberrypi-armv8.yaml" if MACHINE_RPI_ARMV8
config KAS_INCLUDE_MACHINE_RPI_ARMV7
string
default "kas/machines/raspberrypi-armv7.yaml" if MACHINE_RPI_ARMV7
config KAS_INCLUDE_MACHINE_IMX8MN_VAR_SOM
string
default "kas/machines/imx8mn-var-som.yaml" if MACHINE_IMX8MN_VAR_SOM
config KAS_INCLUDE_MACHINE_IMX8MM_VAR_DART
string
default "kas/machines/imx8mm-var-dart.yaml" if MACHINE_IMX8MM_VAR_DART
config KAS_INCLUDE_MACHINE_IMX8QXP_B0_MEK
string
default "kas/machines/imx8qxp-b0-mek.yaml" if MACHINE_IMX8QXP_B0_MEK
config KAS_INCLUDE_MACHINE_IMX8QXP_MEK
string
default "kas/machines/imx8qxp-mek.yaml" if MACHINE_IMX8QXP_MEK
config KAS_INCLUDE_MACHINE_ROCKCHIP_RK3328_EVB
string
default "kas/machines/rockchip-rk3328-evb.yaml" if MACHINE_ROCKCHIP_RK3328_EVB
config KAS_INCLUDE_MACHINE_ROCKCHIP_RK3399PRO_EVB
string
default "kas/machines/rockchip-rk3399pro-evb.yaml" if MACHINE_ROCKCHIP_RK3399PRO_EVB
config KAS_INCLUDE_MACHINE_ROCKCHIP_ROCK64
string
default "kas/machines/rockchip-rock64.yaml" if MACHINE_ROCKCHIP_ROCK64
config KAS_INCLUDE_MACHINE_SUNXI_NANOPI_R1
string
default "kas/machines/sunxi-nanopi-r1.yaml" if MACHINE_SUNXI_NANOPI_R1
config KAS_INCLUDE_MACHINE_SUNXI_ORANGE_PI_R1
string
default "kas/machines/sunxi-orange-pi-r1.yaml" if MACHINE_SUNXI_ORANGE_PI_R1
config KAS_INCLUDE_MACHINE_SUNXI_ORANGE_PI_ZERO_PLUS2_H3
string
default "kas/machines/sunxi-orange-pi-zero-plus2-h3.yaml" if MACHINE_SUNXI_ORANGE_PI_ZERO_PLUS2_H3
config KAS_INCLUDE_MACHINE_SUNXI_ORANGE_PI_3LTS
string
default "kas/machines/sunxi-orange-pi-3lts.yaml" if MACHINE_SUNXI_ORANGE_PI_3LTS
config KAS_INCLUDE_MACHINE_SUNXI_ORANGE_PI_PC_PLUS
string
default "kas/machines/sunxi-orange-pi-pc-plus.yaml" if MACHINE_SUNXI_ORANGE_PI_PC_PLUS
config KAS_INCLUDE_MACHINE_SUNXI_ORANGE_PI_PC2
string
default "kas/machines/sunxi-orange-pi-pc2.yaml" if MACHINE_SUNXI_ORANGE_PI_PC2
config KAS_INCLUDE_MACHINE_CORAL_DEV
string
default "kas/machines/coral-dev.yaml" if MACHINE_CORAL_DEV
config KAS_INCLUDE_MACHINE_TI_AM62AXX_EVM
string
default "kas/machines/ti-am62axx-evm.yaml" if MACHINE_TI_AM62AXX_EVM
config KAS_INCLUDE_MACHINE_TI_AM62XX_EVM
string
default "kas/machines/ti-am62xx-evm.yaml" if MACHINE_TI_AM62XX_EVM
config KAS_INCLUDE_MACHINE_TI_AM65XX_EVM
string
default "kas/machines/ti-am65xx-evm.yaml" if MACHINE_TI_AM65XX_EVM
config KAS_INCLUDE_MACHINE_TI_BEAGLEBONE
string
default "kas/machines/ti-beaglebone.yaml" if MACHINE_TI_BEAGLEBONE
config KAS_INCLUDE_MACHINE_TI_BEAGLEPLAY
string
default "kas/machines/ti-beagleplay.yaml" if MACHINE_TI_BEAGLEPLAY
config KAS_INCLUDE_MACHINE_RISCV_VISIONFIVE2
string
default "kas/machines/riscv-visionfive2.yaml" if MACHINE_RISCV_VISIONFIVE2
config KAS_INCLUDE_BUILD_TYPE
string
default "kas/bsp-base.yaml" if BUILD_TYPE_BSP_PLAIN
default "kas/bsp-multi.yaml" if BUILD_TYPE_BSP_MULTI
config KAS_INCLUDE_CODENAME
string
default "kas/kirkstone.yaml" if CODENAME_KIRKSTONE
default "kas/scarthgap.yaml" if CODENAME_SCARTHGAP
config KAS_INCLUDE_VARISCITE
string
default "kas/kirkstone-var.yaml" if CODENAME_KIRKSTONE && (MACHINE_IMX8MN_VAR_SOM || MACHINE_IMX8MM_VAR_DART)
config KAS_INCLUDE_NXP
string
default "kas/kirkstone-nxp.yaml" if CODENAME_KIRKSTONE && PLATFORM_NXP
default "kas/scarthgap-nxp.yaml" if CODENAME_SCARTHGAP && PLATFORM_NXP
config KAS_INCLUDE_SCARTHGAP_FREESCALE
string
default "kas/scarthgap-freescale.yaml" if CODENAME_SCARTHGAP && MACHINE_CORAL_DEV
config KAS_INCLUDE_SCARTHGAP_TI
string
default "kas/scarthgap-ti.yaml" if CODENAME_SCARTHGAP && PLATFORM_TI
config KAS_INCLUDE_SCARTHGAP_RISCV
string
default "kas/scarthgap-riscv.yaml" if CODENAME_SCARTHGAP && PLATFORM_RISCV
config KAS_INCLUDE_MACHINE_RADXA_ROCK5A
string
default "kas/machines/radxa-rock5a.yaml" if MACHINE_RADXA_ROCK5A
config KAS_INCLUDE_MACHINE_RADXA_ROCK5B
string
default "kas/machines/radxa-rock5b.yaml" if MACHINE_RADXA_ROCK5B