123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- config ADK_RUNTIME_HOSTNAME
- string "hostname for the embedded system"
- default "openadk"
- help
- Set your target hostname.
- choice
- prompt "System for /dev management"
- config ADK_RUNTIME_DEV_MDEV
- bool "Use mdev"
- config ADK_RUNTIME_DEV_UDEV
- bool "Use udev"
- select ADK_PACKAGE_UDEV
- endchoice
- config ADK_RUNTIME_SSH_PUBKEY
- string "SSH public key (root user only)"
- depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
- default ""
- help
- Paste your generated SSH public key here and it will be embedded into
- the built image, so you can use it to login instantly.
- config ADK_RUNTIME_PASSWORD
- string "root password for the embedded system"
- default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
- help
- Predefine the root password enabled in the built image.
- Use ./host_*/usr/bin/mkcrypt to generate the hash.
- Default password is linux123
- config ADK_RUNTIME_ADDUSER
- bool "add an user"
- default n
- help
- Enable this option to add an unprivileged user.
- Fixed UID/GID 100 is used. A group with the same name is added.
- config ADK_RUNTIME_USER_NAME
- string "user name"
- default "adk"
- depends on ADK_RUNTIME_ADDUSER
- config ADK_RUNTIME_USER_PASSWORD
- string "user password"
- default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
- depends on ADK_RUNTIME_ADDUSER
- help
- Predefine the user password enabled in the built image.
- Use ./host_*/usr/bin/mkcrypt to generate the hash.
- Default password is linux123
- config ADK_RUNTIME_USER_HOME
- string "user home directory"
- default "/home/adk"
- depends on ADK_RUNTIME_ADDUSER
- help
- Set the home directory to use.
- config ADK_RUNTIME_USER_SHELL
- string "user shell"
- default "/bin/sh"
- depends on ADK_RUNTIME_ADDUSER
- help
- Set the shell to use.
- config ADK_RUNTIME_START_SERVICES
- bool "start services by default"
- default n
- help
- Enable this option to start selected services on boot.
- source "target/config/Config.in.scripts"
- config ADK_RUNTIME_TMPFS_SIZE
- string "size of /tmp in memory (kB)"
- default "16384" if ADK_TARGET_QEMU
- default "16384" if ADK_TARGET_VBOX
- default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
- default "32768" if ADK_TARGET_SYSTEM_IBM_X40
- default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
- default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
- default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
- default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
- default "2048"
- help
- Size of /tmp in memory in Kilobyte.
- config ADK_RUNTIME_TIMEZONE
- string "timezone for the embedded system"
- default "Europe/Berlin"
- help
- Predefine the timezone for the embedded system.
- choice
- prompt "bootup messages from kernel"
- config ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY
- bool "output via VGA only"
- depends on ADK_TARGET_WITH_VGA
- config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY
- bool "output via serial console only"
- depends on ADK_TARGET_WITH_SERIAL \
- || ADK_TARGET_QEMU \
- || ADK_TARGET_SIM
- config ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL
- bool "output via VGA and serial console"
- depends on ADK_TARGET_WITH_SERIAL && \
- ADK_TARGET_WITH_VGA
- help
- Output is via VGA and serial console.
- Init can use only serial via /dev/console.
- config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA
- bool "output via serial console and VGA"
- depends on ADK_TARGET_WITH_SERIAL && \
- ADK_TARGET_WITH_VGA
- help
- Output is via serial console and VGA.
- Init can use only VGA via /dev/console.
- config ADK_RUNTIME_QUIET_KERNEL
- bool "no output from the kernel"
- help
- Make bootup quiet without messages from the kernel.
- endchoice
- choice
- prompt "bootup messages from initscripts"
- default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA
- default ADK_RUNTIME_VERBOSE_INIT_SERIAL
- config ADK_RUNTIME_VERBOSE_INIT_VGA
- bool "output via VGA"
- depends on ADK_TARGET_WITH_VGA
- depends on ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA || \
- ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY || \
- ADK_RUNTIME_QUIET_KERNEL
- config ADK_RUNTIME_VERBOSE_INIT_SERIAL
- bool "output via serial"
- depends on ADK_TARGET_WITH_SERIAL \
- || ADK_TARGET_QEMU \
- || ADK_TARGET_SIM
- depends on ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL || \
- ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
- ADK_RUNTIME_QUIET_KERNEL
- config ADK_RUNTIME_QUIET_INIT
- bool "no output"
- endchoice
- choice
- prompt "start getty or shell after bootup"
- default ADK_RUNTIME_GETTY
- config ADK_RUNTIME_GETTY
- bool "start a getty after bootup"
- help
- Start a getty after bootup.
- config ADK_RUNTIME_SHELL
- bool "start a shell after bootup"
- help
- Start a shell after bootup.
- config ADK_RUNTIME_NONE
- bool "start no shell nor getty after bootup"
- help
- Do not start a shell or getty after bootup.
- endchoice
- config ADK_RUNTIME_GETTY_VGA
- bool "start getty on VGA console (tty1-tty6)"
- depends on ADK_RUNTIME_GETTY && ADK_TARGET_WITH_VGA
- default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
- default y if ADK_TARGET_QEMU_WITH_GRAPHIC
- default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
- default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
- default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
- default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
- default y if ADK_TARGET_SYSTEM_IBM_X40
- default y if ADK_TARGET_SYSTEM_ARANYM_M68K
- default y if ADK_TARGET_VBOX
- default n
- help
- Start getty on VGA console. (tty1-tty6)
- config ADK_RUNTIME_GETTY_SERIAL
- bool "start getty on serial console"
- depends on ADK_RUNTIME_GETTY && ( ADK_TARGET_WITH_SERIAL \
- || ADK_TARGET_QEMU \
- || ADK_TARGET_SIM )
- default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
- default n if ADK_TARGET_QEMU_WITH_GRAPHIC
- default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
- default n if ADK_TARGET_SYSTEM_RASPBERRY_PI2
- default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
- default n if ADK_TARGET_SYSTEM_IBM_X40
- default n if ADK_TARGET_SYSTEM_ARANYM_M68K
- default n if ADK_TARGET_VBOX
- default y
- help
- Start getty on serial console.
- config ADK_RUNTIME_CONSOLE_VGA_DEVICE
- string "VGA console device"
- depends on ADK_TARGET_WITH_VGA
- default "tty1" if ADK_TARGET_SYSTEM_RASPBERRY_PI
- default "tty1" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
- default "tty0"
- config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
- string "serial console device"
- depends on ADK_TARGET_WITH_SERIAL \
- || ADK_TARGET_QEMU \
- || ADK_TARGET_SIM
- default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
- default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
- 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
- default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
- default "ttySC0" if ADK_TARGET_SYSTEM_SIM_H8300H
- default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
- default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
- default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
- default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
- default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
- default "ttyS0"
- config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
- string "serial console speed"
- depends on ADK_TARGET_WITH_SERIAL \
- || ADK_TARGET_QEMU \
- || ADK_TARGET_SIM
- default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
- default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
- default "115200"
- config ADK_RUNTIME_KBD_LAYOUT
- string "keyboard layout for the embedded system"
- depends on ADK_TARGET_WITH_INPUT
- default "de-latin1-nodeadkeys"
- help
- Predefine the keyboard layout for the embedded system.
- For example use de-latin1-nodeadkeys.
- choice
- prompt "initial login shell for the root user"
- default ADK_ROOTSH_SASH if ADK_TARGET_WITHOUT_MMU
- default ADK_ROOTSH_MKSH
- config ADK_ROOTSH_MKSH
- bool "mksh (MirBSD Korn Shell)"
- select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
- help
- Use mksh (a Korn Shell variant) as standard login shell
- for the superuser.
- config ADK_ROOTSH_SASH
- bool "sash (Shell compatible with non-MMU systems)"
- select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
- help
- standalone shell.
- config ADK_ROOTSH_HUSH
- bool "hush (Shell compatible with non-MMU systems)"
- select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY
- help
- hush shell from busybox.
- config ADK_ROOTSH_ASH
- bool "ash (busybox)"
- select BUSYBOX_ASH
- help
- Use the minimalistic ash variant that is part of busybox
- as standard login shell for the superuser. This is the
- default, but discouraged due to its frugality.
- config ADK_ROOTSH_BASH
- bool "bash (GNU Bourne-Again Shell)"
- select ADK_PACKAGE_BASH
- help
- Use GNU bash as standard login shell for the superuser.
- config ADK_ROOTSH_TCSH
- bool "tcsh (Tenex C Shell)"
- select ADK_PACKAGE_TCSH
- help
- Use tcsh (a C Shell variant) as standard login shell
- for the superuser.
- config ADK_ROOTSH_ZSH
- bool "zsh (The Z Shell)"
- select ADK_PACKAGE_ZSH
- help
- Use zsh as standard login shell for the superuser.
- endchoice
- choice
- prompt "system /bin/sh (POSIX script shell)"
- default ADK_BINSH_SASH if ADK_TARGET_WITHOUT_MMU
- default ADK_BINSH_MKSH
- config ADK_BINSH_MKSH
- bool "mksh (MirBSD Korn Shell)"
- select ADK_PACKAGE_MKSH if !ADK_TOOLCHAIN_ONLY
- help
- Use mksh (a Korn Shell variant) as system shell, which is
- both small and powerful, so quite suited for this task.
- config ADK_BINSH_SASH
- bool "sash (Standalone Shell)"
- select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
- help
- hush shell.
- config ADK_BINSH_HUSH
- bool "hush (busybox)"
- select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY
- help
- hush shell.
- config ADK_BINSH_ASH
- bool "ash (busybox)"
- select BUSYBOX_ASH
- help
- Use the minimalistic ash variant that is part of busybox
- as system shell. This is the default and rather small and
- fast, but lacks scripting features.
- config ADK_BINSH_BASH
- bool "bash (GNU Bourne-Again Shell)"
- select ADK_PACKAGE_BASH
- help
- Use GNU bash as system shell. This is discouraged due to
- its size and slowness.
- config ADK_BINSH_ZSH
- bool "zsh (The Z Shell)"
- select ADK_PACKAGE_ZSH
- help
- Use zsh as system shell. This is probably a bad idea.
- endchoice
- # workaround for USB ethernet f.e. Raspberry Pi2
- config ADK_RUNTIME_WAIT_FOR_ETHERNET
- bool
- default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
- config ADK_SIMPLE_NETWORK_CONFIG
- bool "simple network configuration"
- help
- Manually change network config
-
- menu "eth0 Configuration"
- depends on ADK_SIMPLE_NETWORK_CONFIG
- choice
- prompt "Type"
- default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
- bool "static IP configuration"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
- bool "DHCP"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
- bool "no configuration"
- endchoice
- choice
- prompt "configure default Gateway"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
- bool "with Gateway"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
- bool "without Gateway"
- endchoice
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
- string "IP Address"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
- default "10.0.0.2"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
- string "Netmask"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
- default "255.255.255.0"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
- string "Gateway"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
- default "10.0.0.1"
- endmenu
- menu "wlan0 Configuration"
- depends on ADK_SIMPLE_NETWORK_CONFIG
- depends on ADK_TARGET_WITH_WIFI
- choice
- prompt "Type"
- default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
- bool "No configuration"
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
- bool "static IP configuration"
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
- bool "DHCP"
- endchoice
- choice
- prompt "configure default Gateway"
- depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
- bool "with Gateway"
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
- bool "without Gateway"
- endchoice
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
- string "IP Address"
- depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
- default "192.168.1.2"
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
- string "Netmask"
- depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
- default "255.255.255.0"
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
- string "Gateway"
- depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
- default "192.168.1.1"
- endmenu
- choice
- prompt "WLAN Security"
- depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
- default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
- bool "No security"
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
- bool "WPA2"
- endchoice
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
- string "SSID"
- depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
- default ""
- config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
- string "Password"
- depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
- default ""
- menu "eth1 Configuration"
- depends on ADK_SIMPLE_NETWORK_CONFIG && \
- ADK_TARGET_SYSTEM_MIKROTIK_RB532
- choice
- prompt "Type"
- default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
- bool "static IP configuration"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
- bool "DHCP"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
- bool "no configuration"
- endchoice
- choice
- prompt "configure default Gateway"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
- bool "with Gateway"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
- bool "without Gateway"
- endchoice
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
- string "IP Address"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
- default "172.16.0.2"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
- string "Netmask"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
- default "255.255.0.0"
- config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
- string "Gateway"
- depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
- default "172.16.0.1"
- endmenu
- config ADK_SIMPLE_NETWORK_CONFIG_NS
- string "Nameserver"
- depends on ADK_SIMPLE_NETWORK_CONFIG
- depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
- depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
- depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
- default "10.0.0.1"
- config ADK_SIMPLE_NETWORK_CONFIG_PROXY
- string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
- depends on ADK_SIMPLE_NETWORK_CONFIG
- default ""
|