Config.in.runtime 6.7 KB

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