Config.in.runtime 8.2 KB

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