Config.in.runtime 6.5 KB

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