Config.in.runtime 8.1 KB

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