Config.in.runtime 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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_TARGET_SYSTEM_IBM_X40
  22. default "2048"
  23. help
  24. Size of /tmp in memory in Kilobyte.
  25. config ADK_RUNTIME_TIMEZONE
  26. string "timezone for the embedded system"
  27. default "Europe/Berlin"
  28. help
  29. Predefine the timezone for the embedded system.
  30. choice
  31. prompt "Console output on embedded system"
  32. default ADK_RUNTIME_CONSOLE_BOTH if ADK_TARGET_WITH_VGA && !ADK_TARGET_SYSTEM_RASPBERRY_PI
  33. default ADK_RUNTIME_CONSOLE_VGA if ADK_TARGET_SYSTEM_RASPBERRY_PI
  34. default ADK_RUNTIME_CONSOLE_SERIAL
  35. config ADK_RUNTIME_CONSOLE_VGA
  36. bool "console output on VGA"
  37. help
  38. Start getty on VGA console. (tty1-tty6)
  39. config ADK_RUNTIME_CONSOLE_SERIAL
  40. bool "console output on serial"
  41. help
  42. Start getty on serial console. (ttyS0)
  43. config ADK_RUNTIME_CONSOLE_BOTH
  44. bool "console output on VGA and serial"
  45. help
  46. Start getty on VGA console and serial device.
  47. endchoice
  48. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  49. string
  50. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  51. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  52. default "115200"
  53. config ADK_RUNTIME_KBD_LAYOUT
  54. string "keyboard layout for the embedded system"
  55. default ""
  56. depends on ADK_TARGET_WITH_INPUT
  57. help
  58. Predefine the keyboard layout for the embedded system.
  59. choice
  60. prompt "Initial login shell for the root user"
  61. default ADK_ROOTSH_ASH
  62. config ADK_ROOTSH_ASH
  63. select BUSYBOX_ASH
  64. bool "ash (busybox)"
  65. help
  66. Use the minimalistic ash variant that is part of busybox
  67. as standard login shell for the superuser. This is the
  68. default, but discouraged due to its frugality.
  69. config ADK_ROOTSH_BASH
  70. select ADK_PACKAGE_BASH
  71. bool "bash (GNU Bourne-Again Shell)"
  72. help
  73. Use GNU bash as standard login shell for the superuser.
  74. config ADK_ROOTSH_MKSH
  75. select ADK_PACKAGE_MKSH
  76. bool "mksh (MirBSD Korn Shell)"
  77. help
  78. Use mksh (a Korn Shell variant) as standard login shell
  79. for the superuser.
  80. config ADK_ROOTSH_TCSH
  81. select ADK_PACKAGE_TCSH
  82. bool "tcsh (Tenex C Shell)"
  83. help
  84. Use tcsh (a C Shell variant) as standard login shell
  85. for the superuser.
  86. config ADK_ROOTSH_ZSH
  87. select ADK_PACKAGE_ZSH
  88. bool "zsh (The Z Shell)"
  89. help
  90. Use zsh as standard login shell for the superuser.
  91. endchoice
  92. choice
  93. prompt "System /bin/sh (POSIX script shell)"
  94. default ADK_BINSH_ASH
  95. config ADK_BINSH_ASH
  96. select BUSYBOX_ASH
  97. bool "ash (busybox)"
  98. help
  99. Use the minimalistic ash variant that is part of busybox
  100. as system shell. This is the default and rather small and
  101. fast, but lacks scripting features.
  102. config ADK_BINSH_BASH
  103. select ADK_PACKAGE_BASH
  104. bool "bash (GNU Bourne-Again Shell)"
  105. help
  106. Use GNU bash as system shell. This is discouraged due to
  107. its size and slowness.
  108. config ADK_BINSH_MKSH
  109. select ADK_PACKAGE_MKSH
  110. bool "mksh (MirBSD Korn Shell)"
  111. help
  112. Use mksh (a Korn Shell variant) as system shell, which is
  113. both small and powerful, so quite suited for this task.
  114. config ADK_BINSH_ZSH
  115. select ADK_PACKAGE_ZSH
  116. bool "zsh (The Z Shell)"
  117. help
  118. Use zsh as system shell. This is probably a bad idea.
  119. endchoice
  120. config ADK_SIMPLE_NETWORK_CONFIG
  121. prompt "simple network configuration"
  122. boolean
  123. help
  124. Manually change network config
  125. WWW: http://www.openadk.org
  126. menu "eth0 Configuration"
  127. depends on ADK_SIMPLE_NETWORK_CONFIG
  128. choice
  129. prompt "Type"
  130. default SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC
  131. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC
  132. bool "NIC / DHCP"
  133. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  134. bool "NIC / manual IP"
  135. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  136. bool "Bridge with IP"
  137. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE
  138. bool "Bridge w/o IP"
  139. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NONE
  140. bool "None"
  141. endchoice
  142. config SIMPLE_NETWORK_CONFIG_ETH0_IP
  143. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  144. string "eth0 IP Address"
  145. default "192.168.1.2"
  146. config SIMPLE_NETWORK_CONFIG_ETH0_NM
  147. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  148. string "eth0 Netmask"
  149. default "255.255.255.0"
  150. config SIMPLE_NETWORK_CONFIG_ETH0_GW
  151. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  152. string "eth0 Gateway"
  153. default "192.168.1.1"
  154. config SIMPLE_NETWORK_CONFIG_ETH0_BRIDGE
  155. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  156. string "Bridge ports"
  157. default "eth0 eth1"
  158. config SIMPLE_NETWORK_CONFIG_ETH0_BC
  159. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  160. string "eth0 Broadcast"
  161. default "+"
  162. endmenu
  163. menu "eth1 Configuration"
  164. depends on ADK_SIMPLE_NETWORK_CONFIG
  165. choice
  166. prompt "Type"
  167. default SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  168. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC
  169. bool "NIC / DHCP"
  170. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  171. bool "NIC / manual IP"
  172. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  173. bool "Bridge with IP"
  174. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE
  175. bool "Bridge w/o IP"
  176. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  177. bool "None"
  178. endchoice
  179. config SIMPLE_NETWORK_CONFIG_ETH1_IP
  180. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  181. string "eth1 IP Address"
  182. default "192.168.1.2"
  183. config SIMPLE_NETWORK_CONFIG_ETH1_NM
  184. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  185. string "eth1 Netmask"
  186. default "255.255.255.0"
  187. config SIMPLE_NETWORK_CONFIG_ETH1_GW
  188. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  189. string "eth1 Gateway"
  190. default "192.168.1.1"
  191. config SIMPLE_NETWORK_CONFIG_ETH1_BRIDGE
  192. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  193. string "Bridge ports"
  194. default "eth1 eth2"
  195. config SIMPLE_NETWORK_CONFIG_ETH1_BC
  196. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  197. string "eth1 Broadcast"
  198. default "+"
  199. endmenu
  200. menu "Resolver Configuration"
  201. depends on ADK_SIMPLE_NETWORK_CONFIG
  202. config SIMPLE_NETWORK_CONFIG_RESOLV
  203. string "Nameserver"
  204. default "192.168.1.1"
  205. endmenu