Config.in.runtime 8.8 KB

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