All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Schmidt <stefan@datenfreihafen.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [ RFC ] fastboot protocol support in u-boot
Date: Tue, 16 Aug 2011 22:44:16 +0200	[thread overview]
Message-ID: <20110816204416.GC8317@excalibur.local> (raw)
In-Reply-To: <CADDGHU_36ga4QrorbP7GepedC0eZhNPEzJ8SunqrwDiZ=8VZVQ@mail.gmail.com>

Hello.

On Tue, 2011-08-16 at 13:44, John Rigby wrote:
> On Tue, Aug 16, 2011 at 12:12 PM, Stefan Schmidt
> <stefan@datenfreihafen.org> wrote:
> >
> > I'm still curious though if there are practical needs for both
> > fastboot and DFU enabled.
> >
> My only point was that I would rather DFU, Fastboot, USBSerial and any
> other potential users of MUSB or other gadget usb hw not be written in
> a way that it is the only consumer of the hw.  I should be able to
> choose at config time which I will potentially use and at run time
> which I actually use.  That way the same u-boot.bin could be used with
> DFU one day and Fastboot another without rebuilding and reinstalling.

For something like USB serial or USB ethernet I fully agree with
having it written in a way we use it together with fastboot and or
DFU.

If I remember correctly (On vacation, to lazy to check the code) we
had the setup with USB serial running. The device started u-boot up
with USB serial and DFU in run-time mode offering the additional
interface. You could then connect via serial to u-boot and once you
triggered the switch to DFU mode with dfu-util on the host we switched
to full DFU mode and USB serial was gone.

In addition to that we can offer a configuration to enter the DFU
directly when a button is pressed during startup or such.

So in summary I agree with your idea having the possibility to enable
more then one. Just having DFU and fastboot enabled together made me
wondering. :)

regards
Stefan Schmidt

      reply	other threads:[~2011-08-16 20:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 18:07 [U-Boot] [ RFC ] fastboot protocol support in u-boot Sebastian Andrzej Siewior
2011-08-10 18:07 ` [U-Boot] [RFC] fastboot gadget support Sebastian Andrzej Siewior
2011-08-13 10:22   ` Remy Bohmer
2011-08-24 14:09     ` Sebastian Andrzej Siewior
2011-08-24 19:34   ` Remy Bohmer
2011-08-26 10:09     ` Sebastian Andrzej Siewior
2011-08-16 14:47 ` [U-Boot] [ RFC ] fastboot protocol support in u-boot Stefan Schmidt
2011-08-16 15:32   ` John Rigby
2011-08-16 18:12     ` Stefan Schmidt
2011-08-16 19:44       ` John Rigby
2011-08-16 20:44         ` Stefan Schmidt [this message]

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=20110816204416.GC8317@excalibur.local \
    --to=stefan@datenfreihafen.org \
    --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.