Config.in.runtime 9.0 KB

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