1
0

Config.in.runtime 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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 "wlan0 Configuration"
  167. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  168. ADK_TARGET_SYSTEM_LEMOTE_YEELONG || \
  169. ADK_TARGET_SYSTEM_RASPBERRY_PI || \
  170. ADK_TARGET_SYSTEM_IBM_X40
  171. choice
  172. prompt "Type"
  173. default SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_NONE
  174. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_DHCP
  175. bool "DHCP"
  176. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_STATIC
  177. bool "static IP configuration"
  178. endchoice
  179. endmenu
  180. menu "eth1 Configuration"
  181. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  182. !ADK_TARGET_SYSTEM_LEMOTE_YEELONG && \
  183. !ADK_TARGET_SYSTEM_RASPBERRY_PI && \
  184. !ADK_TARGET_SYSTEM_IBM_X40
  185. choice
  186. prompt "Type"
  187. default SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  188. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC
  189. bool "NIC / DHCP"
  190. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  191. bool "NIC / manual IP"
  192. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  193. bool "Bridge with IP"
  194. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE
  195. bool "Bridge w/o IP"
  196. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  197. bool "None"
  198. endchoice
  199. config SIMPLE_NETWORK_CONFIG_ETH1_IP
  200. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  201. string "eth1 IP Address"
  202. default "192.168.1.2"
  203. config SIMPLE_NETWORK_CONFIG_ETH1_NM
  204. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  205. string "eth1 Netmask"
  206. default "255.255.255.0"
  207. config SIMPLE_NETWORK_CONFIG_ETH1_GW
  208. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  209. string "eth1 Gateway"
  210. default "192.168.1.1"
  211. config SIMPLE_NETWORK_CONFIG_ETH1_BRIDGE
  212. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  213. string "Bridge ports"
  214. default "eth1 eth2"
  215. config SIMPLE_NETWORK_CONFIG_ETH1_BC
  216. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  217. string "eth1 Broadcast"
  218. default "+"
  219. endmenu
  220. menu "Resolver Configuration"
  221. depends on ADK_SIMPLE_NETWORK_CONFIG
  222. config SIMPLE_NETWORK_CONFIG_RESOLV
  223. string "Nameserver"
  224. default "192.168.1.1"
  225. endmenu