[PATCH] UBI: introduce sequential counter

Josh Boyer jwboyer at linux.vnet.ibm.com
Fri Feb 9 09:50:17 EST 2007


On Fri, 2007-02-09 at 16:40 +0200, Artem Bityutskiy wrote:
> On Fri, 2007-02-09 at 07:12 -0600, Josh Boyer wrote:
> > If writing zeroes to the field for all LEBs is valid, then I don't think
> > the tools need updating.  At least not the image creation tools.  We've
> > already declared the padding fields to be zero filled.
> > 
> > The unubi tool will need updating though.
> 
> They should be updated because they should generate unique numbers to
> the sqnum field, do not use old 'leb_ver' stuff, because leb_ver stuff
> will go away eventually, say, in a year. Also boot-loaders should be
> eventually updated.

Having them generate a unique number for seqnum isn't _required_ though
right?  UBI will see them all as 0 and still work if I understand
correctly.

I agree the tools _should_ be changed.  I just want to make sure that
it's not a requirement before this patch goes in.

josh





More information about the linux-mtd mailing list