Config.in.runtime 9.2 KB

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