Config.in.runtime 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  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. choice
  9. prompt "init"
  10. depends on !ADK_APPLIANCE_TOOLCHAIN
  11. default ADK_RUNTIME_INIT_SYSV
  12. config ADK_RUNTIME_INIT_SYSV
  13. bool "Use busybox init"
  14. config ADK_RUNTIME_INIT_SIMPLEINIT
  15. bool "Use a very simple init"
  16. select ADK_PACKAGE_SIMPLEINIT
  17. endchoice
  18. choice
  19. prompt "System for /dev management"
  20. depends on !ADK_APPLIANCE_TOOLCHAIN
  21. default ADK_RUNTIME_DEV_STATIC if ADK_TARGET_WITHOUT_MMU || ADK_TARGET_ARCH_CRIS
  22. default ADK_RUNTIME_DEV_MDEV
  23. config ADK_RUNTIME_DEV_MDEV
  24. bool "Use mdev"
  25. select ADK_KERNEL_DEVTMPFS
  26. select ADK_KERNEL_DEVTMPFS_MOUNT
  27. config ADK_RUNTIME_DEV_UDEV
  28. bool "Use udev"
  29. select ADK_PACKAGE_UDEV
  30. # needs depmod for module dependency generation on host
  31. select ADK_HOST_BUILD_KMOD
  32. select ADK_KERNEL_DEVTMPFS
  33. select ADK_KERNEL_DEVTMPFS_MOUNT
  34. config ADK_RUNTIME_DEV_STATIC
  35. bool "Use static /dev"
  36. endchoice
  37. config ADK_RUNTIME_SSH_PUBKEY
  38. string "SSH public key (root user only)"
  39. depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
  40. default ""
  41. help
  42. Paste your generated SSH public key here and it will be embedded into
  43. the built image, so you can use it to login instantly.
  44. config ADK_RUNTIME_PASSWORD
  45. string "root password for the embedded system"
  46. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  47. help
  48. Predefine the root password enabled in the built image.
  49. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  50. Default password is linux123
  51. config ADK_RUNTIME_ADDUSER
  52. bool "add an user"
  53. default n
  54. help
  55. Enable this option to add an unprivileged user.
  56. Fixed UID/GID 100 is used. A group with the same name is added.
  57. config ADK_RUNTIME_USER_NAME
  58. string "user name"
  59. default "adk"
  60. depends on ADK_RUNTIME_ADDUSER
  61. config ADK_RUNTIME_USER_PASSWORD
  62. string "user password"
  63. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  64. depends on ADK_RUNTIME_ADDUSER
  65. help
  66. Predefine the user password enabled in the built image.
  67. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  68. Default password is linux123
  69. config ADK_RUNTIME_USER_HOME
  70. string "user home directory"
  71. default "/home/adk"
  72. depends on ADK_RUNTIME_ADDUSER
  73. help
  74. Set the home directory to use.
  75. config ADK_RUNTIME_USER_SHELL
  76. string "user shell"
  77. default "/bin/sh"
  78. depends on ADK_RUNTIME_ADDUSER
  79. help
  80. Set the shell to use.
  81. config ADK_RUNTIME_START_SERVICES
  82. bool "start services by default"
  83. default n
  84. help
  85. Enable this option to start selected services on boot.
  86. source "target/config/Config.in.scripts"
  87. config ADK_RUNTIME_TMPFS_SIZE
  88. string "size of /tmp in memory (kB)"
  89. default "16384" if ADK_TARGET_VBOX
  90. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  91. default "32768" if ADK_TARGET_SYSTEM_IBM_X40
  92. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  93. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  94. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  95. default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  96. default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  97. default "1024"
  98. depends on !ADK_RUNTIME_INIT_SIMPLEINIT
  99. help
  100. Size of /tmp in memory in Kilobyte.
  101. config ADK_RUNTIME_TIMEZONE
  102. string "timezone for the embedded system"
  103. default "Europe/Berlin"
  104. help
  105. Predefine the timezone for the embedded system.
  106. choice
  107. prompt "bootup messages from kernel"
  108. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY
  109. bool "output via VGA only"
  110. depends on ADK_TARGET_WITH_VGA
  111. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY
  112. bool "output via serial console only"
  113. depends on ADK_TARGET_WITH_SERIAL \
  114. || ADK_TARGET_QEMU \
  115. || ADK_TARGET_SIM
  116. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL
  117. bool "output via VGA and serial console"
  118. depends on ADK_TARGET_WITH_SERIAL && \
  119. ADK_TARGET_WITH_VGA
  120. help
  121. Output is via VGA and serial console.
  122. Init can use only serial via /dev/console.
  123. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA
  124. bool "output via serial console and VGA"
  125. depends on ADK_TARGET_WITH_SERIAL && \
  126. ADK_TARGET_WITH_VGA
  127. help
  128. Output is via serial console and VGA.
  129. Init can use only VGA via /dev/console.
  130. config ADK_RUNTIME_QUIET_KERNEL
  131. bool "no output from the kernel"
  132. help
  133. Make bootup quiet without messages from the kernel.
  134. endchoice
  135. choice
  136. prompt "bootup messages from initscripts"
  137. default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA
  138. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  139. config ADK_RUNTIME_VERBOSE_INIT_VGA
  140. bool "output via VGA"
  141. depends on ADK_TARGET_WITH_VGA
  142. depends on ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA || \
  143. ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY || \
  144. ADK_RUNTIME_QUIET_KERNEL
  145. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  146. bool "output via serial"
  147. depends on ADK_TARGET_WITH_SERIAL \
  148. || ADK_TARGET_QEMU \
  149. || ADK_TARGET_SIM
  150. depends on ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL || \
  151. ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
  152. ADK_RUNTIME_QUIET_KERNEL
  153. config ADK_RUNTIME_QUIET_INIT
  154. bool "no output"
  155. endchoice
  156. choice
  157. prompt "start getty or shell after bootup"
  158. default ADK_RUNTIME_GETTY
  159. config ADK_RUNTIME_GETTY
  160. bool "start a getty after bootup"
  161. help
  162. Start a getty after bootup.
  163. config ADK_RUNTIME_SHELL
  164. bool "start a shell after bootup"
  165. help
  166. Start a shell after bootup.
  167. config ADK_RUNTIME_NONE
  168. bool "start no shell nor getty after bootup"
  169. help
  170. Do not start a shell or getty after bootup.
  171. endchoice
  172. config ADK_RUNTIME_GETTY_VGA
  173. bool "start getty on VGA console (tty1-tty6)"
  174. depends on ADK_RUNTIME_GETTY && ADK_TARGET_WITH_VGA
  175. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  176. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  177. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  178. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  179. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  180. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  181. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  182. default y if ADK_TARGET_SYSTEM_IBM_X40
  183. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  184. default y if ADK_TARGET_VBOX
  185. default n
  186. help
  187. Start getty on VGA console. (tty1-tty6)
  188. config ADK_RUNTIME_GETTY_SERIAL
  189. bool "start getty on serial console"
  190. depends on ADK_RUNTIME_GETTY && ( ADK_TARGET_WITH_SERIAL \
  191. || ADK_TARGET_QEMU \
  192. || ADK_TARGET_SIM )
  193. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  194. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  195. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  196. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  197. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  198. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  199. default n if ADK_TARGET_SYSTEM_IBM_X40
  200. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  201. default n if ADK_TARGET_VBOX
  202. default y
  203. help
  204. Start getty on serial console.
  205. config ADK_RUNTIME_CONSOLE_VGA_DEVICE
  206. string "VGA console device"
  207. depends on ADK_TARGET_WITH_VGA
  208. default "tty0"
  209. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  210. string "serial console device"
  211. depends on ADK_TARGET_WITH_SERIAL \
  212. || ADK_TARGET_QEMU \
  213. || ADK_TARGET_SIM
  214. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  215. default "ttyBF0" if ADK_TARGET_ARCH_BFIN
  216. default "ttyUL0" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  217. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  218. default "ttyARC0" if ADK_TARGET_SYSTEM_NSIM_ARCV1 \
  219. || ADK_TARGET_SYSTEM_NSIM_ARCV2
  220. default "ttyAMA0" if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  221. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  222. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  223. || ADK_TARGET_SYSTEM_ARM_FM \
  224. || ADK_TARGET_SYSTEM_QEMU_AARCH64
  225. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  226. default "ttySC0" if ADK_TARGET_SYSTEM_SIM_H8300H
  227. default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  228. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  229. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  230. default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
  231. default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
  232. default "ttyPS0" if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  233. default "ttysclp0" if ADK_TARGET_SYSTEM_QEMU_S390
  234. default "ttyO0" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  235. default "ttyS4" if ADK_TARGET_SYSTEM_IMGTEC_CI20
  236. default "ttyS0"
  237. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  238. string "serial console speed"
  239. depends on ADK_TARGET_WITH_SERIAL \
  240. || ADK_TARGET_QEMU \
  241. || ADK_TARGET_SIM
  242. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  243. default "9600" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  244. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  245. default "38400" if ADK_TARGET_SYSTEM_ANDES_AG101P
  246. default "115200"
  247. config ADK_RUNTIME_KBD_LAYOUT
  248. string "keyboard layout for the embedded system"
  249. depends on ADK_TARGET_WITH_INPUT
  250. default "de-latin1-nodeadkeys"
  251. help
  252. Predefine the keyboard layout for the embedded system.
  253. For example use de-latin1-nodeadkeys.
  254. choice
  255. prompt "initial login shell for the root user"
  256. default ADK_ROOTSH_HUSH if ADK_TARGET_WITHOUT_MMU
  257. default ADK_ROOTSH_MKSH
  258. config ADK_ROOTSH_MKSH
  259. bool "mksh (MirBSD Korn Shell)"
  260. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  261. help
  262. Use mksh (a Korn Shell variant) as standard login shell
  263. for the superuser.
  264. config ADK_ROOTSH_HUSH
  265. bool "hush (busybox shell compatible with non-MMU systems)"
  266. select BUSYBOX_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  267. select BUSYBOX_FEATURE_SH_IS_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  268. help
  269. hush shell from busybox.
  270. config ADK_ROOTSH_SASH
  271. bool "sash (Shell compatible with non-MMU systems)"
  272. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  273. help
  274. standalone shell.
  275. config ADK_ROOTSH_ASH
  276. bool "ash (busybox shell)"
  277. select BUSYBOX_ASH
  278. select BUSYBOX_FEATURE_SH_IS_ASH
  279. help
  280. Use the minimalistic ash variant that is part of busybox
  281. as standard login shell for the superuser. This is the
  282. default, but discouraged due to its frugality.
  283. config ADK_ROOTSH_BASH
  284. bool "bash (GNU Bourne-Again Shell)"
  285. select ADK_PACKAGE_BASH
  286. help
  287. Use GNU bash as standard login shell for the superuser.
  288. config ADK_ROOTSH_TCSH
  289. bool "tcsh (Tenex C Shell)"
  290. select ADK_PACKAGE_TCSH
  291. help
  292. Use tcsh (a C Shell variant) as standard login shell
  293. for the superuser.
  294. config ADK_ROOTSH_ZSH
  295. bool "zsh (The Z Shell)"
  296. select ADK_PACKAGE_ZSH
  297. help
  298. Use zsh as standard login shell for the superuser.
  299. endchoice
  300. choice
  301. prompt "system /bin/sh (POSIX script shell)"
  302. default ADK_BINSH_HUSH if ADK_TARGET_WITHOUT_MMU
  303. default ADK_BINSH_MKSH
  304. config ADK_BINSH_MKSH
  305. bool "mksh (MirBSD Korn Shell)"
  306. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  307. help
  308. Use mksh (a Korn Shell variant) as system shell, which is
  309. both small and powerful, so quite suited for this task.
  310. config ADK_BINSH_HUSH
  311. bool "hush (busybox)"
  312. select ADK_PACKAGE_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  313. help
  314. hush shell.
  315. config ADK_BINSH_SASH
  316. bool "sash (Standalone Shell)"
  317. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  318. help
  319. sash shell.
  320. config ADK_BINSH_ASH
  321. bool "ash (busybox)"
  322. select BUSYBOX_ASH
  323. help
  324. Use the minimalistic ash variant that is part of busybox
  325. as system shell. This is the default and rather small and
  326. fast, but lacks scripting features.
  327. config ADK_BINSH_BASH
  328. bool "bash (GNU Bourne-Again Shell)"
  329. select ADK_PACKAGE_BASH
  330. help
  331. Use GNU bash as system shell. This is discouraged due to
  332. its size and slowness.
  333. config ADK_BINSH_ZSH
  334. bool "zsh (The Z Shell)"
  335. select ADK_PACKAGE_ZSH
  336. help
  337. Use zsh as system shell. This is probably a bad idea.
  338. endchoice
  339. # workaround for USB ethernet f.e. Raspberry Pi 2/3
  340. config ADK_RUNTIME_WAIT_FOR_ETHERNET
  341. bool
  342. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  343. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  344. config ADK_SIMPLE_NETWORK_CONFIG
  345. bool "simple network configuration"
  346. help
  347. Manually change network config
  348. menu "eth0 Configuration"
  349. depends on ADK_SIMPLE_NETWORK_CONFIG
  350. choice
  351. prompt "Type"
  352. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  353. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  354. bool "static IP configuration"
  355. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  356. bool "DHCP"
  357. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  358. bool "no configuration"
  359. endchoice
  360. choice
  361. prompt "configure default Gateway"
  362. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  363. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  364. bool "with Gateway"
  365. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  366. bool "without Gateway"
  367. endchoice
  368. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  369. string "IP Address"
  370. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  371. default "10.0.0.2"
  372. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  373. string "Netmask"
  374. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  375. default "255.255.255.0"
  376. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  377. string "Gateway"
  378. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  379. default "10.0.0.1"
  380. endmenu
  381. menu "wlan0 Configuration"
  382. depends on ADK_SIMPLE_NETWORK_CONFIG
  383. depends on ADK_TARGET_WITH_WIFI
  384. choice
  385. prompt "Type"
  386. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  387. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  388. bool "No configuration"
  389. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  390. bool "static IP configuration"
  391. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  392. bool "DHCP"
  393. endchoice
  394. choice
  395. prompt "configure default Gateway"
  396. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  397. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  398. bool "with Gateway"
  399. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  400. bool "without Gateway"
  401. endchoice
  402. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  403. string "IP Address"
  404. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  405. default "192.168.1.2"
  406. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  407. string "Netmask"
  408. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  409. default "255.255.255.0"
  410. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  411. string "Gateway"
  412. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  413. default "192.168.1.1"
  414. endmenu
  415. choice
  416. prompt "WLAN Security"
  417. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  418. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  419. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  420. bool "No security"
  421. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  422. bool "WPA2"
  423. endchoice
  424. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
  425. string "SSID"
  426. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  427. default ""
  428. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
  429. string "Password"
  430. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  431. default ""
  432. menu "eth1 Configuration"
  433. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  434. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  435. choice
  436. prompt "Type"
  437. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  438. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  439. bool "static IP configuration"
  440. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  441. bool "DHCP"
  442. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  443. bool "no configuration"
  444. endchoice
  445. choice
  446. prompt "configure default Gateway"
  447. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  448. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  449. bool "with Gateway"
  450. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  451. bool "without Gateway"
  452. endchoice
  453. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  454. string "IP Address"
  455. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  456. default "172.16.0.2"
  457. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  458. string "Netmask"
  459. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  460. default "255.255.0.0"
  461. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  462. string "Gateway"
  463. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  464. default "172.16.0.1"
  465. endmenu
  466. config ADK_SIMPLE_NETWORK_CONFIG_NS
  467. string "Nameserver"
  468. depends on ADK_SIMPLE_NETWORK_CONFIG
  469. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  470. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  471. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  472. default "10.0.0.1"
  473. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  474. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  475. depends on ADK_SIMPLE_NETWORK_CONFIG
  476. default ""