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

Wolfgang Denk
2008-03-07T19:39:56Z

In message <20080307114652.dc01d39a.kim.phillips@freescale.com> you wrote:
>
> > In message <47D168AE.7050006@ge.com> you wrote:
> > >
> > > There is no way to add an end marker without using a new line (or use
> > > '\r' which is really unacceptable, and more justifiably so). Since we
> > > are settling in on having 50 (?probably want to use a #define) dots
> > > unless there are fewer than 50 units to be written, I suppose we can
> > > live without a end marker. Sigh, the end marker was the fun part.
>
> I thought it safe to assume a terminal is 80 characters wide..(80 -
> strlen("Writing to Flash") - strlen("done")) == 60?

No, this is not a safe assumption. We have a couple of boards
supported with QVGA displays. These usually show 12 x 40 characters
only.

Just one example...

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I haven't lost my mind - it's backed up on tape somewhere."