Config.in.runtime 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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_CUBOX_I
  58. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  59. default y if ADK_TARGET_SYSTEM_IBM_X40
  60. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  61. default n
  62. help
  63. Start getty on VGA console. (tty1-tty6)
  64. config ADK_RUNTIME_GETTY_SERIAL
  65. boolean "start getty on serial console"
  66. depends on ADK_RUNTIME_GETTY
  67. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  68. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  69. default n if ADK_TARGET_SYSTEM_IBM_X40
  70. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  71. default y
  72. help
  73. Start getty on serial console.
  74. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  75. string
  76. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  77. default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  78. default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9 || ADK_TARGET_SYSTEM_ARM_FM
  79. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH4 || ADK_TARGET_SYSTEM_QEMU_SH4EB
  80. default "ttymxc0" if ADK_TARGET_SYSTEM_CUBOX_I
  81. default "ttyS0"
  82. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  83. string
  84. default "9600" if ADK_TARGET_SYSTEM_QEMU_PPC
  85. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  86. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  87. default "115200"
  88. config ADK_RUNTIME_KBD_LAYOUT
  89. string "keyboard layout for the embedded system"
  90. default ""
  91. depends on ADK_TARGET_WITH_INPUT
  92. help
  93. Predefine the keyboard layout for the embedded system.
  94. choice
  95. prompt "Initial login shell for the root user"
  96. default ADK_ROOTSH_MKSH
  97. config ADK_ROOTSH_MKSH
  98. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  99. bool "mksh (MirBSD Korn Shell)"
  100. help
  101. Use mksh (a Korn Shell variant) as standard login shell
  102. for the superuser.
  103. config ADK_ROOTSH_ASH
  104. select BUSYBOX_ASH
  105. bool "ash (busybox)"
  106. help
  107. Use the minimalistic ash variant that is part of busybox
  108. as standard login shell for the superuser. This is the
  109. default, but discouraged due to its frugality.
  110. config ADK_ROOTSH_BASH
  111. select ADK_PACKAGE_BASH
  112. bool "bash (GNU Bourne-Again Shell)"
  113. help
  114. Use GNU bash as standard login shell for the superuser.
  115. config ADK_ROOTSH_TCSH
  116. select ADK_PACKAGE_TCSH
  117. bool "tcsh (Tenex C Shell)"
  118. help
  119. Use tcsh (a C Shell variant) as standard login shell
  120. for the superuser.
  121. config ADK_ROOTSH_ZSH
  122. select ADK_PACKAGE_ZSH
  123. bool "zsh (The Z Shell)"
  124. help
  125. Use zsh as standard login shell for the superuser.
  126. endchoice
  127. choice
  128. prompt "System /bin/sh (POSIX script shell)"
  129. default ADK_BINSH_MKSH
  130. config ADK_BINSH_MKSH
  131. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  132. bool "mksh (MirBSD Korn Shell)"
  133. help
  134. Use mksh (a Korn Shell variant) as system shell, which is
  135. both small and powerful, so quite suited for this task.
  136. config ADK_BINSH_ASH
  137. select BUSYBOX_ASH
  138. bool "ash (busybox)"
  139. help
  140. Use the minimalistic ash variant that is part of busybox
  141. as system shell. This is the default and rather small and
  142. fast, but lacks scripting features.
  143. config ADK_BINSH_BASH
  144. select ADK_PACKAGE_BASH
  145. bool "bash (GNU Bourne-Again Shell)"
  146. help
  147. Use GNU bash as system shell. This is discouraged due to
  148. its size and slowness.
  149. config ADK_BINSH_ZSH
  150. select ADK_PACKAGE_ZSH
  151. bool "zsh (The Z Shell)"
  152. help
  153. Use zsh as system shell. This is probably a bad idea.
  154. endchoice
  155. config ADK_SIMPLE_NETWORK_CONFIG
  156. prompt "simple network configuration"
  157. boolean
  158. help
  159. Manually change network config
  160. WWW: http://www.openadk.org
  161. menu "eth0 Configuration"
  162. depends on ADK_SIMPLE_NETWORK_CONFIG
  163. choice
  164. prompt "Type"
  165. default SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  166. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  167. bool "NIC / manual IP"
  168. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC
  169. bool "NIC / DHCP"
  170. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  171. bool "Bridge with IP"
  172. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE
  173. bool "Bridge w/o IP"
  174. config SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NONE
  175. bool "None"
  176. endchoice
  177. config SIMPLE_NETWORK_CONFIG_ETH0_IP
  178. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  179. string "eth0 IP Address"
  180. default "10.0.2.15"
  181. config SIMPLE_NETWORK_CONFIG_ETH0_NM
  182. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  183. string "eth0 Netmask"
  184. default "255.255.255.0"
  185. config SIMPLE_NETWORK_CONFIG_ETH0_GW
  186. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL
  187. string "eth0 Gateway"
  188. default "10.0.2.2"
  189. config SIMPLE_NETWORK_CONFIG_ETH0_BRIDGE
  190. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  191. string "Bridge ports"
  192. default "eth0 eth1"
  193. config SIMPLE_NETWORK_CONFIG_ETH0_BC
  194. depends on SIMPLE_NETWORK_CONFIG_ETH0_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH0_TYPE_BRIDGE_IP
  195. string "eth0 Broadcast"
  196. default "+"
  197. endmenu
  198. menu "wlan0 Configuration"
  199. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  200. ADK_TARGET_SYSTEM_LEMOTE_YEELONG || \
  201. ADK_TARGET_SYSTEM_RASPBERRY_PI || \
  202. ADK_TARGET_SYSTEM_IBM_X40
  203. choice
  204. prompt "Type"
  205. default SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_NONE
  206. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_DHCP
  207. bool "DHCP"
  208. config SIMPLE_NETWORK_CONFIG_WLAN0_TYPE_STATIC
  209. bool "static IP configuration"
  210. endchoice
  211. endmenu
  212. menu "eth1 Configuration"
  213. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  214. !ADK_TARGET_SYSTEM_LEMOTE_YEELONG && \
  215. !ADK_TARGET_SYSTEM_RASPBERRY_PI && \
  216. !ADK_TARGET_SYSTEM_IBM_X40
  217. choice
  218. prompt "Type"
  219. default SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  220. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC
  221. bool "NIC / DHCP"
  222. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  223. bool "NIC / manual IP"
  224. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  225. bool "Bridge with IP"
  226. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE
  227. bool "Bridge w/o IP"
  228. config SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NONE
  229. bool "None"
  230. endchoice
  231. config SIMPLE_NETWORK_CONFIG_ETH1_IP
  232. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  233. string "eth1 IP Address"
  234. default "192.168.1.2"
  235. config SIMPLE_NETWORK_CONFIG_ETH1_NM
  236. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  237. string "eth1 Netmask"
  238. default "255.255.255.0"
  239. config SIMPLE_NETWORK_CONFIG_ETH1_GW
  240. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL
  241. string "eth1 Gateway"
  242. default "192.168.1.1"
  243. config SIMPLE_NETWORK_CONFIG_ETH1_BRIDGE
  244. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  245. string "Bridge ports"
  246. default "eth1 eth2"
  247. config SIMPLE_NETWORK_CONFIG_ETH1_BC
  248. depends on SIMPLE_NETWORK_CONFIG_ETH1_TYPE_NIC_MANUAL || SIMPLE_NETWORK_CONFIG_ETH1_TYPE_BRIDGE_IP
  249. string "eth1 Broadcast"
  250. default "+"
  251. endmenu
  252. menu "Resolver Configuration"
  253. depends on ADK_SIMPLE_NETWORK_CONFIG
  254. config SIMPLE_NETWORK_CONFIG_RESOLV
  255. string "Nameserver"
  256. default "10.0.2.3"
  257. endmenu