From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Sun, 6 Sep 2015 13:23:17 +0200 Subject: [U-Boot] [PATCH 10/13] sunxi: Make the fastboot buffer larger In-Reply-To: <20150904170249.GF26226@bill-the-cat> References: <1441032373-16992-1-git-send-email-maxime.ripard@free-electrons.com> <1441032373-16992-11-git-send-email-maxime.ripard@free-electrons.com> <1441092124.18644.154.camel@hellion.org.uk> <20150901104458.5317f047@i7> <20150904170249.GF26226@bill-the-cat> Message-ID: <20150906112317.GM31584@lukather> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Sep 04, 2015 at 01:02:49PM -0400, Tom Rini wrote: > On Tue, Sep 01, 2015 at 10:44:58AM +0300, Siarhei Siamashka wrote: > > > On Tue, 01 Sep 2015 08:22:04 +0100 > > Ian Campbell wrote: > > > > > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote: > > > > When using fastboot and flashing a larger image such as the main partition > > > > of a system, the current 32MB limit for the buffer is quite small. > > > > > > (Apart from rooting/rescuing the odd phone I'm completely unfamiliar > > > with fastboot, so sorry if this is all obvious). > > > > > > The main partition of a system these days is measured in GB, I think. > > > So why does going from 32MB to 256MB for the buffer make a useful > > > difference? > > > > > > Is there some enormous per-buffer overhead which needs to be amortised? > > > Or is something else going on? > > > > > > IOW what is the practical impact of this change? > > > > I don't know what are Maxime's plans. But if fastboot is fast and > > can load the kernel and initrd to the device over USB, then it > > becomes a useful alternative to using FEL for loading kernel. > > This is in fact a common use case for development. Other platforms / > SoCs do use fastboot in non-Android development as how to pass in a new > testing kernel / initrd / device tree combo. AFAIK, there's no support in fastboot for a dt yet. You can only give it a kernel with an appended DT. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: