Config.in.runtime 20 KB

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