Config.in.runtime 20 KB

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