[U-Boot] [PATCH] dfu: initial implementation

Andrzej Pietrasiewicz andrzej.p at samsung.com
Fri Nov 4 14:14:15 CET 2011


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





More information about the U-Boot mailing list