Re: [U-Boot] A proposal/hack for an efficient USB DFU for linux based boards

2014-03-15 Thread Tormod Volden
[Cc'ing the dfu-util list instead of myself, full thread on http://u-boot.10912.n7.nabble.com/A-proposal-hack-for-an-efficient-USB-DFU-for-linux-based-boards-td175319.html#a175947] On Fri, Mar 14, 2014 at 11:42 AM, Krishna Pattabiraman wrote: > >On Fri, Mar 14, 2014 at 9:52 AM, Lukasz Majewski wro

Re: [U-Boot] A proposal/hack for an efficient USB DFU for linux based boards

2014-03-14 Thread Krishna Pattabiraman
Ok, so there is the current code: > > do { > ret = dfu_get_status(dif, &dst); > if (ret < 0) { > errx(EX_IOERR, "Error during download get_status"); > goto out_free; > } > > if (dst.bState == DFU_STATE_dfuDNLOA

Re: [U-Boot] A proposal/hack for an efficient USB DFU for linux based boards

2014-03-14 Thread Lukasz Majewski
Hi Krishna, > Hi, > > Thanks for your time, > > Please find following comments: > > > > > 1. Current solution (u-boot): > > - It is possible to specify your own "dfu_alt_info" environment > > variable when you call dfu command. > > > > 2. Speed improvement - section "Making it faster" from:

Re: [U-Boot] A proposal/hack for an efficient USB DFU for linux based boards

2014-03-07 Thread Krishna Pattabiraman
Hi, Thanks for your time, Please find following comments: > > 1. Current solution (u-boot): > - It is possible to specify your own "dfu_alt_info" environment > variable when you call dfu command. > > 2. Speed improvement - section "Making it faster" from: > http://codelectron.wordpress.com/20

Re: [U-Boot] A proposal/hack for an efficient USB DFU for linux based boards

2014-03-06 Thread Lukasz Majewski
Hi Krishna, Thanks for attempt to improve DFU. I've CCed Tormod Volden, who is involved in dfu-util development. > Hi All, > > I was working with dfu-utill couple of years ago as part of my > thesis. My task was to provide a firmware upgrade mechanism using > USB. I had an open moko so I though

[U-Boot] A proposal/hack for an efficient USB DFU for linux based boards

2014-03-05 Thread Krishna Pattabiraman
Hi All, I was working with dfu-utill couple of years ago as part of my thesis. My task was to provide a firmware upgrade mechanism using USB. I had an open moko so I thought of implementing a solution based on it. The board I used is SAM9G45 http://www.atmel.com/devices/sam9g45.aspx. My observati