Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 1 | # |
| 2 | # Network configuration |
| 3 | # |
| 4 | |
| 5 | menuconfig NET |
| 6 | bool "Networking support" |
| 7 | |
| 8 | if NET |
| 9 | |
Joe Hershberger | bef1014 | 2015-05-04 14:55:13 -0500 | [diff] [blame] | 10 | config NET_RANDOM_ETHADDR |
| 11 | bool "Random ethaddr if unset" |
| 12 | help |
| 13 | Selecting this will allow the Ethernet interface to function |
| 14 | even when the ethaddr variable for that interface is unset. |
| 15 | A new MAC address will be generated on every boot and it will |
| 16 | not be added to the environment. |
| 17 | |
Bernhard Nortmann | 2666074 | 2015-09-14 15:29:46 +0200 | [diff] [blame] | 18 | config NETCONSOLE |
| 19 | bool "NetConsole support" |
| 20 | help |
| 21 | Support the 'nc' input/output device for networked console. |
| 22 | See README.NetConsole for details. |
| 23 | |
Albert ARIBAUD \(3ADEV\) | f5fb734 | 2015-10-12 00:02:57 +0200 | [diff] [blame] | 24 | config NET_TFTP_VARS |
| 25 | bool "Control TFTP timeout and count through environment" |
| 26 | default y |
| 27 | help |
| 28 | If set, allows controlling the TFTP timeout through the |
| 29 | environment variable tftptimeout, and the TFTP maximum |
| 30 | timeout count through the variable tftptimeoutcountmax. |
| 31 | If unset, timeout and maximum are hard-defined as 1 second |
| 32 | and 10 timouts per TFTP transfer. |
| 33 | |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 34 | config BOOTP_BOOTPATH |
| 35 | bool "Enable BOOTP BOOTPATH" |
| 36 | |
| 37 | config BOOTP_DNS |
| 38 | bool "Enable bootp DNS" |
| 39 | |
| 40 | config BOOTP_GATEWAY |
| 41 | bool "Enable BOOTP gateway" |
| 42 | |
| 43 | config BOOTP_HOSTNAME |
| 44 | bool "Enable BOOTP hostname" |
| 45 | |
| 46 | config BOOTP_PXE |
| 47 | bool "Enable BOOTP PXE" |
| 48 | |
| 49 | config BOOTP_SUBNETMASK |
| 50 | bool "Enable BOOTP subnetmask" |
| 51 | |
Alexander Graf | 0dac6b4 | 2016-05-06 21:01:03 +0200 | [diff] [blame] | 52 | config BOOTP_PXE_CLIENTARCH |
| 53 | hex |
Alexander Graf | fa96f37 | 2016-05-06 21:01:04 +0200 | [diff] [blame] | 54 | default 0x16 if ARM64 |
| 55 | default 0x15 if ARM |
Alexander Graf | 0dac6b4 | 2016-05-06 21:01:03 +0200 | [diff] [blame] | 56 | default 0 if X86 |
| 57 | |
| 58 | config BOOTP_VCI_STRING |
| 59 | string |
| 60 | default "U-Boot.armv7" if CPU_V7 || CPU_V7M |
| 61 | default "U-Boot.armv8" if ARM64 |
| 62 | default "U-Boot.arm" if ARM |
| 63 | default "U-Boot" |
| 64 | |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 65 | endif # if NET |