Config.in.runtime 19 KB

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