All of lore.kernel.org
 help / color / mirror / Atom feed
From: Remy Bohmer <linux@bohmer.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] Connect the AT91 UDC to USB CDC-ethernet support
Date: Fri, 13 Aug 2010 13:03:27 +0200	[thread overview]
Message-ID: <AANLkTincOtBd_mvP2he5xVfppeJ4THPEbJFJSnzQ1+qN@mail.gmail.com> (raw)
In-Reply-To: <4C652487.7060006@emk-elektronik.de>

Hi,

2010/8/13 Reinhard Meyer <u-boot@emk-elektronik.de>:
> Dear Remy Bohmer,
>>>
>>> 3. I did not follow the whole USB patches, my concern is
>>> what touches AT91, but please explain to me what for we need
>>> a board under u-boot to be a USB device. Since u-boot per se
>>> is not multitasking how is the traffic handled while
>>> at the command prompt?
>>
>> There is no traffic handled while at the command prompt. It behaves
>> just like any other 'normal' network adapter.
>> So, it brings up a USB connection once you start a network action like
>> a ping or tftp command. Once that completes the link is brought down
>> again.
>
> If I understand the procedure correctly now, its as follows:
>
> Any client network command on u-boot's command prompt like ping, dhcp, tftp
> etc. will 'up' the USB Device...
> The host to which it is connected to will happily discover and enumerate
> a network adapter with MAC and IP addresses...

Correct.

> And the host will be the server for that command...

The procedure is initiated by U-boot, since that one is pulling the D+
resistor up and down.
Network traffic is of course bidirectional, so U-boot can initiate a
TFTP transfer when it is up.

Kind regards,

Remy

  reply	other threads:[~2010-08-13 11:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-12 17:36 [U-Boot] [PATCH 1/3] Integrate USB gadget layer and USB CDC driver layer Remy Bohmer
2010-08-12 17:36 ` [U-Boot] [PATCH 2/3] Connect the AT91 UDC to USB CDC-ethernet support Remy Bohmer
2010-08-12 18:57   ` Reinhard Meyer
2010-08-12 19:50     ` Remy Bohmer
2010-08-12 20:56       ` Wolfgang Denk
2010-08-12 22:58         ` Reinhard Meyer
2010-08-13  9:14           ` Remy Bohmer
2010-08-13 10:55             ` Reinhard Meyer
2010-08-13 11:03               ` Remy Bohmer [this message]
2010-08-13  9:16         ` Remy Bohmer
2010-08-13 10:22           ` Wolfgang Denk
2010-08-13 11:18             ` Remy Bohmer
2010-08-13 14:04               ` Wolfgang Denk
2010-08-12 17:36 ` [U-Boot] [PATCH 3/3] Enable the use of Ethernet over USB (CDC) for the AT91SAM9261EK board Remy Bohmer

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=AANLkTincOtBd_mvP2he5xVfppeJ4THPEbJFJSnzQ1+qN@mail.gmail.com \
    --to=linux@bohmer.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.