Config.in.runtime 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732
  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. default n
  148. help
  149. Enable this option to start selected services on boot.
  150. source "target/config/Config.in.scripts"
  151. config ADK_RUNTIME_TMPFS_SIZE
  152. string "size of /tmp in memory (kB)"
  153. default "32768" if ADK_TARGET_SYSTEM_LENOVO_X200
  154. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  155. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  156. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  157. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
  158. default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  159. default "16384" if ADK_TARGET_SYSTEM_QEMU_X86_64
  160. default "16384" if ADK_TARGET_SYSTEM_QEMU_X86
  161. default "16384" if ADK_TARGET_VBOX
  162. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  163. default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  164. default "1024"
  165. depends on !ADK_RUNTIME_INIT_SIMPLEINIT && !ADK_RUNTIME_INIT_SYSTEMD
  166. help
  167. Size of /tmp in memory in Kilobyte.
  168. config ADK_RUNTIME_TIMEZONE
  169. string "timezone for the embedded system"
  170. default "Europe/Berlin"
  171. help
  172. Predefine the timezone for the embedded system.
  173. config ADK_RUNTIME_DEFAULT_LOCALE
  174. string "default locale"
  175. depends on ADK_TARGET_LIBC_WITH_LOCALE \
  176. || ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL
  177. default "C.UTF-8"
  178. help
  179. Locale to be set in the target system as default.
  180. choice
  181. prompt "bootup messages from kernel"
  182. default ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY if ADK_TARGET_QEMU
  183. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY
  184. bool "output via VGA only"
  185. depends on ADK_TARGET_WITH_VGA \
  186. || ADK_TARGET_GENERIC
  187. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY
  188. bool "output via serial console only"
  189. depends on ADK_TARGET_WITH_SERIAL \
  190. || ADK_TARGET_QEMU \
  191. || ADK_TARGET_SIM \
  192. || ADK_TARGET_GENERIC
  193. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL
  194. bool "output via VGA and serial console"
  195. depends on ADK_TARGET_WITH_SERIAL && \
  196. ADK_TARGET_WITH_VGA || \
  197. ADK_TARGET_GENERIC
  198. help
  199. Output is via VGA and serial console.
  200. Init can use only serial via /dev/console.
  201. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA
  202. bool "output via serial console and VGA"
  203. depends on ADK_TARGET_WITH_SERIAL && \
  204. ADK_TARGET_WITH_VGA || \
  205. ADK_TARGET_GENERIC
  206. help
  207. Output is via serial console and VGA.
  208. Init can use only VGA via /dev/console.
  209. config ADK_RUNTIME_QUIET_KERNEL
  210. bool "no output from the kernel"
  211. help
  212. Make bootup quiet without messages from the kernel.
  213. endchoice
  214. choice
  215. prompt "bootup messages from initscripts"
  216. default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA
  217. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  218. config ADK_RUNTIME_VERBOSE_INIT_VGA
  219. bool "output via VGA"
  220. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC
  221. depends on ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA || \
  222. ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY || \
  223. ADK_RUNTIME_QUIET_KERNEL
  224. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  225. bool "output via serial"
  226. depends on ADK_TARGET_WITH_SERIAL \
  227. || ADK_TARGET_QEMU \
  228. || ADK_TARGET_SIM \
  229. || ADK_TARGET_GENERIC
  230. depends on ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL || \
  231. ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
  232. ADK_RUNTIME_QUIET_KERNEL
  233. config ADK_RUNTIME_QUIET_INIT
  234. bool "no output"
  235. endchoice
  236. choice
  237. prompt "start getty or shell after bootup"
  238. default ADK_RUNTIME_GETTY
  239. config ADK_RUNTIME_GETTY
  240. bool "start a getty after bootup"
  241. help
  242. Start a getty after bootup.
  243. config ADK_RUNTIME_SHELL
  244. bool "start a shell after bootup"
  245. help
  246. Start a shell after bootup.
  247. config ADK_RUNTIME_NONE
  248. bool "start no shell nor getty after bootup"
  249. help
  250. Do not start a shell or getty after bootup.
  251. endchoice
  252. config ADK_RUNTIME_GETTY_VGA
  253. bool "start getty on VGA console (tty1-tty6)"
  254. depends on ADK_RUNTIME_GETTY \
  255. && (ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC)
  256. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  257. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  258. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  259. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI0
  260. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  261. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  262. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
  263. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  264. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64
  265. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  266. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  267. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  268. default y if ADK_TARGET_MODEL_PCENGINES_ALIX1C
  269. default y if ADK_TARGET_VBOX
  270. default n
  271. help
  272. Start getty on VGA console. (tty1-tty6)
  273. config ADK_RUNTIME_GETTY_SERIAL
  274. bool "start getty on serial console"
  275. depends on ADK_RUNTIME_GETTY && ( ADK_TARGET_WITH_SERIAL \
  276. || ADK_TARGET_QEMU \
  277. || ADK_TARGET_GENERIC \
  278. || ADK_TARGET_SIM )
  279. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  280. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  281. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  282. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  283. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  284. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
  285. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  286. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  287. default n if ADK_TARGET_MODEL_PCENGINES_ALIX1C
  288. default n if ADK_TARGET_VBOX
  289. default y
  290. help
  291. Start getty on serial console.
  292. config ADK_RUNTIME_GETTY_SERIAL_AUTOLOGIN
  293. bool "run autologin on serial getty"
  294. depends on ADK_RUNTIME_GETTY_SERIAL
  295. select ADK_PACKAGE_AUTOLOGIN
  296. config ADK_RUNTIME_CONSOLE_VGA_DEVICE
  297. string "VGA console device"
  298. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC
  299. default "tty0"
  300. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  301. string "serial console device"
  302. depends on ADK_TARGET_WITH_SERIAL \
  303. || ADK_TARGET_QEMU \
  304. || ADK_TARGET_GENERIC \
  305. || ADK_TARGET_SIM
  306. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  307. default "ttyBF0" if ADK_TARGET_ARCH_BFIN
  308. default "ttyUL0" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  309. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  310. default "ttyAMA0" if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  311. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  312. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  313. || ADK_TARGET_SYSTEM_QEMU_AARCH64
  314. default "ttyARC0" if ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  315. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  316. default "ttySC0" if ADK_TARGET_SYSTEM_SIM_H8300H
  317. default "ttySC2" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  318. default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  319. default "ttymxc1" if ADK_TARGET_SYSTEM_PHYTEC_IMX6
  320. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  321. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  322. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  323. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
  324. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  325. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64
  326. default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
  327. default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
  328. default "ttyS2" if ADK_TARGET_SYSTEM_SOM_C6745
  329. default "ttyPS0" if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  330. default "ttysclp0" if ADK_TARGET_SYSTEM_QEMU_S390
  331. default "ttyO2" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  332. default "ttyO0" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  333. default "ttyS4" if ADK_TARGET_SYSTEM_IMGTEC_CI20
  334. default "ttyS0"
  335. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  336. string "serial console speed"
  337. depends on ADK_TARGET_WITH_SERIAL \
  338. || ADK_TARGET_QEMU \
  339. || ADK_TARGET_GENERIC \
  340. || ADK_TARGET_SIM
  341. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  342. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  343. default "38400" if ADK_TARGET_SYSTEM_ANDES_AG101P
  344. default "38400" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  345. default "38400" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  346. default "115200"
  347. config ADK_RUNTIME_KBD_LAYOUT
  348. string "keyboard layout for the embedded system"
  349. depends on ADK_TARGET_WITH_INPUT
  350. default "de-latin1-nodeadkeys"
  351. help
  352. Predefine the keyboard layout for the embedded system.
  353. For example use de-latin1-nodeadkeys.
  354. choice
  355. prompt "initial login shell for the root user"
  356. default ADK_ROOTSH_HUSH if !ADK_TARGET_WITH_MMU
  357. default ADK_ROOTSH_MKSH
  358. config ADK_ROOTSH_MKSH
  359. bool "mksh (MirBSD Korn Shell)"
  360. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  361. depends on ADK_TARGET_WITH_MMU
  362. help
  363. Use mksh (a Korn Shell variant) as standard login shell
  364. for the superuser.
  365. config ADK_ROOTSH_HUSH
  366. bool "hush (busybox shell compatible with non-MMU systems)"
  367. select BUSYBOX_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  368. select BUSYBOX_SH_IS_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  369. help
  370. hush shell from busybox.
  371. config ADK_ROOTSH_SASH
  372. bool "sash (Shell compatible with non-MMU systems)"
  373. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  374. help
  375. standalone shell.
  376. config ADK_ROOTSH_ASH
  377. bool "ash (busybox shell)"
  378. select BUSYBOX_ASH
  379. select BUSYBOX_SH_IS_ASH
  380. depends on ADK_TARGET_WITH_MMU
  381. help
  382. Use the minimalistic ash variant that is part of busybox
  383. as standard login shell for the superuser. This is the
  384. default, but discouraged due to its frugality.
  385. config ADK_ROOTSH_BASH
  386. bool "bash (GNU Bourne-Again Shell)"
  387. select ADK_PACKAGE_BASH
  388. depends on ADK_TARGET_WITH_MMU
  389. help
  390. Use GNU bash as standard login shell for the superuser.
  391. config ADK_ROOTSH_TCSH
  392. bool "tcsh (Tenex C Shell)"
  393. select ADK_PACKAGE_TCSH
  394. depends on ADK_TARGET_WITH_MMU
  395. help
  396. Use tcsh (a C Shell variant) as standard login shell
  397. for the superuser.
  398. config ADK_ROOTSH_ZSH
  399. bool "zsh (The Z Shell)"
  400. select ADK_PACKAGE_ZSH
  401. depends on ADK_TARGET_WITH_MMU
  402. help
  403. Use zsh as standard login shell for the superuser.
  404. endchoice
  405. choice
  406. prompt "system /bin/sh (POSIX script shell)"
  407. default ADK_BINSH_HUSH if !ADK_TARGET_WITH_MMU
  408. default ADK_BINSH_MKSH
  409. config ADK_BINSH_MKSH
  410. bool "mksh (MirBSD Korn Shell)"
  411. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  412. depends on ADK_TARGET_WITH_MMU
  413. help
  414. Use mksh (a Korn Shell variant) as system shell, which is
  415. both small and powerful, so quite suited for this task.
  416. config ADK_BINSH_HUSH
  417. bool "hush (busybox)"
  418. select ADK_PACKAGE_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  419. help
  420. hush shell.
  421. config ADK_BINSH_SASH
  422. bool "sash (Standalone Shell)"
  423. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  424. help
  425. sash shell.
  426. config ADK_BINSH_ASH
  427. bool "ash (busybox)"
  428. select BUSYBOX_ASH
  429. depends on ADK_TARGET_WITH_MMU
  430. help
  431. Use the minimalistic ash variant that is part of busybox
  432. as system shell. This is the default and rather small and
  433. fast, but lacks scripting features.
  434. config ADK_BINSH_BASH
  435. bool "bash (GNU Bourne-Again Shell)"
  436. select ADK_PACKAGE_BASH
  437. depends on ADK_TARGET_WITH_MMU
  438. help
  439. Use GNU bash as system shell. This is discouraged due to
  440. its size and slowness.
  441. config ADK_BINSH_ZSH
  442. bool "zsh (The Z Shell)"
  443. select ADK_PACKAGE_ZSH
  444. depends on ADK_TARGET_WITH_MMU
  445. help
  446. Use zsh as system shell. This is probably a bad idea.
  447. endchoice
  448. # workaround for USB ethernet f.e. Raspberry Pi 2/3
  449. config ADK_RUNTIME_WAIT_FOR_ETHERNET
  450. bool "Wait for ethernet to come up on boot"
  451. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  452. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  453. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  454. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
  455. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64
  456. config ADK_SIMPLE_NETWORK_CONFIG
  457. bool "simple network configuration"
  458. help
  459. Manually change network config
  460. menu "eth0 Configuration"
  461. depends on ADK_SIMPLE_NETWORK_CONFIG
  462. depends on ADK_TARGET_WITH_NETDEVICE
  463. choice
  464. prompt "Type"
  465. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  466. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  467. bool "static IP configuration"
  468. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  469. bool "DHCP"
  470. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  471. bool "no configuration"
  472. endchoice
  473. choice
  474. prompt "configure default Gateway"
  475. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  476. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  477. bool "with Gateway"
  478. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  479. bool "without Gateway"
  480. endchoice
  481. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  482. string "IP Address"
  483. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  484. default "10.0.0.2"
  485. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  486. string "Netmask"
  487. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  488. default "255.255.255.0"
  489. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  490. string "Gateway"
  491. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  492. default "10.0.0.1"
  493. endmenu
  494. menu "wlan0 Configuration"
  495. depends on ADK_SIMPLE_NETWORK_CONFIG
  496. depends on ADK_TARGET_WITH_WIFI
  497. choice
  498. prompt "Type"
  499. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  500. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  501. bool "No configuration"
  502. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  503. bool "static IP configuration"
  504. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  505. bool "DHCP"
  506. endchoice
  507. choice
  508. prompt "configure default Gateway"
  509. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  510. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  511. bool "with Gateway"
  512. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  513. bool "without Gateway"
  514. endchoice
  515. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  516. string "IP Address"
  517. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  518. default "192.168.1.2"
  519. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  520. string "Netmask"
  521. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  522. default "255.255.255.0"
  523. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  524. string "Gateway"
  525. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  526. default "192.168.1.1"
  527. endmenu
  528. choice
  529. prompt "WLAN Security"
  530. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  531. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  532. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  533. bool "No security"
  534. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  535. bool "WPA2"
  536. endchoice
  537. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
  538. string "SSID"
  539. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  540. default ""
  541. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
  542. string "Password"
  543. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  544. default ""
  545. menu "eth1 Configuration"
  546. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  547. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  548. choice
  549. prompt "Type"
  550. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  551. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  552. bool "static IP configuration"
  553. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  554. bool "DHCP"
  555. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  556. bool "no configuration"
  557. endchoice
  558. choice
  559. prompt "configure default Gateway"
  560. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  561. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  562. bool "with Gateway"
  563. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  564. bool "without Gateway"
  565. endchoice
  566. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  567. string "IP Address"
  568. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  569. default "172.16.0.2"
  570. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  571. string "Netmask"
  572. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  573. default "255.255.0.0"
  574. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  575. string "Gateway"
  576. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  577. default "172.16.0.1"
  578. endmenu
  579. config ADK_SIMPLE_NETWORK_CONFIG_NS
  580. string "Nameserver"
  581. depends on ADK_SIMPLE_NETWORK_CONFIG
  582. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  583. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  584. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  585. default "10.0.0.1"
  586. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  587. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  588. depends on ADK_SIMPLE_NETWORK_CONFIG
  589. menu "video decoding license keys"
  590. depends on ADK_TARGET_BOARD_BCM28XX
  591. config ADK_RUNTIME_MPEG2_KEY
  592. string "MPEG2"
  593. help
  594. Hardware-specific license key for MPEG2 decoding.
  595. config ADK_RUNTIME_VC1_KEY
  596. string "VC-1"
  597. help
  598. Hardware-specific license key for VC-1 decoding.
  599. endmenu