Config.in.runtime 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC || ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY || ADK_TARGET_VBOX
  52. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  53. config ADK_RUNTIME_VERBOSE_INIT_VGA
  54. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC || ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY || ADK_TARGET_VBOX
  55. boolean "output via VGA"
  56. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  57. boolean "output via serial"
  58. config ADK_RUNTIME_QUIET_INIT
  59. boolean "no output"
  60. endchoice
  61. choice
  62. prompt "start getty or shell after bootup"
  63. default ADK_RUNTIME_SHELL if ADK_PKG_TEST
  64. default ADK_RUNTIME_GETTY
  65. config ADK_RUNTIME_GETTY
  66. boolean "start a getty after bootup"
  67. help
  68. Start a getty after bootup.
  69. config ADK_RUNTIME_SHELL
  70. boolean "start a shell after bootup"
  71. help
  72. Start a shell after bootup
  73. endchoice
  74. config ADK_RUNTIME_GETTY_VGA
  75. boolean "start getty on VGA console (tty1-tty6)"
  76. depends on ADK_RUNTIME_GETTY
  77. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  78. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  79. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  80. default y if ADK_TARGET_SYSTEM_CUBOX_I
  81. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  82. default y if ADK_TARGET_SYSTEM_IBM_X40
  83. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  84. default y if ADK_TARGET_VBOX
  85. default n
  86. help
  87. Start getty on VGA console. (tty1-tty6)
  88. config ADK_RUNTIME_GETTY_SERIAL
  89. boolean "start getty on serial console"
  90. depends on ADK_RUNTIME_GETTY
  91. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  92. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  93. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  94. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  95. default n if ADK_TARGET_SYSTEM_IBM_X40
  96. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  97. default n if ADK_TARGET_VBOX
  98. default y
  99. help
  100. Start getty on serial console.
  101. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  102. string
  103. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  104. default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  105. default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9 || ADK_TARGET_SYSTEM_ARM_FM
  106. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  107. default "ttymxc0" if ADK_TARGET_SYSTEM_CUBOX_I
  108. default "ttyS0"
  109. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  110. string
  111. default "9600" if ADK_TARGET_SYSTEM_QEMU_PPC
  112. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  113. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  114. default "115200"
  115. config ADK_RUNTIME_KBD_LAYOUT
  116. string "keyboard layout for the embedded system"
  117. default ""
  118. depends on ADK_TARGET_WITH_INPUT
  119. help
  120. Predefine the keyboard layout for the embedded system.
  121. choice
  122. prompt "initial login shell for the root user"
  123. default ADK_ROOTSH_MKSH
  124. config ADK_ROOTSH_MKSH
  125. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  126. bool "mksh (MirBSD Korn Shell)"
  127. help
  128. Use mksh (a Korn Shell variant) as standard login shell
  129. for the superuser.
  130. config ADK_ROOTSH_ASH
  131. select BUSYBOX_ASH
  132. bool "ash (busybox)"
  133. help
  134. Use the minimalistic ash variant that is part of busybox
  135. as standard login shell for the superuser. This is the
  136. default, but discouraged due to its frugality.
  137. config ADK_ROOTSH_BASH
  138. select ADK_PACKAGE_BASH
  139. bool "bash (GNU Bourne-Again Shell)"
  140. help
  141. Use GNU bash as standard login shell for the superuser.
  142. config ADK_ROOTSH_TCSH
  143. select ADK_PACKAGE_TCSH
  144. bool "tcsh (Tenex C Shell)"
  145. help
  146. Use tcsh (a C Shell variant) as standard login shell
  147. for the superuser.
  148. config ADK_ROOTSH_ZSH
  149. select ADK_PACKAGE_ZSH
  150. bool "zsh (The Z Shell)"
  151. help
  152. Use zsh as standard login shell for the superuser.
  153. endchoice
  154. choice
  155. prompt "system /bin/sh (POSIX script shell)"
  156. default ADK_BINSH_MKSH
  157. config ADK_BINSH_MKSH
  158. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  159. bool "mksh (MirBSD Korn Shell)"
  160. help
  161. Use mksh (a Korn Shell variant) as system shell, which is
  162. both small and powerful, so quite suited for this task.
  163. config ADK_BINSH_ASH
  164. select BUSYBOX_ASH
  165. bool "ash (busybox)"
  166. help
  167. Use the minimalistic ash variant that is part of busybox
  168. as system shell. This is the default and rather small and
  169. fast, but lacks scripting features.
  170. config ADK_BINSH_BASH
  171. select ADK_PACKAGE_BASH
  172. bool "bash (GNU Bourne-Again Shell)"
  173. help
  174. Use GNU bash as system shell. This is discouraged due to
  175. its size and slowness.
  176. config ADK_BINSH_ZSH
  177. select ADK_PACKAGE_ZSH
  178. bool "zsh (The Z Shell)"
  179. help
  180. Use zsh as system shell. This is probably a bad idea.
  181. endchoice
  182. config ADK_SIMPLE_NETWORK_CONFIG
  183. prompt "simple network configuration"
  184. boolean
  185. help
  186. Manually change network config
  187. menu "eth0 Configuration"
  188. depends on ADK_SIMPLE_NETWORK_CONFIG
  189. choice
  190. prompt "Type"
  191. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  192. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  193. bool "static IP configuration"
  194. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  195. bool "DHCP"
  196. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  197. bool "no configuration"
  198. endchoice
  199. choice
  200. prompt "configure default Gateway"
  201. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  202. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  203. boolean "with Gateway"
  204. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  205. boolean "without Gateway"
  206. endchoice
  207. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  208. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  209. string "IP Address"
  210. default "10.0.0.2"
  211. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  212. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  213. string "Netmask"
  214. default "255.255.255.0"
  215. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  216. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  217. string "Gateway"
  218. default "10.0.0.1"
  219. endmenu
  220. menu "wlan0 Configuration"
  221. depends on ADK_SIMPLE_NETWORK_CONFIG
  222. depends on ADK_TARGET_SYSTEM_LEMOTE_YEELONG || \
  223. ADK_TARGET_SYSTEM_CUBOX_I || \
  224. ADK_TARGET_SYSTEM_IBM_X40
  225. choice
  226. prompt "Type"
  227. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  228. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  229. bool "No configuration"
  230. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  231. bool "static IP configuration"
  232. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  233. bool "DHCP"
  234. endchoice
  235. choice
  236. prompt "configure default Gateway"
  237. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  238. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  239. boolean "with Gateway"
  240. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  241. boolean "without Gateway"
  242. endchoice
  243. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  244. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  245. string "IP Address"
  246. default "192.168.1.2"
  247. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  248. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  249. string "Netmask"
  250. default "255.255.255.0"
  251. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  252. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  253. string "Gateway"
  254. default "192.168.1.1"
  255. endmenu
  256. menu "eth1 Configuration"
  257. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  258. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  259. choice
  260. prompt "Type"
  261. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  262. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  263. bool "static IP configuration"
  264. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  265. bool "DHCP"
  266. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  267. bool "no configuration"
  268. endchoice
  269. choice
  270. prompt "configure default Gateway"
  271. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  272. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  273. boolean "with Gateway"
  274. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  275. boolean "without Gateway"
  276. endchoice
  277. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  278. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  279. string "IP Address"
  280. default "172.16.0.2"
  281. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  282. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  283. string "Netmask"
  284. default "255.255.0.0"
  285. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  286. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  287. string "Gateway"
  288. default "172.16.0.1"
  289. endmenu
  290. config ADK_SIMPLE_NETWORK_CONFIG_NS
  291. depends on ADK_SIMPLE_NETWORK_CONFIG
  292. string "Nameserver"
  293. default "10.0.0.1"