From: Bryan O'Donoghue <typedef@eircom.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ethernet over usb
Date: Tue, 12 Sep 2006 14:31:56 +0100 [thread overview]
Message-ID: <4506B6CC.9020306@eircom.net> (raw)
In-Reply-To: <20060912082649.GH9155@gundam.enneenne.com>
Rodolfo Giometti wrote:
> Hello,
>
> I need to allow my board to TFTP data through an USB connection.
>
> I'm just writing the USB device support for Alchemy au1100 and then
> I'm going to port usbnet from linux to u-boot in order to add a new
> "usbnet" device.
>
> I'd like to know if someone else is doing something similar or is
> interested at this project in order to join the efforts.
>
> Ciao,
>
> Rodolfo
>
Greetings Rodolfo.
If you look in Das U-Boot USB git tree you will see an implementation of
Linux-Gserial and CDC ACM. Somebody from TI did the original
implementation of g_serial and I added in CDC ACM.
I've actually transferred u-boot.bin over such a link via USB as part of
my testing for usbdcore_mpc8xx, so if the transfer of files is what you
are after perhaps just implementing usbdcore_au1100 yourself and using
the higher layer usbtty.c would suffice, for your purposes.
Alternatively you may really need to implement Ethernet over the USB.
If you want to do that then there are probably two things to consider.
1. RNDIS - the Microsoft standard, works with Linux too.
2. CDC Ethernet - A USB standard that Microsoft has chosen not to
implement in Windows (AFAIK) and is Linux (and possibly *BSD) only.
If going for Ethernet over the USB I'd suggest the thing to do is
something similar as has been done in usbtty.c, with some high level
Ethernet device (usb_ethernet.c ?) that knows about the cdc_ethernet and
rndis_ethernet protocols.
I'd be happy to collaborate with you to implement the 'other' one or
both of the above; i.e. if you do RNDIS I'll do CDC ethernet or
vice-versa, I'd say with two people working on it, it would be fairly
easy to do.
Bryan
--
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.
next prev parent reply other threads:[~2006-09-12 13:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-12 8:26 [U-Boot-Users] ethernet over usb Rodolfo Giometti
2006-09-12 13:31 ` Bryan O'Donoghue [this message]
2006-09-12 13:20 ` Rodolfo Giometti
2006-09-12 14:13 ` Bryan O'Donoghue
2006-09-12 16:17 ` Wolfgang Denk
2006-09-12 16:25 ` Rodolfo Giometti
2006-09-12 16:33 ` Wolfgang Denk
2006-09-12 13:39 ` Bryan O'Donoghue
2006-09-12 13:28 ` Rodolfo Giometti
2006-09-12 14:27 ` Bryan O'Donoghue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4506B6CC.9020306@eircom.net \
--to=typedef@eircom.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox