summaryrefslogtreecommitdiff
path: root/ubi-utils/old-utils/src/ubimirror.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-01-10 01:39:24 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-01-10 01:44:20 +0200
commit180c09de57d8e254716c562bd0537df543d12577 (patch)
tree66b9e86425544c5b9ca94634309834a3204a7a08 /ubi-utils/old-utils/src/ubimirror.h
parent69d3d2a45e58d6f1561d7685008e90dae459cb85 (diff)
ubiformat: be consistent with sequence numbers
This commit fixes a stupid an nasty bug. When we flash an UBI image, we do not change its sequence numbers. But when we format the rest of the PEBs (beyond the flashed image), we use a random (or specified via cmdline) sequence number. As a result, we have a broken flash format and UBI refuses it, because half of it has one sequence number, another half has a different one. What we have to do instead, we have to substitute image's sequence number with ours. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/old-utils/src/ubimirror.h')
0 files changed, 0 insertions, 0 deletions