From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 6 Mar 2008 14:33:59 +0100 Subject: [U-Boot-Users] [PATCH] Add flash programming counter] In-Reply-To: <20080306124810.0CEE8242FF@gemini.denx.de> References: <20080306124810.0CEE8242FF@gemini.denx.de> Message-ID: <200803061434.00002.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 Thursday 06 March 2008, Wolfgang Denk wrote: > In message <200803060720.06034.sr@denx.de> you wrote: > > I do like such a progress output. But printing each KB seems a little > > too much from my point of view. Could even slow down the programming > > because of the slow serial output on some systems. > > I agree that a counter is overkill. You misunderstood me. I like this kind of output (kB or % programmed). It's just that the York's version printed one line per kByte. This seems too much. My version is simpler and prints only 1 line per 16 kByte. We can change to 32k or even more. > I suggest we continue to do what we've been doing in other flash > access routines (like many of the earlier custom drivers), i. e. > print out dots, approximately one per second. Fine with me too. Even though I would prefer to switch this progress output on all FLASH access routines to something like % too. This way we have an idea how long this operation it is going to last. 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 =====================================================================