From mboxrd@z Thu Jan 1 00:00:00 1970 From: Afzal Mohammed Date: Tue, 10 Sep 2013 19:43:21 +0530 Subject: [U-Boot] [PATCH v2 2/3] dfu: ram support In-Reply-To: <20130910112144.7e00b744@amdc308.digital.local> References: <33793bdd83257ed92ed12cab79471eb232080d6d.1378780517.git.afzal.mohd.ma@gmail.com> <20130910112144.7e00b744@amdc308.digital.local> Message-ID: <20130910141321.GC2877@afzal-ThinkPad-R50e> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Lukasz Majewski, On Tue, Sep 10, 2013 at 11:21:44AM +0200, Lukasz Majewski wrote: > > Directly putting image onto RAM would speed up upgrade process. This > > and convenience was the initial thoughts that led to doing this, speed > > improvement over MMC was only 1 second though - 6 sec on RAM as > > opposed to 7 sec on MMC in beagle bone, > Which version of dfu-util do you use? I had slow transmission problem > with "ancient" dfu-util version 0.1. 0.7, there may be chances that USB (HS/FS) is causing the speed difference. Here image size ~4M > > + printf("%s: unsupported layout :%s\n", __func__, > > + dfu_get_layout(dfu->layout)); > Please use error() from ./include/common.h > Frankly, I've overlooked this when I originally > developed the code. > Only please change the printf() -> error(). Ok, I will change those. Regards Afzal