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

Stefan Roese sr at denx.de
Fri Mar 7 07:44:57 CET 2008


On Friday 07 March 2008, Jerry Van Baren wrote:
> Signed-off-by: Gerald Van Baren <vanbaren at cideas.com>
> ---
>
> OK, how about this for a compromise for end marker and progress dots?

Thanks. Nice work. But I see some problems on my PPC4xx system:

a) Crashes upon flashing 16MBytes

=> cp.b 100000 fe000000 1000000
Copy to Flash
   

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
Bad trap at PC: 20202020, SR: 29000, vector=1400
NIP: 20202020 XER: 0000005F LR: 20202020 REGS: 0ff15950 TRAP: 1400 DEAR: 
7F7F7FEF
MSR: 00029000 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00


b) Strange output upon "saveenv" with redundant env sectors:

=> saveenv
Saving Environment to Flash...
. done
Un-Protected 1 sectors
. done
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... |
|
|
|
done
.......|
. done
Protected 1 sectors
. done
Protected 1 sectors


It seems we have to restrict the output length somehow for this 16MByte 
problem. Or perhaps use a fixed length for all sizes.

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