2014-09-16 15:32:58 +08:00
|
|
|
#
|
|
|
|
# Network configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig NET
|
|
|
|
bool "Networking support"
|
|
|
|
|
|
|
|
if NET
|
|
|
|
|
2015-05-05 03:55:13 +08:00
|
|
|
config NET_RANDOM_ETHADDR
|
|
|
|
bool "Random ethaddr if unset"
|
2015-05-25 17:37:22 +08:00
|
|
|
select LIB_RAND
|
2015-05-05 03:55:13 +08:00
|
|
|
help
|
|
|
|
Selecting this will allow the Ethernet interface to function
|
|
|
|
even when the ethaddr variable for that interface is unset.
|
|
|
|
A new MAC address will be generated on every boot and it will
|
|
|
|
not be added to the environment.
|
|
|
|
|
2015-09-14 21:29:46 +08:00
|
|
|
config NETCONSOLE
|
|
|
|
bool "NetConsole support"
|
|
|
|
help
|
|
|
|
Support the 'nc' input/output device for networked console.
|
|
|
|
See README.NetConsole for details.
|
|
|
|
|
2015-10-12 06:02:57 +08:00
|
|
|
config NET_TFTP_VARS
|
|
|
|
bool "Control TFTP timeout and count through environment"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
If set, allows controlling the TFTP timeout through the
|
|
|
|
environment variable tftptimeout, and the TFTP maximum
|
|
|
|
timeout count through the variable tftptimeoutcountmax.
|
|
|
|
If unset, timeout and maximum are hard-defined as 1 second
|
|
|
|
and 10 timouts per TFTP transfer.
|
|
|
|
|
2016-05-07 03:01:03 +08:00
|
|
|
config BOOTP_PXE_CLIENTARCH
|
|
|
|
hex
|
2016-05-07 03:01:04 +08:00
|
|
|
default 0x16 if ARM64
|
|
|
|
default 0x15 if ARM
|
2016-05-07 03:01:03 +08:00
|
|
|
default 0 if X86
|
|
|
|
|
|
|
|
config BOOTP_VCI_STRING
|
|
|
|
string
|
|
|
|
default "U-Boot.armv7" if CPU_V7 || CPU_V7M
|
|
|
|
default "U-Boot.armv8" if ARM64
|
|
|
|
default "U-Boot.arm" if ARM
|
|
|
|
default "U-Boot"
|
|
|
|
|
2014-09-16 15:32:58 +08:00
|
|
|
endif # if NET
|