[U-Boot-Users] [PATCH] Add flash programming counter]

Stefan Roese sr at denx.de
Fri Mar 7 15:04:13 CET 2008


On Friday 07 March 2008, Jerry Van Baren wrote:
> Odd, I didn't see your reply, saying "cr at sh" must trigger our mail
> filter, it's built on Microsoft technology. ;-)  I can read your reply
> in gmane.org, now that I know to look.  :-/

Understood. :)

> The crash is undoubtedly due to a buffer overflow on the format string
> (16MB => .  Adopting Clemen's proposal for a fixed length bar (see
> previous email for a 50 dot bar example) is trivial.

Right.

> The saveenv also looks funky.  I only mucked with the cmd_mem.c command
> to make it display better with the progress dots, obviously the saveenv
> command needs to have the same changes
>    s/"Writing to Flash... "/"Writing to Flash\n"/
> Apparently saveenv does four very short program operations.
>
> > => saveenv
> >
> > [snip]
> >
> > Writing to Flash... |
> >
> >
> >
> > done
> >
> > [snip]
>
> If you want to extend my patch, here's your chance to grab all the
> glory.  ;-)

I already have enough "glory" in U-Boot history. ;) I leave this for somebody 
else for now. Let's see, if somebody steps up...

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list