summaryrefslogtreecommitdiff
path: root/nandtest.c
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-15 19:12:24 +0200
commit2caf2c6fda66f1f09502245229230743dc20295b (patch)
tree66b9e86425544c5b9ca94634309834a3204a7a08 /nandtest.c
parent48d5de6f84325f2895ae66830d82ce23e827ff6e (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. Reported-by: Jeff Angielski <jeff@theptrgroup.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Tested-by: Jeff Angielski <jeff@theptrgroup.com>
Diffstat (limited to 'nandtest.c')
0 files changed, 0 insertions, 0 deletions