public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi
Date: Thu, 10 Nov 2016 20:36:36 +0100	[thread overview]
Message-ID: <20161110193636.GC3564@free.fr> (raw)
In-Reply-To: <b0615296-465c-7dd3-9b83-5a8d98ea1c05@redhat.com>

Hans, All,

On 2016-11-10 20:10 +0100, Hans de Goede spake thusly:
> On 10-11-16 19:00, Yann E. MORIN wrote:
> >Ian, Hans, All,
> >
> >On 2016-10-31 22:33 +0100, Yann E. MORIN spake thusly:
> >>Currently, USB is forced-enabled for the sunxi familly, and there is no
> >>way to disable it.
> >>
> >>However, USB takes a long time to initiliase, delaying the boot by up to
> >>5 seconds (without any USB device attached!). This is a very long delay,
> >>especially in cases where USB booting is not wanted at all, and where
> >>the device is expected to boot relatively often (even in production).
> >>
> >>Change the way the dependencies are handled, by only forcibly selecting
> >>USB when CONFIG_DISTRO_DEFAULTS ("defaults suitable for booting general
> >>purpose Linux distributions") is set. This option defaults to y for the
> >>sunxi familly, so the current default behaviour is kept unchanged. Users
> >>interested in boot time and/or size will be able to disable this to
> >>further disable USB.
> >>
> >>With USB disabled, the time spent in U-Boot before handing control to
> >>the Linux kernel is about 1s now, down from ~5s (Nanopi Neo, sunxi H3).
> >
> >Just a gentle ping... ;-)
> 
> 10 days is a bit short in between ping times for a volunteer maintained
> subsys :)

Sorry, I'm just new on the U-Boot list, so I'm not sure what the usual
round-trip is. ;-)

> Anyways I've this on my todo and hopefully will get around
> to it soonish.

Thanks! You'll get a beer next time we meet for ELC-E.

(What? Bribery does not help? Ohh.. ;-) )

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2016-11-10 19:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 21:33 [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi Yann E. MORIN
2016-11-10 18:00 ` Yann E. MORIN
2016-11-10 19:10   ` Hans de Goede
2016-11-10 19:36     ` Yann E. MORIN [this message]
2016-11-13 18:48 ` Hans de Goede

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=20161110193636.GC3564@free.fr \
    --to=yann.morin.1998@free.fr \
    --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