Config.in.runtime 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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_START_SERVICES
  9. prompt "start some services by default"
  10. boolean
  11. default n
  12. help
  13. source "target/config/Config.in.scripts"
  14. config ADK_RUNTIME_SSH_PUBKEY
  15. string "SSH public key (root user only)"
  16. default ""
  17. help
  18. Paste your generated SSH public key here and it will be embedded into
  19. the built image, so you can use it to login instantly.
  20. config ADK_RUNTIME_PASSWORD
  21. string "root password for the embedded system"
  22. default "linux123"
  23. help
  24. Predefine the root password enabled in the built image.
  25. config ADK_RUNTIME_TMPFS_SIZE
  26. string "size of /tmp in memory (kB)"
  27. default "16384" if ADK_HARDWARE_QEMU
  28. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  29. default "32768" if ADK_TARGET_SYSTEM_IBM_X40
  30. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  31. default "2048"
  32. help
  33. Size of /tmp in memory in Kilobyte.
  34. config ADK_RUNTIME_TIMEZONE
  35. string "timezone for the embedded system"
  36. default "Europe/Berlin"
  37. help
  38. Predefine the timezone for the embedded system.
  39. choice
  40. prompt "Start getty or shell after bootup"
  41. default ADK_RUNTIME_SHELL if ADK_PKG_TEST
  42. default ADK_RUNTIME_GETTY
  43. config ADK_RUNTIME_GETTY
  44. boolean "start a getty after bootup"
  45. help
  46. Start a getty after bootup.
  47. config ADK_RUNTIME_SHELL
  48. boolean "start a shell after bootup"
  49. help
  50. Start a shell after bootup
  51. endchoice
  52. config ADK_RUNTIME_GETTY_VGA
  53. boolean "start getty on VGA console (tty1-tty6)"
  54. depends on ADK_RUNTIME_GETTY
  55. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  56. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  57. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  58. default y if ADK_TARGET_SYSTEM_IBM_X40
  59. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  60. default n
  61. help
  62. Start getty on VGA console. (tty1-tty6)
  63. config ADK_RUNTIME_GETTY_SERIAL
  64. boolean "start getty on serial console"
  65. depends on ADK_RUNTIME_GETTY
  66. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  67. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  68. default n if ADK_TARGET_SYSTEM_IBM_X40
  69. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  70. default y
  71. help
  72. Start getty on serial console.
  73. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  74. string
  75. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  76. default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  77. default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
  78. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH4 || ADK_TARGET_SYSTEM_QEMU_SH4EB
  79. default "ttymxc0" if ADK_TARGET_SYSTEM_CUBOX_I
  80. default "ttyS0"
  81. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  82. string
  83. default "9600" if ADK_TARGET_SYSTEM_QEMU_PPC
  84. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  85. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  86. default "115200"
  87. config ADK_RUNTIME_KBD_LAYOUT
  88. string "keyboard layout for the embedded system"
  89. default ""
  90. depends on ADK_TARGET_WITH_INPUT
  91. help
  92. Predefine the keyboard layout for the embedded system.
  93. choice
  94. prompt "Initial login shell for the root user"
  95. default ADK_ROOTSH_MKSH
  96. config ADK_ROOTSH_MKSH
  97. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  98. bool "mksh (MirBSD Korn Shell)"
  99. help
  100. Use mksh (a Korn Shell variant) as standard login shell
  101. for the superuser.
  102. config ADK_ROOTSH_ASH
  103. select BUSYBOX_ASH
  104. bool "ash (busybox)"
  105. help
  106. Use the minimalistic ash variant that is part of busybox
  107. as standard login shell for the superuser. This is the
  108. default, but discouraged due to its frugality.
  109. config ADK_ROOTSH_BASH
  110. select ADK_PACKAGE_BASH
  111. bool "bash (GNU Bourne-Again Shell)"
  112. help
  113. Use GNU bash as standard login shell for the superuser.
  114. config ADK_ROOTSH_TCSH
  115. select ADK_PACKAGE_TCSH
  116. bool "tcsh (Tenex C Shell)"
  117. help
  118. Use tcsh (a C Shell variant) as standard login shell
  119. for the superuser.
  120. config ADK_ROOTSH_ZSH
  121. select ADK_PACKAGE_ZSH
  122. bool "zsh (The Z Shell)"
  123. help
  124. Use zsh as standard login shell for the superuser.
  125. endchoice
  126. choice
  127. prompt "System /bin/sh (POSIX script shell)"
  128. default ADK_BINSH_MKSH
  129. config ADK_BINSH_MKSH
  130. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  131. bool "mksh (MirBSD Korn Shell)"
  132. help
  133. Use mksh (a Korn Shell variant) as system shell, which is
  134. both small and powerful, so quite suited for this task.
  135. config ADK_BINSH_ASH
  136. select BUSYBOX_ASH
  137. bool "ash (busybox)"
  138. help
  139. Use the minimalistic ash variant that is part of busybox
  140. as system shell. This is the default and rather small and
  141. fast, but lacks scripting features.
  142. config ADK_BINSH_BASH
  143. select ADK_PACKAGE_BASH
  144. bool "bash (GNU Bourne-Again Shell)"
  145. help
  146. Use GNU bash as system shell. This is discouraged due to
  147. its size and slowness.
  148. config ADK_BINSH_ZSH
  149. select ADK_PACKAGE_ZSH
  150. bool "zsh (The Z Shell)"
  151. help
  152. Use zsh as system shell. This is probably a bad idea.
  153. endchoice
  154. config ADK_SIMPLE_NETWORK_CONFIG
  155. prompt "simple network configuration"
  156. boolean
  157. help
  158. Manually change network config
  159. WWW: http://www.openadk.org
  160. menu "eth0 Configuration"
  161. depends on ADK_SIMPLE_NETWORK_CONFIG
  162. choice
  163. prompt "Type"
  164. default SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  165. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  166. bool "NIC / manual IP"
  167. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC
  168. bool "NIC / DHCP"
  169. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  170. bool "Bridge with IP"
  171. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE
  172. bool "Bridge w/o IP"
  173. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NONE
  174. bool "None"
  175. endchoice
  176. config SIMPLE_NETWORK_CONFIG_ETH0_IP
  177. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  178. string "eth0 IP Address"
  179. default "10.0.2.15"
  180. config SIMPLE_NETWORK_CONFIG_ETH0_NM
  181. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  182. string "eth0 Netmask"
  183. default "255.255.255.0"
  184. config SIMPLE_NETWORK_CONFIG_ETH0_GW
  185. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  186. string "eth0 Gateway"
  187. default "10.0.2.2"
  188. config SIMPLE_NETWORK_CONFIG_ETH0_BRIDGE
  189. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  190. string "Bridge ports"
  191. default "eth0 eth1"
  192. config SIMPLE_NETWORK_CONFIG_ETH0_BC
  193. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  194. string "eth0 Broadcast"
  195. default "+"
  196. endmenu
  197. menu "wlan0 Configuration"
  198. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  199. ADK_TARGET_SYSTEM_LEMOTE_YEELONG || \
  200. ADK_TARGET_SYSTEM_RASPBERRY_PI || \
  201. ADK_TARGET_SYSTEM_IBM_X40
  202. choice
  203. prompt "Type"
  204. default SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_NONE
  205. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_DHCP
  206. bool "DHCP"
  207. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_STATIC
  208. bool "static IP configuration"
  209. endchoice
  210. endmenu
  211. menu "eth1 Configuration"
  212. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  213. !ADK_TARGET_SYSTEM_LEMOTE_YEELONG && \
  214. !ADK_TARGET_SYSTEM_RASPBERRY_PI && \
  215. !ADK_TARGET_SYSTEM_IBM_X40
  216. choice
  217. prompt "Type"
  218. default SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  219. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC
  220. bool "NIC / DHCP"
  221. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  222. bool "NIC / manual IP"
  223. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  224. bool "Bridge with IP"
  225. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE
  226. bool "Bridge w/o IP"
  227. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  228. bool "None"
  229. endchoice
  230. config SIMPLE_NETWORK_CONFIG_ETH1_IP
  231. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  232. string "eth1 IP Address"
  233. default "192.168.1.2"
  234. config SIMPLE_NETWORK_CONFIG_ETH1_NM
  235. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  236. string "eth1 Netmask"
  237. default "255.255.255.0"
  238. config SIMPLE_NETWORK_CONFIG_ETH1_GW
  239. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  240. string "eth1 Gateway"
  241. default "192.168.1.1"
  242. config SIMPLE_NETWORK_CONFIG_ETH1_BRIDGE
  243. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  244. string "Bridge ports"
  245. default "eth1 eth2"
  246. config SIMPLE_NETWORK_CONFIG_ETH1_BC
  247. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  248. string "eth1 Broadcast"
  249. default "+"
  250. endmenu
  251. menu "Resolver Configuration"
  252. depends on ADK_SIMPLE_NETWORK_CONFIG
  253. config SIMPLE_NETWORK_CONFIG_RESOLV
  254. string "Nameserver"
  255. default "10.0.2.3"
  256. endmenu