From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Thu, 10 Nov 2016 20:36:36 +0100 Subject: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi In-Reply-To: References: <1477949620-31642-1-git-send-email-yann.morin.1998@free.fr> <20161110180033.GB3564@free.fr> Message-ID: <20161110193636.GC3564@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. | '------------------------------^-------^------------------^--------------------'