Config.in.runtime 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  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. depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
  12. help
  13. Paste your generated SSH public key here and it will be embedded into
  14. the built image, so you can use it to login instantly.
  15. config ADK_RUNTIME_PASSWORD
  16. string "root password for the embedded system"
  17. default "linux123"
  18. help
  19. Predefine the root password enabled in the built image.
  20. config ADK_RUNTIME_START_SERVICES
  21. prompt "start services by default"
  22. boolean
  23. default n
  24. help
  25. source "target/config/Config.in.scripts"
  26. config ADK_RUNTIME_TMPFS_SIZE
  27. string "size of /tmp in memory (kB)"
  28. default "16384" if ADK_TARGET_QEMU
  29. default "16384" if ADK_TARGET_VBOX
  30. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  31. default "32768" if ADK_TARGET_SYSTEM_IBM_X40
  32. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  33. default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  34. default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  35. default "2048"
  36. help
  37. Size of /tmp in memory in Kilobyte.
  38. config ADK_RUNTIME_TIMEZONE
  39. string "timezone for the embedded system"
  40. default "Europe/Berlin"
  41. help
  42. Predefine the timezone for the embedded system.
  43. config ADK_QUIET_KERNEL
  44. prompt "make bootup quiet without messages from the kernel"
  45. boolean
  46. default n
  47. help
  48. Make bootup quiet without messages from the kernel.
  49. choice
  50. prompt "bootup messages from initscripts"
  51. default ADK_RUNTIME_QUIET_INIT if ADK_PKG_XBMCBOX
  52. default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC || ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY || ADK_TARGET_VBOX
  53. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  54. config ADK_RUNTIME_VERBOSE_INIT_VGA
  55. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC || ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY || ADK_TARGET_VBOX
  56. boolean "output via VGA"
  57. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  58. boolean "output via serial"
  59. config ADK_RUNTIME_QUIET_INIT
  60. boolean "no output"
  61. endchoice
  62. choice
  63. prompt "start getty or shell after bootup"
  64. default ADK_RUNTIME_SHELL if ADK_PKG_TEST
  65. default ADK_RUNTIME_NONE if ADK_PKG_XBMCBOX
  66. default ADK_RUNTIME_GETTY
  67. config ADK_RUNTIME_GETTY
  68. boolean "start a getty after bootup"
  69. help
  70. Start a getty after bootup.
  71. config ADK_RUNTIME_SHELL
  72. boolean "start a shell after bootup"
  73. help
  74. Start a shell after bootup
  75. config ADK_RUNTIME_NONE
  76. boolean "start no shell nor getty after bootup"
  77. help
  78. Do not start a shell or getty after bootup
  79. endchoice
  80. config ADK_RUNTIME_GETTY_VGA
  81. boolean "start getty on VGA console (tty1-tty6)"
  82. depends on ADK_RUNTIME_GETTY
  83. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  84. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  85. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  86. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  87. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  88. default y if ADK_TARGET_SYSTEM_IBM_X40
  89. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  90. default y if ADK_TARGET_VBOX
  91. default n
  92. help
  93. Start getty on VGA console. (tty1-tty6)
  94. config ADK_RUNTIME_GETTY_SERIAL
  95. boolean "start getty on serial console"
  96. depends on ADK_RUNTIME_GETTY
  97. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  98. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  99. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  100. default n if ADK_TARGET_SYSTEM_HUMMINGBOARD
  101. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  102. default n if ADK_TARGET_SYSTEM_IBM_X40
  103. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  104. default n if ADK_TARGET_VBOX
  105. default y
  106. help
  107. Start getty on serial console.
  108. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  109. string
  110. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  111. default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  112. default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9 || ADK_TARGET_SYSTEM_ARM_FM || ADK_TARGET_SYSTEM_QEMU_AARCH64
  113. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  114. default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  115. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  116. default "ttyS0"
  117. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  118. string
  119. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  120. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  121. default "115200"
  122. config ADK_RUNTIME_KBD_LAYOUT
  123. string "keyboard layout for the embedded system"
  124. default ""
  125. depends on ADK_TARGET_WITH_INPUT
  126. help
  127. Predefine the keyboard layout for the embedded system.
  128. choice
  129. prompt "initial login shell for the root user"
  130. default ADK_ROOTSH_SASH if ADK_TARGET_UCLINUX
  131. default ADK_ROOTSH_MKSH
  132. config ADK_ROOTSH_MKSH
  133. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  134. bool "mksh (MirBSD Korn Shell)"
  135. help
  136. Use mksh (a Korn Shell variant) as standard login shell
  137. for the superuser.
  138. config ADK_ROOTSH_SASH
  139. select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
  140. bool "sash (Shell compatible with non-MMU systems)"
  141. help
  142. standalone shell.
  143. config ADK_ROOTSH_HUSH
  144. select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY
  145. bool "hush (Shell compatible with non-MMU systems)"
  146. help
  147. hush shell from busybox.
  148. config ADK_ROOTSH_ASH
  149. select BUSYBOX_ASH
  150. bool "ash (busybox)"
  151. help
  152. Use the minimalistic ash variant that is part of busybox
  153. as standard login shell for the superuser. This is the
  154. default, but discouraged due to its frugality.
  155. config ADK_ROOTSH_BASH
  156. select ADK_PACKAGE_BASH
  157. bool "bash (GNU Bourne-Again Shell)"
  158. help
  159. Use GNU bash as standard login shell for the superuser.
  160. config ADK_ROOTSH_TCSH
  161. select ADK_PACKAGE_TCSH
  162. bool "tcsh (Tenex C Shell)"
  163. help
  164. Use tcsh (a C Shell variant) as standard login shell
  165. for the superuser.
  166. config ADK_ROOTSH_ZSH
  167. select ADK_PACKAGE_ZSH
  168. bool "zsh (The Z Shell)"
  169. help
  170. Use zsh as standard login shell for the superuser.
  171. endchoice
  172. choice
  173. prompt "system /bin/sh (POSIX script shell)"
  174. default ADK_BINSH_SASH if ADK_TARGET_UCLINUX
  175. default ADK_BINSH_MKSH
  176. config ADK_BINSH_MKSH
  177. select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
  178. bool "mksh (MirBSD Korn Shell)"
  179. help
  180. Use mksh (a Korn Shell variant) as system shell, which is
  181. both small and powerful, so quite suited for this task.
  182. config ADK_BINSH_SASH
  183. select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
  184. bool "sash (Standalone Shell)"
  185. help
  186. hush shell.
  187. config ADK_BINSH_HUSH
  188. select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY
  189. bool "hush (busybox)"
  190. help
  191. hush shell.
  192. config ADK_BINSH_ASH
  193. select BUSYBOX_ASH
  194. bool "ash (busybox)"
  195. help
  196. Use the minimalistic ash variant that is part of busybox
  197. as system shell. This is the default and rather small and
  198. fast, but lacks scripting features.
  199. config ADK_BINSH_BASH
  200. select ADK_PACKAGE_BASH
  201. bool "bash (GNU Bourne-Again Shell)"
  202. help
  203. Use GNU bash as system shell. This is discouraged due to
  204. its size and slowness.
  205. config ADK_BINSH_ZSH
  206. select ADK_PACKAGE_ZSH
  207. bool "zsh (The Z Shell)"
  208. help
  209. Use zsh as system shell. This is probably a bad idea.
  210. endchoice
  211. config ADK_SIMPLE_NETWORK_CONFIG
  212. prompt "simple network configuration"
  213. boolean
  214. help
  215. Manually change network config
  216. menu "eth0 Configuration"
  217. depends on ADK_SIMPLE_NETWORK_CONFIG
  218. choice
  219. prompt "Type"
  220. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  221. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  222. bool "static IP configuration"
  223. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  224. bool "DHCP"
  225. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  226. bool "no configuration"
  227. endchoice
  228. choice
  229. prompt "configure default Gateway"
  230. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  231. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  232. boolean "with Gateway"
  233. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  234. boolean "without Gateway"
  235. endchoice
  236. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  237. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  238. string "IP Address"
  239. default "10.0.0.2"
  240. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  241. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  242. string "Netmask"
  243. default "255.255.255.0"
  244. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  245. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  246. string "Gateway"
  247. default "10.0.0.1"
  248. endmenu
  249. menu "wlan0 Configuration"
  250. depends on ADK_SIMPLE_NETWORK_CONFIG
  251. depends on ADK_TARGET_WITH_WIFI
  252. choice
  253. prompt "Type"
  254. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  255. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  256. bool "No configuration"
  257. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  258. bool "static IP configuration"
  259. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  260. bool "DHCP"
  261. endchoice
  262. choice
  263. prompt "configure default Gateway"
  264. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  265. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  266. boolean "with Gateway"
  267. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  268. boolean "without Gateway"
  269. endchoice
  270. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  271. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  272. string "IP Address"
  273. default "192.168.1.2"
  274. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  275. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  276. string "Netmask"
  277. default "255.255.255.0"
  278. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  279. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  280. string "Gateway"
  281. default "192.168.1.1"
  282. endmenu
  283. choice
  284. prompt "WLAN Security"
  285. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  286. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  287. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  288. bool "No security"
  289. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  290. bool "WPA2"
  291. endchoice
  292. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
  293. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  294. string "SSID"
  295. default ""
  296. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
  297. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  298. string "Password"
  299. default ""
  300. menu "eth1 Configuration"
  301. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  302. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  303. choice
  304. prompt "Type"
  305. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  306. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  307. bool "static IP configuration"
  308. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  309. bool "DHCP"
  310. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  311. bool "no configuration"
  312. endchoice
  313. choice
  314. prompt "configure default Gateway"
  315. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  316. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  317. boolean "with Gateway"
  318. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  319. boolean "without Gateway"
  320. endchoice
  321. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  322. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  323. string "IP Address"
  324. default "172.16.0.2"
  325. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  326. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  327. string "Netmask"
  328. default "255.255.0.0"
  329. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  330. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  331. string "Gateway"
  332. default "172.16.0.1"
  333. endmenu
  334. config ADK_SIMPLE_NETWORK_CONFIG_NS
  335. depends on ADK_SIMPLE_NETWORK_CONFIG
  336. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  337. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  338. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  339. string "Nameserver"
  340. default "10.0.0.1"
  341. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  342. depends on ADK_SIMPLE_NETWORK_CONFIG
  343. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  344. default ""