Config.in.runtime 6.8 KB

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