Config.in.runtime 21 KB

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