Config.in.runtime 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_RUNTIME_DATA_PARTITION
  4. bool
  5. config ADK_RUNTIME_HOSTNAME
  6. string "hostname for the embedded system"
  7. default "openadk"
  8. help
  9. Set your target hostname.
  10. choice
  11. prompt "init system"
  12. depends on !ADK_APPLIANCE_TOOLCHAIN
  13. default ADK_RUNTIME_INIT_SYSV if ADK_PACKAGE_BUSYBOX
  14. default ADK_RUNTIME_INIT_SIMPLEINIT if ADK_PACKAGE_TOOLBOX
  15. config ADK_RUNTIME_INIT_SYSV
  16. bool "Use busybox init"
  17. depends on ADK_PACKAGE_BUSYBOX
  18. config ADK_RUNTIME_INIT_SIMPLEINIT
  19. bool "Use a very simple init"
  20. select ADK_PACKAGE_SIMPLEINIT
  21. endchoice
  22. choice
  23. prompt "system for /dev management"
  24. depends on !ADK_APPLIANCE_TOOLCHAIN
  25. default ADK_RUNTIME_DEV_STATIC
  26. config ADK_RUNTIME_DEV_STATIC
  27. bool "Use static /dev (devtmpfs)"
  28. select ADK_LINUX_KERNEL_DEVTMPFS if ADK_TARGET_OS_LINUX
  29. select ADK_LINUX_KERNEL_DEVTMPFS_MOUNT if ADK_TARGET_OS_LINUX
  30. config ADK_RUNTIME_DEV_MDEV
  31. bool "Use dynamic /dev with mdev"
  32. select ADK_LINUX_KERNEL_DEVTMPFS if ADK_TARGET_OS_LINUX
  33. select ADK_LINUX_KERNEL_DEVTMPFS_MOUNT if ADK_TARGET_OS_LINUX
  34. depends on ADK_PACKAGE_BUSYBOX
  35. config ADK_RUNTIME_DEV_MDEV_LOGGING
  36. bool "Log mdev events into /dev/mdev.log"
  37. depends on ADK_RUNTIME_DEV_MDEV
  38. config ADK_RUNTIME_DEV_UDEV
  39. bool "Use dynamic /dev with udev"
  40. select ADK_PACKAGE_UDEV
  41. # needs depmod for module dependency generation on host
  42. select ADK_HOST_BUILD_KMOD
  43. select ADK_LINUX_KERNEL_DEVTMPFS if ADK_TARGET_OS_LINUX
  44. select ADK_LINUX_KERNEL_DEVTMPFS_MOUNT if ADK_TARGET_OS_LINUX
  45. endchoice
  46. choice
  47. prompt "base applications"
  48. depends on !ADK_APPLIANCE_TOOLCHAIN
  49. default ADK_RUNTIME_BASE_TOOLBOX if ADK_TARGET_ARCH_H8300
  50. default ADK_RUNTIME_BASE_BUSYBOX
  51. config ADK_RUNTIME_BASE_BUSYBOX
  52. bool "Use busybox"
  53. select ADK_PACKAGE_BUSYBOX
  54. config ADK_RUNTIME_BASE_TOYBOX
  55. bool "Use toybox"
  56. select ADK_PACKAGE_TOYBOX
  57. config ADK_RUNTIME_BASE_TOOLBOX
  58. bool "Use toolbox"
  59. select ADK_PACKAGE_TOOLBOX
  60. config ADK_RUNTIME_BASE_COREUTILS
  61. bool "Use coreutils"
  62. select ADK_PACKAGE_COREUTILS
  63. select ADK_PACKAGE_GREP
  64. select ADK_PACKAGE_FIND
  65. config ADK_RUNTIME_BASE_NONE
  66. bool "Use no base tools"
  67. endchoice
  68. config ADK_RUNTIME_LOAD_KERNEL_MODULES
  69. bool "load all installed kernel modules on bootup"
  70. default y
  71. help
  72. If you don't want to load all installed kernel modules
  73. by default on bootup, disable this option.
  74. config ADK_RUNTIME_FIX_PERMISSION
  75. bool "fix permissions for target files (suid bit, ..)"
  76. select ADK_HOST_BUILD_FAKEROOT
  77. depends on ADK_TARGET_ROOTFS_GENIMAGE
  78. help
  79. Use fakeroot to fix permissions for target dir before image
  80. creation.
  81. config ADK_RUNTIME_SSH_PUBKEY
  82. string "SSH public key (root user only)"
  83. depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
  84. default ""
  85. help
  86. Paste your generated SSH public key here and it will be embedded into
  87. the built image, so you can use it to login instantly.
  88. config ADK_RUNTIME_PASSWORD
  89. string "root password for the embedded system"
  90. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  91. help
  92. Predefine the root password enabled in the built image.
  93. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  94. Default password is linux123
  95. config ADK_RUNTIME_ADDUSER
  96. bool "add an user"
  97. default n
  98. help
  99. Enable this option to add an unprivileged user.
  100. Fixed UID/GID 100 is used. A group with the same name is added.
  101. config ADK_RUNTIME_USER_NAME
  102. string "user name"
  103. default "adk"
  104. depends on ADK_RUNTIME_ADDUSER
  105. config ADK_RUNTIME_USER_PASSWORD
  106. string "user password"
  107. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  108. depends on ADK_RUNTIME_ADDUSER
  109. help
  110. Predefine the user password enabled in the built image.
  111. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  112. Default password is linux123
  113. config ADK_RUNTIME_USER_HOME
  114. string "user home directory"
  115. default "/home/adk"
  116. depends on ADK_RUNTIME_ADDUSER
  117. help
  118. Set the home directory to use.
  119. config ADK_RUNTIME_USER_SHELL
  120. string "user shell"
  121. default "/bin/sh"
  122. depends on ADK_RUNTIME_ADDUSER
  123. help
  124. Set the shell to use.
  125. config ADK_RUNTIME_MOUNT_DEBUGFS
  126. bool "mount debugfs"
  127. help
  128. mount debugfs under /sys/kernel/debug
  129. config ADK_RUNTIME_START_SERVICES
  130. bool "start services by default"
  131. default n
  132. help
  133. Enable this option to start selected services on boot.
  134. source "target/config/Config.in.scripts"
  135. config ADK_RUNTIME_TMPFS_SIZE
  136. string "size of /tmp in memory (kB)"
  137. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  138. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  139. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  140. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  141. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  142. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  143. default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  144. default "16384" if ADK_TARGET_SYSTEM_QEMU_X86_64
  145. default "16384" if ADK_TARGET_SYSTEM_QEMU_X86
  146. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  147. default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  148. default "1024"
  149. depends on !ADK_RUNTIME_INIT_SIMPLEINIT
  150. help
  151. Size of /tmp in memory in Kilobyte.
  152. config ADK_RUNTIME_TIMEZONE
  153. string "timezone for the embedded system"
  154. default "Europe/Berlin"
  155. help
  156. Predefine the timezone for the embedded system.
  157. config ADK_RUNTIME_DEFAULT_LOCALE
  158. string "default locale"
  159. depends on ADK_TARGET_LIBC_WITH_LOCALE \
  160. || ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL
  161. default "C.UTF-8"
  162. help
  163. Locale to be set in the target system as default.
  164. choice
  165. prompt "bootup messages from kernel"
  166. default ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY if ADK_TARGET_QEMU
  167. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY
  168. bool "output via VGA only"
  169. depends on ADK_TARGET_WITH_VGA \
  170. || ADK_TARGET_GENERIC
  171. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY
  172. bool "output via serial console only"
  173. depends on ADK_TARGET_WITH_SERIAL \
  174. || ADK_TARGET_QEMU \
  175. || ADK_TARGET_SIM \
  176. || ADK_TARGET_GENERIC
  177. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL
  178. bool "output via VGA and serial console"
  179. depends on ADK_TARGET_WITH_SERIAL && \
  180. ADK_TARGET_WITH_VGA || \
  181. ADK_TARGET_GENERIC
  182. help
  183. Output is via VGA and serial console.
  184. Init can use only serial via /dev/console.
  185. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA
  186. bool "output via serial console and VGA"
  187. depends on ADK_TARGET_WITH_SERIAL && \
  188. ADK_TARGET_WITH_VGA || \
  189. ADK_TARGET_GENERIC
  190. help
  191. Output is via serial console and VGA.
  192. Init can use only VGA via /dev/console.
  193. config ADK_RUNTIME_QUIET_KERNEL
  194. bool "no output from the kernel"
  195. help
  196. Make bootup quiet without messages from the kernel.
  197. endchoice
  198. choice
  199. prompt "bootup messages from initscripts"
  200. default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA
  201. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  202. config ADK_RUNTIME_VERBOSE_INIT_VGA
  203. bool "output via VGA"
  204. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC
  205. depends on ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA || \
  206. ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY || \
  207. ADK_RUNTIME_QUIET_KERNEL
  208. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  209. bool "output via serial"
  210. depends on ADK_TARGET_WITH_SERIAL \
  211. || ADK_TARGET_QEMU \
  212. || ADK_TARGET_SIM \
  213. || ADK_TARGET_GENERIC
  214. depends on ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL || \
  215. ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
  216. ADK_RUNTIME_QUIET_KERNEL
  217. config ADK_RUNTIME_QUIET_INIT
  218. bool "no output"
  219. endchoice
  220. choice
  221. prompt "start getty or shell after bootup"
  222. default ADK_RUNTIME_GETTY
  223. config ADK_RUNTIME_GETTY
  224. bool "start a getty after bootup"
  225. help
  226. Start a getty after bootup.
  227. config ADK_RUNTIME_SHELL
  228. bool "start a shell after bootup"
  229. help
  230. Start a shell after bootup.
  231. config ADK_RUNTIME_NONE
  232. bool "start no shell nor getty after bootup"
  233. help
  234. Do not start a shell or getty after bootup.
  235. endchoice
  236. config ADK_RUNTIME_GETTY_VGA
  237. bool "start getty on VGA console (tty1-tty6)"
  238. depends on ADK_RUNTIME_GETTY \
  239. && (ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC)
  240. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  241. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  242. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  243. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI0
  244. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  245. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  246. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  247. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  248. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  249. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  250. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  251. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  252. default y if ADK_TARGET_MODEL_PCENGINES_ALIX1C
  253. default n
  254. help
  255. Start getty on VGA console. (tty1-tty6)
  256. config ADK_RUNTIME_GETTY_SERIAL
  257. bool "start getty on serial console"
  258. depends on ADK_RUNTIME_GETTY && ( ADK_TARGET_WITH_SERIAL \
  259. || ADK_TARGET_QEMU \
  260. || ADK_TARGET_GENERIC \
  261. || ADK_TARGET_SIM )
  262. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  263. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  264. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  265. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  266. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  267. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  268. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  269. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  270. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  271. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  272. default n if ADK_TARGET_MODEL_PCENGINES_ALIX1C
  273. default y
  274. help
  275. Start getty on serial console.
  276. config ADK_RUNTIME_GETTY_SERIAL_AUTOLOGIN
  277. bool "run autologin on serial getty"
  278. depends on ADK_RUNTIME_GETTY_SERIAL
  279. select ADK_PACKAGE_AUTOLOGIN
  280. config ADK_RUNTIME_CONSOLE_VGA_DEVICE
  281. string "VGA console device"
  282. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC
  283. default "tty0"
  284. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  285. string "serial console device"
  286. depends on ADK_TARGET_WITH_SERIAL \
  287. || ADK_TARGET_QEMU \
  288. || ADK_TARGET_GENERIC \
  289. || ADK_TARGET_SIM
  290. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  291. default "ttyBF0" if ADK_TARGET_ARCH_BFIN
  292. default "ttyUL0" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  293. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  294. default "ttyAMA0" if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  295. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  296. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  297. || ADK_TARGET_SYSTEM_QEMU_AARCH64
  298. default "ttyARC0" if ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  299. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  300. default "ttySC0" if ADK_TARGET_SYSTEM_SIM_H8300H
  301. default "ttySC2" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  302. default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  303. default "ttymxc1" if ADK_TARGET_SYSTEM_PHYTEC_IMX6
  304. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  305. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  306. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  307. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  308. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  309. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  310. default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
  311. default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
  312. default "ttyS2" if ADK_TARGET_SYSTEM_SOM_C6745
  313. default "ttyPS0" if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  314. default "ttysclp0" if ADK_TARGET_SYSTEM_QEMU_S390
  315. default "ttyO2" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  316. default "ttyO0" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  317. default "ttyS4" if ADK_TARGET_SYSTEM_IMGTEC_CI20
  318. default "ttyS0"
  319. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  320. string "serial console speed"
  321. depends on ADK_TARGET_WITH_SERIAL \
  322. || ADK_TARGET_QEMU \
  323. || ADK_TARGET_GENERIC \
  324. || ADK_TARGET_SIM
  325. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  326. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  327. default "38400" if ADK_TARGET_SYSTEM_ANDES_AG101P
  328. default "38400" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  329. default "38400" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  330. default "115200"
  331. config ADK_RUNTIME_KBD_LAYOUT
  332. string "keyboard layout for the embedded system"
  333. depends on ADK_TARGET_WITH_INPUT
  334. default "de-latin1-nodeadkeys"
  335. help
  336. Predefine the keyboard layout for the embedded system.
  337. For example use de-latin1-nodeadkeys.
  338. choice
  339. prompt "initial login shell for the root user"
  340. default ADK_ROOTSH_HUSH if !ADK_TARGET_WITH_MMU
  341. default ADK_ROOTSH_MKSH
  342. config ADK_ROOTSH_MKSH
  343. bool "mksh (MirBSD Korn Shell)"
  344. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  345. depends on ADK_TARGET_WITH_MMU
  346. help
  347. Use mksh (a Korn Shell variant) as standard login shell
  348. for the superuser.
  349. config ADK_ROOTSH_HUSH
  350. bool "hush (busybox shell compatible with non-MMU systems)"
  351. select BUSYBOX_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  352. select BUSYBOX_SH_IS_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  353. help
  354. hush shell from busybox.
  355. config ADK_ROOTSH_SASH
  356. bool "sash (Shell compatible with non-MMU systems)"
  357. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  358. help
  359. standalone shell.
  360. config ADK_ROOTSH_ASH
  361. bool "ash (busybox shell)"
  362. select BUSYBOX_ASH
  363. select BUSYBOX_SH_IS_ASH
  364. depends on ADK_TARGET_WITH_MMU
  365. help
  366. Use the minimalistic ash variant that is part of busybox
  367. as standard login shell for the superuser. This is the
  368. default, but discouraged due to its frugality.
  369. config ADK_ROOTSH_BASH
  370. bool "bash (GNU Bourne-Again Shell)"
  371. select ADK_PACKAGE_BASH
  372. depends on ADK_TARGET_WITH_MMU
  373. help
  374. Use GNU bash as standard login shell for the superuser.
  375. config ADK_ROOTSH_TCSH
  376. bool "tcsh (Tenex C Shell)"
  377. select ADK_PACKAGE_TCSH
  378. depends on ADK_TARGET_WITH_MMU
  379. help
  380. Use tcsh (a C Shell variant) as standard login shell
  381. for the superuser.
  382. config ADK_ROOTSH_ZSH
  383. bool "zsh (The Z Shell)"
  384. select ADK_PACKAGE_ZSH
  385. depends on ADK_TARGET_WITH_MMU
  386. help
  387. Use zsh as standard login shell for the superuser.
  388. endchoice
  389. choice
  390. prompt "system /bin/sh (POSIX script shell)"
  391. default ADK_BINSH_HUSH if !ADK_TARGET_WITH_MMU
  392. default ADK_BINSH_MKSH
  393. config ADK_BINSH_MKSH
  394. bool "mksh (MirBSD Korn Shell)"
  395. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  396. depends on ADK_TARGET_WITH_MMU
  397. help
  398. Use mksh (a Korn Shell variant) as system shell, which is
  399. both small and powerful, so quite suited for this task.
  400. config ADK_BINSH_HUSH
  401. bool "hush (busybox)"
  402. select BUSYBOX_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  403. help
  404. hush shell.
  405. config ADK_BINSH_SASH
  406. bool "sash (Standalone Shell)"
  407. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  408. help
  409. sash shell.
  410. config ADK_BINSH_ASH
  411. bool "ash (busybox)"
  412. select BUSYBOX_ASH
  413. depends on ADK_TARGET_WITH_MMU
  414. help
  415. Use the minimalistic ash variant that is part of busybox
  416. as system shell. This is the default and rather small and
  417. fast, but lacks scripting features.
  418. config ADK_BINSH_BASH
  419. bool "bash (GNU Bourne-Again Shell)"
  420. select ADK_PACKAGE_BASH
  421. depends on ADK_TARGET_WITH_MMU
  422. help
  423. Use GNU bash as system shell. This is discouraged due to
  424. its size and slowness.
  425. config ADK_BINSH_ZSH
  426. bool "zsh (The Z Shell)"
  427. select ADK_PACKAGE_ZSH
  428. depends on ADK_TARGET_WITH_MMU
  429. help
  430. Use zsh as system shell. This is probably a bad idea.
  431. endchoice
  432. # workaround for USB ethernet f.e. Raspberry Pi 2/3
  433. config ADK_RUNTIME_WAIT_FOR_ETHERNET
  434. bool "Wait for ethernet to come up on boot"
  435. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  436. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  437. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  438. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  439. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  440. config ADK_SIMPLE_NETWORK_CONFIG
  441. bool "simple network configuration"
  442. help
  443. Manually change network config
  444. menu "eth0 Configuration"
  445. depends on ADK_SIMPLE_NETWORK_CONFIG
  446. depends on ADK_TARGET_WITH_NETDEVICE
  447. choice
  448. prompt "Type"
  449. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  450. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  451. bool "static IP configuration"
  452. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  453. bool "DHCP"
  454. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  455. bool "no configuration"
  456. endchoice
  457. choice
  458. prompt "configure default Gateway"
  459. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  460. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  461. bool "with Gateway"
  462. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  463. bool "without Gateway"
  464. endchoice
  465. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  466. string "IP Address"
  467. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  468. default "10.0.0.2"
  469. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  470. string "Netmask"
  471. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  472. default "255.255.255.0"
  473. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  474. string "Gateway"
  475. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  476. default "10.0.0.1"
  477. endmenu
  478. menu "wlan0 Configuration"
  479. depends on ADK_SIMPLE_NETWORK_CONFIG
  480. depends on ADK_TARGET_WITH_WIFI
  481. choice
  482. prompt "Type"
  483. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  484. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  485. bool "No configuration"
  486. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  487. bool "static IP configuration"
  488. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  489. bool "DHCP"
  490. endchoice
  491. choice
  492. prompt "configure default Gateway"
  493. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  494. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  495. bool "with Gateway"
  496. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  497. bool "without Gateway"
  498. endchoice
  499. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  500. string "IP Address"
  501. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  502. default "192.168.1.2"
  503. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  504. string "Netmask"
  505. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  506. default "255.255.255.0"
  507. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  508. string "Gateway"
  509. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  510. default "192.168.1.1"
  511. endmenu
  512. choice
  513. prompt "WLAN Security"
  514. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  515. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  516. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  517. bool "No security"
  518. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  519. bool "WPA2"
  520. endchoice
  521. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
  522. string "SSID"
  523. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  524. default ""
  525. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
  526. string "Password"
  527. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  528. default ""
  529. menu "eth1 Configuration"
  530. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  531. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  532. choice
  533. prompt "Type"
  534. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  535. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  536. bool "static IP configuration"
  537. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  538. bool "DHCP"
  539. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  540. bool "no configuration"
  541. endchoice
  542. choice
  543. prompt "configure default Gateway"
  544. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  545. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  546. bool "with Gateway"
  547. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  548. bool "without Gateway"
  549. endchoice
  550. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  551. string "IP Address"
  552. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  553. default "172.16.0.2"
  554. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  555. string "Netmask"
  556. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  557. default "255.255.0.0"
  558. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  559. string "Gateway"
  560. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  561. default "172.16.0.1"
  562. endmenu
  563. config ADK_SIMPLE_NETWORK_CONFIG_NS
  564. string "Nameserver"
  565. depends on ADK_SIMPLE_NETWORK_CONFIG
  566. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  567. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  568. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  569. default "10.0.0.1"
  570. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  571. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  572. depends on ADK_SIMPLE_NETWORK_CONFIG
  573. menu "video decoding license keys"
  574. depends on ADK_TARGET_BOARD_BCM28XX
  575. config ADK_RUNTIME_MPEG2_KEY
  576. string "MPEG2"
  577. help
  578. Hardware-specific license key for MPEG2 decoding.
  579. config ADK_RUNTIME_VC1_KEY
  580. string "VC-1"
  581. help
  582. Hardware-specific license key for VC-1 decoding.
  583. endmenu