From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 7 Mar 2008 15:04:13 +0100 Subject: [U-Boot-Users] [PATCH] Add flash programming counter] In-Reply-To: <47D149CA.8010205@ge.com> References: <20080306163208.46EF8242FF@gemini.denx.de> <200803071435.16409.sr@denx.de> <47D149CA.8010205@ge.com> Message-ID: <200803071504.14132.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 =====================================================================