[U-Boot] flash erasing: len alignment
Wolfgang Denk
wd at denx.de
Thu Dec 11 13:05:10 CET 2008
Dear Mike,
In message <200812110537.04572.vapier at gentoo.org> you wrote:
>
> On Thursday 11 December 2008 05:22:49 Wolfgang Denk wrote:
> > erase 40000000 +1
>
> when was this notation added ? i'm not familiar with it ... but until
> recently, i was living with u-boot-1.1.6 ...
Then you have that code:
...
Changes for U-Boot 1.1.3:
======================================================================
* Add new argument format for flash commands to allow for usage like
"erase $(addr) +$(filesize)", i. e. a size argument can be used and
U-Boot will automaticially find the end of the corresponding sector.
...
> and any tips on which flash systems are known to support this syntax ? i can
> look at fixing the ones that i use that dont use this syntax ...
I know it's working on NOR flash.
I am pretty sure that it doesn't work that way on NAND yet.
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
If you're not part of the solution, you're part of the problem.
More information about the U-Boot
mailing list