path: root/doc/README.usb
diff options
authorGerhard Sittig <>2014-03-08 19:46:18 +0100
committerTom Rini <>2014-03-12 17:04:35 -0400
commitdd11acaa749e19baea8077a8a9814cbad47ea6b0 (patch)
tree5ed5e8f0a02561da1dc98e73d0e27ca523081d00 /doc/README.usb
parent9a6a109f0775be316810a3c449c47c0e27d7e477 (diff)
usb: net: update README.usb to list all USB ethernet options
- extend the discussion of USB network related config options such that all available adapter drivers are listed, and that the 'usb' command for the interactive prompt and scripting becomes available - suggest to *not* put individual IP configuration parameters into the exectuable, but instead to put them into external environment or fetch them from network Signed-off-by: Gerhard Sittig <> Acked-by: Simon Glass <> Acked-by: Marek Vasut <>
Diffstat (limited to 'doc/README.usb')
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/README.usb b/doc/README.usb
index 65fb2886d9..bc768a3854 100644
--- a/doc/README.usb
+++ b/doc/README.usb
@@ -127,8 +127,14 @@ To enable USB Host Ethernet in U-Boot, your platform must of course
support USB with CONFIG_CMD_USB enabled and working. You will need to
add some config settings to your board header file:
+#define CONFIG_CMD_USB /* the 'usb' interactive command */
#define CONFIG_USB_HOST_ETHER /* Enable USB Ethernet adapters */
-#define CONFIG_USB_ETHER_ASIX /* Asix, or whatever driver(s) you want */
+and one or more of the following for individual adapter hardware:
As with built-in networking, you will also want to enable some network
commands, for example:
@@ -148,7 +154,10 @@ settings should start you off:
You can also set the default IP address of your board and the server
as well as the default file to load when a 'bootp' command is issued.
-All of these can be obtained from the bootp server if not set.
+However note that encoding these individual network settings into a
+common exectuable is discouraged, as it leads to potential conflicts,
+and all the parameters can either get stored in the board's external
+environment, or get obtained from the bootp server if not set.
#define CONFIG_IPADDR (replace with your value)
#define CONFIG_SERVERIP (replace with your value)
OpenPOWER on IntegriCloud