1
0

Config.in.runtime 8.4 KB

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