From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 08 Jul 2013 08:22:35 +0200 Subject: [U-Boot] [U-Boot, 2/2] dfu:ext4:fix Fix DFU upload functionality In-Reply-To: References: <1372437710-6361-2-git-send-email-l.majewski@samsung.com> <201307051555.33907.marex@denx.de> <51D6D3A8.6030607@ti.com> <201307051632.04194.marex@denx.de> <20130705172511.5d143dee@amdc308.digital.local> Message-ID: <20130708082235.64f93aa9@amdc308.digital.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 07 Jul 2013 12:13:48 +0530, Sumit Gemini wrote: Hi Sumit, > HI All, > May i know how DFU upload functionality resolved as still i am > facing problem, when i tried to upload binaries from dfu devices it > copied only 4kb images and shoes upload done. >From what medium do you copy? Is that NAND or eMMC device. Have you applied all fixes related to DFU (which were posted recently)? One interesting change it the "configurable" buffer, which might be defined from envs. > > Please give me pointer to solution of this problem > > Regards > ~Sumit Gemini > > > On Fri, Jul 5, 2013 at 8:55 PM, Lukasz Majewski > wrote: > > > On Fri, 05 Jul 2013 16:32:03 +0200, Marek Vasut wrote: > > > > Hi, > > > > > Dear Tom Rini, > > > > > > > On 07/05/2013 09:55 AM, Marek Vasut wrote: > > > > > Dear Tom Rini, > > > > > > > > > >> On Wed, Jul 03, 2013 at 11:49:20PM +0200, Marek Vasut wrote: > > > > >>> Dear Tom Rini, > > > > >>> > > > > >>>> On Fri, Jun 28, 2013 at 06:41:50PM +0200, ??ukasz Majewski > > > > >>>> > > > > >>>> wrote: > > > > >>>>> For the first eMMC read of data for upload, use the > > > > >>>>> "large" dfu_buf (now configurable) instead of usb request > > > > >>>>> buffer allocated at composite layer (which is 4KiB) [*]. > > > > >>>>> > > > > >>>>> For eMMC the whole file is read, which usually is larger > > > > >>>>> than the buffer [*] provided with usb request. > > > > >>>>> > > > > >>>>> Signed-off-by: Lukasz Majewski > > > > >>>>> Cc: Tom Rini Cc: Pantelis Antoniou > > > > >>>>> Cc: Marek Vasut > > > > >>>>> Cc: Heiko Schocher > > > > >>>> > > > > >>>> Applied to u-boot/master, thanks! > > > > >>> > > > > >>> Tom, why are you picking USB changes now? This is creating > > > > >>> quite some mess ... > > > > >> > > > > >> Just trying to clear up the queue of fixes. > > > > > > > > > > Ok, if you manage to merge it with the USB PR ... > > > > > > > > Yup, fit right on top. I'll stop being an overarching > > > > custodian and let you grab the copyright fix :) > > > > > > I see discussion , not patch. Link? > > > > > > > Here you are: > > http://patchwork.ozlabs.org/patch/257068/ > > > > :-) > > > > > Best regards, > > > Marek Vasut > > > _______________________________________________ > > > U-Boot mailing list > > > U-Boot at lists.denx.de > > > http://lists.denx.de/mailman/listinfo/u-boot > > > > > > -- > > Best regards, > > > > Lukasz Majewski > > > > Samsung R&D Institute Poland (SRPOL) | Linux Platform Group > > _______________________________________________ > > U-Boot mailing list > > U-Boot at lists.denx.de > > http://lists.denx.de/mailman/listinfo/u-boot > > -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group