[U-Boot-Users] [PATCH] Add a flash programming end marker and progress dots

Wolfgang Denk wd at denx.de
Fri Mar 7 15:08:55 CET 2008


In message <200803070744.57697.sr at denx.de> you wrote:
>
> a) Crashes upon flashing 16MBytes

Nice :-(

> b) Strange output upon "saveenv" with redundant env sectors:
...
> It seems we have to restrict the output length somehow for this 16MByte 
> problem. Or perhaps use a fixed length for all sizes.

The important thing is that the string printed...

- must make no assumptions about starting in a specific column
  (i. e. \r will not work)
- must not emit any newlines (i. e. must be single-line).

A fixed (precalculated) length of the string should be used indeed (if
at all).

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
There are two ways of constructing a software design. One way  is  to
make  it  so  simple that there are obviously no deficiencies and the
other is to make it so complicated that there are  no  obvious  defi-
ciencies.                             - Charles Anthony Richard Hoare




More information about the U-Boot mailing list