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