Re: [U-Boot] Uboot - USB to Ethernet patch

2011-04-05 Thread rick
Hi Scott,

  In order to use the USB-Ethernet in u-boot, what do we need to set
ethact to?  I would be great if you could show an example.

  Of all the device below, which ones have actually been tested and known
to work?

{ 0x05ac, 0x1402 }, /* Apple USB Ethernet Adapter */
{ 0x07d1, 0x3c05 }, /* D-Link DUB-E100 H/W Ver B1 */
{ 0x0b95, 0x772a }, /* Cables-to-Go USB Ethernet Adapter */
{ 0x0b95, 0x7720 }, /* Trendnet TU2-ET100 V3.0R */
{ 0x0b95, 0x1720 }, /* SMC */
{ 0x0db0, 0xa877 }, /* MSI - ASIX 88772a */
{ 0x077b, 0x2226 }, /* Linksys 200M */
{ 0x13b1, 0x0018 }, /* Linksys 200M v2.1 */
{ 0x1557, 0x7720 }, /* 0Q0 cable ethernet */
{ 0x2001, 0x3c05 }, /* DLink DUB-E100 H/W Ver B1 Alternate */
{ 0x, 0x }  /* END - Do not remove */

  Thanks much.

  Rick


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Uboot - USB to Ethernet patch

2011-02-22 Thread Simon Glass
Yes, will do - Simon

On Sat, Feb 19, 2011 at 1:05 AM, Remy Bohmer  wrote:
> Hi Simon,
>
> 2011/2/18 Simon Glass :
>> +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
>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Uboot - USB to Ethernet patch

2011-02-19 Thread Remy Bohmer
Hi Simon,

2011/2/18 Simon Glass :
> +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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Uboot - USB to Ethernet patch

2011-02-18 Thread Simon Glass
+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.

Regards,
Simon

On Fri, Feb 18, 2011 at 6:56 AM, Anders Marklund <
anders.markl...@optronic.se> wrote:

>
> Hello Simon!
>
> I'm trying use use your "usb-to-ethernet-adaptor" -patch for u-boot
> together with the ASIX driver patch. I have applied the patch but I'm a
> little uncertain about which defines to use and where to put them and how to
> initialize the usb to successfully setup and enumerate the ethernet chip.
>
> I'm using a processor module from Variscite: VAR-SOM-OM37, that has a
> DM3730 processor with power module: TPS65930B (twl4030). I have connected a
> separate USB hub and a ASIX AX88772b USB to Ethernet chip. My ultimate goal
> is to be able to boot a linux kernel over the network through this setup,
> and I was wondering if you could send me some example code on how to use the
> adaptor support?
> What do I need to change in my board configuration to get it to work?
>
> Any other tips or ideas are very welcome!
>
> Thanks in advance and best regards
> /Anders Marklund
>
>
>   Anders Marklund, M. Sc
> *Product Developer*
>  *OPTRONIC*
>
> Box 733
>
> PHONE +46 910 835 00
>
> SE-931 27 SKELLEFTEĂ… SWEDEN
>
> DIRECT <%2B46%20910%20835%2061>+46 910 835 61
>
> E-MAIL anders.markl...@optronic.se
>
> MOBILE
>
> VISITING ADDRESS Gymnasievägen 34
>
> FAX
>
> INTERNET www.optronic.se
>
>
> This  message, and/or attachment (-s), may contain confidential
> information. It may not be disclosed to, or used by, anyone other than the
> addressee.If you receive this message in error, please advise the sender
> immediately.
>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot