@ -125,23 +125,27 @@ bootp
To enable USB Host Ethernet in U-Boot, your platform must of course
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
support USB with CONFIG_CMD_USB enabled and working. You will need to
add some config settings to your board header file :
add some config settings to your board config :
#define CONFIG_CMD_USB /* the 'usb' interactive command */
CONFIG_CMD_USB=y /* the 'usb' interactive command */
#define CONFIG_USB_HOST_ETHER /* Enable USB Ethernet adapters */
CONFIG_USB_HOST_ETHER=y /* Enable USB Ethernet adapters */
and one or more of the following for individual adapter hardware:
and one or more of the following for individual adapter hardware:
#define CONFIG_USB_ETHER_ASIX
CONFIG_USB_ETHER_ASIX=y
#define CONFIG_USB_ETHER_MCS7830
CONFIG_USB_ETHER_ASIX88179=y
#define CONFIG_USB_ETHER_SMSC95XX
CONFIG_USB_ETHER_LAN75XX=y
CONFIG_USB_ETHER_LAN78XX=y
CONFIG_USB_ETHER_MCS7830=y
CONFIG_USB_ETHER_RTL8152=y
CONFIG_USB_ETHER_SMSC95XX=y
As with built-in networking, you will also want to enable some network
As with built-in networking, you will also want to enable some network
commands, for example:
commands, for example:
#define CONFIG_CMD_NET
CONFIG_CMD_NET=y
#define CONFIG_CMD_PING
CONFIG_CMD_PING=y
#define CONFIG_CMD_DHCP
CONFIG_CMD_DHCP=y
and some bootp options, which tell your board to obtain its subnet,
and some bootp options, which tell your board to obtain its subnet,
gateway IP, host name and boot path from the bootp/dhcp server. These
gateway IP, host name and boot path from the bootp/dhcp server. These