Commit 1ebcd6547f342900ed7face567e4a27c78a02945
1 parent
c0f40859f9
Exists in
master
and in
54 other branches
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>
Showing 1 changed file with 19 additions and 0 deletions Side-by-side Diff
README
... | ... | @@ -1432,17 +1432,36 @@ |
1432 | 1432 | Define a default value for the IP address to use for |
1433 | 1433 | the default Ethernet interface, in case this is not |
1434 | 1434 | determined through e.g. bootp. |
1435 | + (Environment variable "ipaddr") | |
1435 | 1436 | |
1436 | 1437 | - Server IP address: |
1437 | 1438 | CONFIG_SERVERIP |
1438 | 1439 | |
1439 | 1440 | Defines a default value for the IP address of a TFTP |
1440 | 1441 | server to contact when using the "tftboot" command. |
1442 | + (Environment variable "serverip") | |
1441 | 1443 | |
1442 | 1444 | CONFIG_KEEP_SERVERADDR |
1443 | 1445 | |
1444 | 1446 | Keeps the server's MAC address, in the env 'serveraddr' |
1445 | 1447 | for passing to bootargs (like Linux's netconsole option) |
1448 | + | |
1449 | +- Gateway IP address: | |
1450 | + CONFIG_GATEWAYIP | |
1451 | + | |
1452 | + Defines a default value for the IP address of the | |
1453 | + default router where packets to other networks are | |
1454 | + sent to. | |
1455 | + (Environment variable "gatewayip") | |
1456 | + | |
1457 | +- Subnet mask: | |
1458 | + CONFIG_NETMASK | |
1459 | + | |
1460 | + Defines a default value for the subnet mask (or | |
1461 | + routing prefix) which is used to determine if an IP | |
1462 | + address belongs to the local subnet or needs to be | |
1463 | + forwarded through a router. | |
1464 | + (Environment variable "netmask") | |
1446 | 1465 | |
1447 | 1466 | - Multicast TFTP Mode: |
1448 | 1467 | CONFIG_MCAST_TFTP |