Config.in.runtime 20 KB

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