Config.in.runtime 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  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_CUBOX_I
  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_CUBOX_I
  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_LEMOTE_YEELONG
  101. default n if ADK_TARGET_SYSTEM_IBM_X40
  102. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  103. default n if ADK_TARGET_VBOX
  104. default y
  105. help
  106. Start getty on serial console.
  107. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  108. string
  109. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  110. default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  111. default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9 || ADK_TARGET_SYSTEM_ARM_FM
  112. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  113. default "ttymxc0" if ADK_TARGET_SYSTEM_CUBOX_I
  114. default "ttyS0"
  115. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  116. string
  117. default "9600" if ADK_TARGET_SYSTEM_QEMU_PPC
  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_MKSH
  130. config ADK_ROOTSH_MKSH
  131. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  132. bool "mksh (MirBSD Korn Shell)"
  133. help
  134. Use mksh (a Korn Shell variant) as standard login shell
  135. for the superuser.
  136. config ADK_ROOTSH_ASH
  137. select BUSYBOX_ASH
  138. bool "ash (busybox)"
  139. help
  140. Use the minimalistic ash variant that is part of busybox
  141. as standard login shell for the superuser. This is the
  142. default, but discouraged due to its frugality.
  143. config ADK_ROOTSH_BASH
  144. select ADK_PACKAGE_BASH
  145. bool "bash (GNU Bourne-Again Shell)"
  146. help
  147. Use GNU bash as standard login shell for the superuser.
  148. config ADK_ROOTSH_TCSH
  149. select ADK_PACKAGE_TCSH
  150. bool "tcsh (Tenex C Shell)"
  151. help
  152. Use tcsh (a C Shell variant) as standard login shell
  153. for the superuser.
  154. config ADK_ROOTSH_ZSH
  155. select ADK_PACKAGE_ZSH
  156. bool "zsh (The Z Shell)"
  157. help
  158. Use zsh as standard login shell for the superuser.
  159. endchoice
  160. choice
  161. prompt "system /bin/sh (POSIX script shell)"
  162. default ADK_BINSH_MKSH
  163. config ADK_BINSH_MKSH
  164. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  165. bool "mksh (MirBSD Korn Shell)"
  166. help
  167. Use mksh (a Korn Shell variant) as system shell, which is
  168. both small and powerful, so quite suited for this task.
  169. config ADK_BINSH_ASH
  170. select BUSYBOX_ASH
  171. bool "ash (busybox)"
  172. help
  173. Use the minimalistic ash variant that is part of busybox
  174. as system shell. This is the default and rather small and
  175. fast, but lacks scripting features.
  176. config ADK_BINSH_BASH
  177. select ADK_PACKAGE_BASH
  178. bool "bash (GNU Bourne-Again Shell)"
  179. help
  180. Use GNU bash as system shell. This is discouraged due to
  181. its size and slowness.
  182. config ADK_BINSH_ZSH
  183. select ADK_PACKAGE_ZSH
  184. bool "zsh (The Z Shell)"
  185. help
  186. Use zsh as system shell. This is probably a bad idea.
  187. endchoice
  188. config ADK_SIMPLE_NETWORK_CONFIG
  189. prompt "simple network configuration"
  190. boolean
  191. help
  192. Manually change network config
  193. menu "eth0 Configuration"
  194. depends on ADK_SIMPLE_NETWORK_CONFIG
  195. choice
  196. prompt "Type"
  197. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  198. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  199. bool "static IP configuration"
  200. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  201. bool "DHCP"
  202. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  203. bool "no configuration"
  204. endchoice
  205. choice
  206. prompt "configure default Gateway"
  207. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  208. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  209. boolean "with Gateway"
  210. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  211. boolean "without Gateway"
  212. endchoice
  213. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  214. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  215. string "IP Address"
  216. default "10.0.0.2"
  217. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  218. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  219. string "Netmask"
  220. default "255.255.255.0"
  221. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  222. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  223. string "Gateway"
  224. default "10.0.0.1"
  225. endmenu
  226. menu "wlan0 Configuration"
  227. depends on ADK_SIMPLE_NETWORK_CONFIG
  228. depends on ADK_TARGET_SYSTEM_LEMOTE_YEELONG || \
  229. ADK_TARGET_SYSTEM_CUBOX_I || \
  230. ADK_TARGET_SYSTEM_IBM_X40
  231. choice
  232. prompt "Type"
  233. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  234. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  235. bool "No configuration"
  236. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  237. bool "static IP configuration"
  238. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  239. bool "DHCP"
  240. endchoice
  241. choice
  242. prompt "configure default Gateway"
  243. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  244. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  245. boolean "with Gateway"
  246. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  247. boolean "without Gateway"
  248. endchoice
  249. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  250. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  251. string "IP Address"
  252. default "192.168.1.2"
  253. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  254. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  255. string "Netmask"
  256. default "255.255.255.0"
  257. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  258. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  259. string "Gateway"
  260. default "192.168.1.1"
  261. endmenu
  262. menu "eth1 Configuration"
  263. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  264. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  265. choice
  266. prompt "Type"
  267. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  268. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  269. bool "static IP configuration"
  270. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  271. bool "DHCP"
  272. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  273. bool "no configuration"
  274. endchoice
  275. choice
  276. prompt "configure default Gateway"
  277. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  278. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  279. boolean "with Gateway"
  280. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  281. boolean "without Gateway"
  282. endchoice
  283. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  284. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  285. string "IP Address"
  286. default "172.16.0.2"
  287. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  288. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  289. string "Netmask"
  290. default "255.255.0.0"
  291. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  292. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  293. string "Gateway"
  294. default "172.16.0.1"
  295. endmenu
  296. config ADK_SIMPLE_NETWORK_CONFIG_NS
  297. depends on ADK_SIMPLE_NETWORK_CONFIG
  298. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  299. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  300. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  301. string "Nameserver"
  302. default "10.0.0.1"
  303. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  304. depends on ADK_SIMPLE_NETWORK_CONFIG
  305. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  306. default ""