Bläddra i källkod

README: improve documentation of network related CONFIG_ settings

Add documentation for CONFIG_GATEWAYIP and CONFIG_NETMASK;
also add information which environment variables are set.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
Wolfgang Denk 13 år sedan
förälder
incheckning
1ebcd6547f
1 ändrade filer med 19 tillägg och 0 borttagningar
  1. 19 0
      README

+ 19 - 0
README

@@ -1432,18 +1432,37 @@ The following options need to be configured:
 		Define a default value for the IP address to use for
 		Define a default value for the IP address to use for
 		the default Ethernet interface, in case this is not
 		the default Ethernet interface, in case this is not
 		determined through e.g. bootp.
 		determined through e.g. bootp.
+		(Environment variable "ipaddr")
 
 
 - Server IP address:
 - Server IP address:
 		CONFIG_SERVERIP
 		CONFIG_SERVERIP
 
 
 		Defines a default value for the IP address of a TFTP
 		Defines a default value for the IP address of a TFTP
 		server to contact when using the "tftboot" command.
 		server to contact when using the "tftboot" command.
+		(Environment variable "serverip")
 
 
 		CONFIG_KEEP_SERVERADDR
 		CONFIG_KEEP_SERVERADDR
 
 
 		Keeps the server's MAC address, in the env 'serveraddr'
 		Keeps the server's MAC address, in the env 'serveraddr'
 		for passing to bootargs (like Linux's netconsole option)
 		for passing to bootargs (like Linux's netconsole option)
 
 
+- Gateway IP address:
+		CONFIG_GATEWAYIP
+
+		Defines a default value for the IP address of the
+		default router where packets to other networks are
+		sent to.
+		(Environment variable "gatewayip")
+
+- Subnet mask:
+		CONFIG_NETMASK
+
+		Defines a default value for the subnet mask (or
+		routing prefix) which is used to determine if an IP
+		address belongs to the local subnet or needs to be
+		forwarded through a router.
+		(Environment variable "netmask")
+
 - Multicast TFTP Mode:
 - Multicast TFTP Mode:
 		CONFIG_MCAST_TFTP
 		CONFIG_MCAST_TFTP