]> www.infradead.org Git - mtd-utils.git/commit
ubinize: add sequence number support
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 26 Jul 2009 15:06:58 +0000 (18:06 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 26 Jul 2009 15:45:03 +0000 (18:45 +0300)
commite1b213ceabcc5984c7cb9e73c44eaced31c6d7e9
tree107ff94d4d9a2cb38f1c0af9daac1d21331a7342
parent8b3cdd8105452737eba043c2e83cbfd8454223e1
ubinize: add sequence number support

UBI now supports the image sequence number feature which
prevents UBI from mistakingly accepting half-written images,
if the image was written on top of an older image. Support
this feature in ubinize and make it pick a random
number for the UBI image sequence number.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
ubi-utils/include/libscan.h
ubi-utils/include/libubigen.h
ubi-utils/src/common.c
ubi-utils/src/common.h
ubi-utils/src/libubigen.c
ubi-utils/src/mtdinfo.c
ubi-utils/src/ubiformat.c
ubi-utils/src/ubinize.c