[U-Boot] Uboot - USB to Ethernet patch

Remy Bohmer linux at bohmer.net
Sat Feb 19 10:05:02 CET 2011


Hi Simon,

2011/2/18 Simon Glass <sjg at chromium.org>:
> +UBML
>
> Hi Anders,
>
> You will need at least:
>
> /* Enable USB Ethernet dongles */
> #define CONFIG_USB_HOST_ETHER
> #define CONFIG_USB_ETHER_ASIX
>
> (and your platform must support USB with CONFIG_CMD_USB and CONFIG_USB_EHCI
> for example)
>
> You will also want to enable the network commands:
>
> #define CONFIG_CMD_NET
> #define CONFIG_NET_MULTI
> #define CONFIG_CMD_PING
> #define CONFIG_CMD_DHCP
>
> and some bootp options:
>
> #define CONFIG_BOOTP_SUBNETMASK
> #define CONFIG_BOOTP_GATEWAY
> #define CONFIG_BOOTP_HOSTNAME
> #define CONFIG_BOOTP_BOOTPATH
>
> #define CONFIG_IPADDR 10.0.0.2
> #define CONFIG_SERVERIP 10.0.0.1
> #define CONFIG_BOOTFILE uImage
>
>
> I might have missed something, but that should be enough to make progress.
>
> 'usb start' should identify the Ethernet dongle. Then 'bootp' should use it
> to obtain an IP address from DHCP.

Apparently it is not clear to others how it should be used.
Can you please add a description to doc/README.usb and provide a patch for that?

Kind regards,

Remy


More information about the U-Boot mailing list