Config.in.runtime 20 KB

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