[PATCH] UBI: introduce sequential counter
Frank Haverkamp
haver at vnet.ibm.com
Tue Feb 13 10:11:24 EST 2007
Hi Artem,
On Fri, 2007-02-09 at 16:40 +0200, Artem Bityutskiy wrote:
> 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.
The 64bit nature could complicate the compare code a little, and
we are limited to those 4KiB as you know. Mhm. It should be than
a comparission of a 64bit value instead of a 32bit one.
For us it is dangerous to exchange that code, since it is in NAND
block 0 and where an interrupted write process would kill our system.
It would be good to keep the old field for backward-compatibility
reasons, so that we do not have to update this piece of the boot-code.
Frank
More information about the linux-mtd
mailing list