nandwrite and contiguous space

Gerhard Sittig gsi at denx.de
Tue Apr 1 11:23:50 PDT 2014


On Tue, 2014-04-01 at 13:30 +0400, Stas Sergeev wrote:
> 
> I am looking for a NAND flasher that supports searching
> for the contiguous region of good blocks (within a specified
> range), and flashes an image to it. It seems nandwrite - the
> default linux flasher - can only skip bad blocks, but the scenario
> I need, doesn't seem to be supported.

Isn't the point that the set of good blocks keeps changing over
time?  What might be good now, may be bad a second later or next
year, doesn't matter as long as it won't stay good forever.

> Is there any other flasher that does support this?
> Or maybe some trick with nandwrite exists?
> If not, how difficult is it to implement such a capability into
> nandwrite?

If you want a sequence of good blocks, this very much sounds like
the LEBs which UBI provides.  Aren't you asking for an UBI
volume?  What am I missing?


virtually yours
Gerhard Sittig
-- 
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 linux-mtd mailing list