From: Andrzej Pietrasiewicz Date: Fri, 04 Nov 2011 14:14:15 +0100 Subject: [U-Boot] [PATCH] dfu: initial implementation In-Reply-To: <20111103140119.GT17069@excalibur.local> References: <1320228007-8947-1-git-send-email-andrzej.p@samsung.com> <20111102142923.GM17069@excalibur.local> <001201cc9a00$64521440$2cf63cc0$%p@samsung.com> <20111103140119.GT17069@excalibur.local> Message-ID: <000301cc9af3$a71f7990$f55e6cb0$%p@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, On Thursday, November 03, 2011 3:01 PM Stefan Schmidt wrote: > > o I will send out my not ready for mainline patch to give you and > others an impression how it is tackled in my patch. > > o I like your split between dfu and flashing and also the addition of > the dfu command. Could you split this part from the rest and send it > as self conatining patch without other dependencies? > > o And then one patch with the mmc/fat flashing backend in moved out of > the board file (no idea what the best place is, maybe just another > file for now) and a last patch with all the board specific changes? I assume splitting into 4 parts: (1) dfu gadget, (2) board specific code, (3) flashing backend generic code, (4) dfu command. As I today discovered, after latest merges in u-boot master the mmc subsystem in Goni does not work properly - the detected capacity is 0, and the number of available partitions is 0. This took me some time to discover. I hope the responsible person will fix this soon. So, as far as the splitting of my dfu implementation into separate patches is concerned, I think I will come up with it early next week. > > o I will then rebase my code on yours and prepare patches against the > dfu implementations as needed and also flashing backend for NAND. > > o After this we need to review was is missing and bring it over. > > Not all details covered in the plan but a start. Comments? In the beginning I intend to split the code into respective parts, to give you something to work with. Then I intend to clean the code up, taking into account your and Mike's review. Regards, Andrzej