Config.in.runtime 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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
  51. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  52. config ADK_RUNTIME_VERBOSE_INIT_VGA
  53. depends on ADK_TARGET_WITH_VGA
  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
  77. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  78. default y if ADK_TARGET_SYSTEM_CUBOX_I
  79. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  80. default y if ADK_TARGET_SYSTEM_IBM_X40
  81. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  82. default n
  83. help
  84. Start getty on VGA console. (tty1-tty6)
  85. config ADK_RUNTIME_GETTY_SERIAL
  86. boolean "start getty on serial console"
  87. depends on ADK_RUNTIME_GETTY
  88. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  89. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  90. default n if ADK_TARGET_SYSTEM_IBM_X40
  91. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  92. default y
  93. help
  94. Start getty on serial console.
  95. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  96. string
  97. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  98. default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  99. default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9 || ADK_TARGET_SYSTEM_ARM_FM
  100. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH4 || ADK_TARGET_SYSTEM_QEMU_SH4EB
  101. default "ttymxc0" if ADK_TARGET_SYSTEM_CUBOX_I
  102. default "ttyS0"
  103. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  104. string
  105. default "9600" if ADK_TARGET_SYSTEM_QEMU_PPC
  106. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  107. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  108. default "115200"
  109. config ADK_RUNTIME_KBD_LAYOUT
  110. string "keyboard layout for the embedded system"
  111. default ""
  112. depends on ADK_TARGET_WITH_INPUT
  113. help
  114. Predefine the keyboard layout for the embedded system.
  115. choice
  116. prompt "initial login shell for the root user"
  117. default ADK_ROOTSH_MKSH
  118. config ADK_ROOTSH_MKSH
  119. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  120. bool "mksh (MirBSD Korn Shell)"
  121. help
  122. Use mksh (a Korn Shell variant) as standard login shell
  123. for the superuser.
  124. config ADK_ROOTSH_ASH
  125. select BUSYBOX_ASH
  126. bool "ash (busybox)"
  127. help
  128. Use the minimalistic ash variant that is part of busybox
  129. as standard login shell for the superuser. This is the
  130. default, but discouraged due to its frugality.
  131. config ADK_ROOTSH_BASH
  132. select ADK_PACKAGE_BASH
  133. bool "bash (GNU Bourne-Again Shell)"
  134. help
  135. Use GNU bash as standard login shell for the superuser.
  136. config ADK_ROOTSH_TCSH
  137. select ADK_PACKAGE_TCSH
  138. bool "tcsh (Tenex C Shell)"
  139. help
  140. Use tcsh (a C Shell variant) as standard login shell
  141. for the superuser.
  142. config ADK_ROOTSH_ZSH
  143. select ADK_PACKAGE_ZSH
  144. bool "zsh (The Z Shell)"
  145. help
  146. Use zsh as standard login shell for the superuser.
  147. endchoice
  148. choice
  149. prompt "system /bin/sh (POSIX script shell)"
  150. default ADK_BINSH_MKSH
  151. config ADK_BINSH_MKSH
  152. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  153. bool "mksh (MirBSD Korn Shell)"
  154. help
  155. Use mksh (a Korn Shell variant) as system shell, which is
  156. both small and powerful, so quite suited for this task.
  157. config ADK_BINSH_ASH
  158. select BUSYBOX_ASH
  159. bool "ash (busybox)"
  160. help
  161. Use the minimalistic ash variant that is part of busybox
  162. as system shell. This is the default and rather small and
  163. fast, but lacks scripting features.
  164. config ADK_BINSH_BASH
  165. select ADK_PACKAGE_BASH
  166. bool "bash (GNU Bourne-Again Shell)"
  167. help
  168. Use GNU bash as system shell. This is discouraged due to
  169. its size and slowness.
  170. config ADK_BINSH_ZSH
  171. select ADK_PACKAGE_ZSH
  172. bool "zsh (The Z Shell)"
  173. help
  174. Use zsh as system shell. This is probably a bad idea.
  175. endchoice
  176. config ADK_SIMPLE_NETWORK_CONFIG
  177. prompt "simple network configuration"
  178. boolean
  179. help
  180. Manually change network config
  181. menu "eth0 Configuration"
  182. depends on ADK_SIMPLE_NETWORK_CONFIG
  183. choice
  184. prompt "Type"
  185. default SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  186. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  187. bool "NIC / manual IP"
  188. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC
  189. bool "NIC / DHCP"
  190. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  191. bool "Bridge with IP"
  192. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE
  193. bool "Bridge w/o IP"
  194. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NONE
  195. bool "None"
  196. endchoice
  197. config SIMPLE_NETWORK_CONFIG_ETH0_IP
  198. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  199. string "eth0 IP Address"
  200. default "10.0.2.15"
  201. config SIMPLE_NETWORK_CONFIG_ETH0_NM
  202. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  203. string "eth0 Netmask"
  204. default "255.255.255.0"
  205. config SIMPLE_NETWORK_CONFIG_ETH0_GW
  206. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  207. string "eth0 Gateway"
  208. default "10.0.2.2"
  209. config SIMPLE_NETWORK_CONFIG_ETH0_BRIDGE
  210. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  211. string "Bridge ports"
  212. default "eth0 eth1"
  213. config SIMPLE_NETWORK_CONFIG_ETH0_BC
  214. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  215. string
  216. default "+"
  217. endmenu
  218. menu "wlan0 Configuration"
  219. depends on ADK_SIMPLE_NETWORK_CONFIG
  220. depends on ADK_TARGET_SYSTEM_LEMOTE_YEELONG || \
  221. ADK_TARGET_SYSTEM_RASPBERRY_PI || \
  222. ADK_TARGET_SYSTEM_CUBOX_I || \
  223. ADK_TARGET_SYSTEM_IBM_X40
  224. choice
  225. prompt "Type"
  226. default SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_NONE
  227. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_NONE
  228. bool "None"
  229. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_DHCP
  230. bool "DHCP"
  231. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_STATIC
  232. bool "static IP configuration"
  233. endchoice
  234. endmenu
  235. menu "eth1 Configuration"
  236. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  237. !ADK_TARGET_SYSTEM_LEMOTE_YEELONG && \
  238. !ADK_TARGET_SYSTEM_RASPBERRY_PI && \
  239. !ADK_TARGET_SYSTEM_CUBOX_I && \
  240. !ADK_TARGET_SYSTEM_IBM_X40
  241. choice
  242. prompt "Type"
  243. default SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  244. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC
  245. bool "NIC / DHCP"
  246. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  247. bool "NIC / manual IP"
  248. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  249. bool "Bridge with IP"
  250. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE
  251. bool "Bridge w/o IP"
  252. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  253. bool "None"
  254. endchoice
  255. config SIMPLE_NETWORK_CONFIG_ETH1_IP
  256. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  257. string "eth1 IP Address"
  258. default "192.168.1.2"
  259. config SIMPLE_NETWORK_CONFIG_ETH1_NM
  260. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  261. string "eth1 Netmask"
  262. default "255.255.255.0"
  263. config SIMPLE_NETWORK_CONFIG_ETH1_GW
  264. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  265. depends on !SIMPLE_NETWORK_CONFIG_ETH0_GW
  266. string "eth1 Gateway"
  267. default "" if !SIMPLE_NETWORK_CONFIG_ETH0_GW
  268. default "192.168.1.1"
  269. config SIMPLE_NETWORK_CONFIG_ETH1_BRIDGE
  270. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  271. string "Bridge ports"
  272. default "eth1 eth2"
  273. config SIMPLE_NETWORK_CONFIG_ETH1_BC
  274. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  275. string
  276. default "+"
  277. endmenu
  278. menu "DNS Configuration"
  279. depends on ADK_SIMPLE_NETWORK_CONFIG
  280. config SIMPLE_NETWORK_CONFIG_RESOLV
  281. string "Nameserver"
  282. default "10.0.2.3"
  283. endmenu