Config.in.runtime 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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_HOSTNAME
  4. string "hostname for the embedded system"
  5. default "openadk"
  6. help
  7. Set your target hostname.
  8. config ADK_RUNTIME_SSH_PUBKEY
  9. string "SSH public key (root user only)"
  10. default ""
  11. depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
  12. help
  13. Paste your generated SSH public key here and it will be embedded into
  14. the built image, so you can use it to login instantly.
  15. config ADK_RUNTIME_PASSWORD
  16. string "root password for the embedded system"
  17. default "linux123"
  18. help
  19. Predefine the root password enabled in the built image.
  20. config ADK_RUNTIME_START_SERVICES
  21. prompt "start services by default"
  22. boolean
  23. default n
  24. help
  25. source "target/config/Config.in.scripts"
  26. config ADK_RUNTIME_TMPFS_SIZE
  27. string "size of /tmp in memory (kB)"
  28. default "16384" if ADK_TARGET_QEMU
  29. default "16384" if ADK_TARGET_VBOX
  30. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  31. default "32768" if ADK_TARGET_SYSTEM_IBM_X40
  32. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  33. default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  34. default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  35. default "2048"
  36. help
  37. Size of /tmp in memory in Kilobyte.
  38. config ADK_RUNTIME_TIMEZONE
  39. string "timezone for the embedded system"
  40. default "Europe/Berlin"
  41. help
  42. Predefine the timezone for the embedded system.
  43. config ADK_QUIET_KERNEL
  44. prompt "make bootup quiet without messages from the kernel"
  45. boolean
  46. default n
  47. help
  48. Make bootup quiet without messages from the kernel.
  49. choice
  50. prompt "bootup messages from initscripts"
  51. default ADK_RUNTIME_QUIET_INIT if ADK_PKG_XBMCBOX
  52. default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC || ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY || ADK_TARGET_VBOX
  53. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  54. config ADK_RUNTIME_VERBOSE_INIT_VGA
  55. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC || ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY || ADK_TARGET_VBOX
  56. boolean "output via VGA"
  57. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  58. boolean "output via serial"
  59. config ADK_RUNTIME_QUIET_INIT
  60. boolean "no output"
  61. endchoice
  62. choice
  63. prompt "start getty or shell after bootup"
  64. default ADK_RUNTIME_SHELL if ADK_PKG_TEST
  65. default ADK_RUNTIME_NONE if ADK_PKG_XBMCBOX
  66. default ADK_RUNTIME_GETTY
  67. config ADK_RUNTIME_GETTY
  68. boolean "start a getty after bootup"
  69. help
  70. Start a getty after bootup.
  71. config ADK_RUNTIME_SHELL
  72. boolean "start a shell after bootup"
  73. help
  74. Start a shell after bootup
  75. config ADK_RUNTIME_NONE
  76. boolean "start no shell nor getty after bootup"
  77. help
  78. Do not start a shell or getty after bootup
  79. endchoice
  80. config ADK_RUNTIME_GETTY_VGA
  81. boolean "start getty on VGA console (tty1-tty6)"
  82. depends on ADK_RUNTIME_GETTY
  83. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  84. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  85. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  86. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  87. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  88. default y if ADK_TARGET_SYSTEM_IBM_X40
  89. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  90. default y if ADK_TARGET_VBOX
  91. default n
  92. help
  93. Start getty on VGA console. (tty1-tty6)
  94. config ADK_RUNTIME_GETTY_SERIAL
  95. boolean "start getty on serial console"
  96. depends on ADK_RUNTIME_GETTY
  97. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  98. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  99. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  100. default n if ADK_TARGET_SYSTEM_HUMMINGBOARD
  101. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  102. default n if ADK_TARGET_SYSTEM_IBM_X40
  103. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  104. default n if ADK_TARGET_VBOX
  105. default y
  106. help
  107. Start getty on serial console.
  108. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  109. string
  110. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  111. default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  112. default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9 || ADK_TARGET_SYSTEM_ARM_FM || ADK_TARGET_SYSTEM_QEMU_AARCH64
  113. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  114. default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  115. default "ttyS0"
  116. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  117. string
  118. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  119. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  120. default "115200"
  121. config ADK_RUNTIME_KBD_LAYOUT
  122. string "keyboard layout for the embedded system"
  123. default ""
  124. depends on ADK_TARGET_WITH_INPUT
  125. help
  126. Predefine the keyboard layout for the embedded system.
  127. choice
  128. prompt "initial login shell for the root user"
  129. default ADK_ROOTSH_SASH if ADK_TARGET_UCLINUX
  130. default ADK_ROOTSH_MKSH
  131. config ADK_ROOTSH_MKSH
  132. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  133. bool "mksh (MirBSD Korn Shell)"
  134. help
  135. Use mksh (a Korn Shell variant) as standard login shell
  136. for the superuser.
  137. config ADK_ROOTSH_SASH
  138. select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
  139. bool "sash (Shell compatible with non-MMU systems)"
  140. help
  141. standalone shell.
  142. config ADK_ROOTSH_HUSH
  143. select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY
  144. bool "hush (Shell compatible with non-MMU systems)"
  145. help
  146. hush shell from busybox.
  147. config ADK_ROOTSH_ASH
  148. select BUSYBOX_ASH
  149. bool "ash (busybox)"
  150. help
  151. Use the minimalistic ash variant that is part of busybox
  152. as standard login shell for the superuser. This is the
  153. default, but discouraged due to its frugality.
  154. config ADK_ROOTSH_BASH
  155. select ADK_PACKAGE_BASH
  156. bool "bash (GNU Bourne-Again Shell)"
  157. help
  158. Use GNU bash as standard login shell for the superuser.
  159. config ADK_ROOTSH_TCSH
  160. select ADK_PACKAGE_TCSH
  161. bool "tcsh (Tenex C Shell)"
  162. help
  163. Use tcsh (a C Shell variant) as standard login shell
  164. for the superuser.
  165. config ADK_ROOTSH_ZSH
  166. select ADK_PACKAGE_ZSH
  167. bool "zsh (The Z Shell)"
  168. help
  169. Use zsh as standard login shell for the superuser.
  170. endchoice
  171. choice
  172. prompt "system /bin/sh (POSIX script shell)"
  173. default ADK_BINSH_SASH if ADK_TARGET_UCLINUX
  174. default ADK_BINSH_MKSH
  175. config ADK_BINSH_MKSH
  176. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  177. bool "mksh (MirBSD Korn Shell)"
  178. help
  179. Use mksh (a Korn Shell variant) as system shell, which is
  180. both small and powerful, so quite suited for this task.
  181. config ADK_BINSH_SASH
  182. select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
  183. bool "sash (Standalone Shell)"
  184. help
  185. hush shell.
  186. config ADK_BINSH_HUSH
  187. select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY
  188. bool "hush (busybox)"
  189. help
  190. hush shell.
  191. config ADK_BINSH_ASH
  192. select BUSYBOX_ASH
  193. bool "ash (busybox)"
  194. help
  195. Use the minimalistic ash variant that is part of busybox
  196. as system shell. This is the default and rather small and
  197. fast, but lacks scripting features.
  198. config ADK_BINSH_BASH
  199. select ADK_PACKAGE_BASH
  200. bool "bash (GNU Bourne-Again Shell)"
  201. help
  202. Use GNU bash as system shell. This is discouraged due to
  203. its size and slowness.
  204. config ADK_BINSH_ZSH
  205. select ADK_PACKAGE_ZSH
  206. bool "zsh (The Z Shell)"
  207. help
  208. Use zsh as system shell. This is probably a bad idea.
  209. endchoice
  210. config ADK_SIMPLE_NETWORK_CONFIG
  211. prompt "simple network configuration"
  212. boolean
  213. help
  214. Manually change network config
  215. menu "eth0 Configuration"
  216. depends on ADK_SIMPLE_NETWORK_CONFIG
  217. choice
  218. prompt "Type"
  219. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  220. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  221. bool "static IP configuration"
  222. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  223. bool "DHCP"
  224. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  225. bool "no configuration"
  226. endchoice
  227. choice
  228. prompt "configure default Gateway"
  229. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  230. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  231. boolean "with Gateway"
  232. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  233. boolean "without Gateway"
  234. endchoice
  235. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  236. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  237. string "IP Address"
  238. default "10.0.0.2"
  239. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  240. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  241. string "Netmask"
  242. default "255.255.255.0"
  243. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  244. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  245. string "Gateway"
  246. default "10.0.0.1"
  247. endmenu
  248. menu "wlan0 Configuration"
  249. depends on ADK_SIMPLE_NETWORK_CONFIG
  250. depends on ADK_TARGET_WITH_WIFI
  251. choice
  252. prompt "Type"
  253. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  254. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  255. bool "No configuration"
  256. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  257. bool "static IP configuration"
  258. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  259. bool "DHCP"
  260. endchoice
  261. choice
  262. prompt "configure default Gateway"
  263. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  264. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  265. boolean "with Gateway"
  266. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  267. boolean "without Gateway"
  268. endchoice
  269. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  270. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  271. string "IP Address"
  272. default "192.168.1.2"
  273. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  274. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  275. string "Netmask"
  276. default "255.255.255.0"
  277. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  278. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  279. string "Gateway"
  280. default "192.168.1.1"
  281. endmenu
  282. menu "eth1 Configuration"
  283. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  284. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  285. choice
  286. prompt "Type"
  287. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  288. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  289. bool "static IP configuration"
  290. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  291. bool "DHCP"
  292. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  293. bool "no configuration"
  294. endchoice
  295. choice
  296. prompt "configure default Gateway"
  297. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  298. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  299. boolean "with Gateway"
  300. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  301. boolean "without Gateway"
  302. endchoice
  303. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  304. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  305. string "IP Address"
  306. default "172.16.0.2"
  307. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  308. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  309. string "Netmask"
  310. default "255.255.0.0"
  311. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  312. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  313. string "Gateway"
  314. default "172.16.0.1"
  315. endmenu
  316. config ADK_SIMPLE_NETWORK_CONFIG_NS
  317. depends on ADK_SIMPLE_NETWORK_CONFIG
  318. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  319. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  320. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  321. string "Nameserver"
  322. default "10.0.0.1"
  323. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  324. depends on ADK_SIMPLE_NETWORK_CONFIG
  325. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  326. default ""