summaryrefslogtreecommitdiff
path: root/misc-utils/flash_otp_write.c
diff options
context:
space:
mode:
authorYufen Yu <yuyufen@huawei.com>2019-01-25 15:01:24 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-01-25 12:50:13 +0100
commit4a5a10a3dfe13d3f546ee4acbe2a96054ae423f7 (patch)
treedfff8f4b30eacdda871e1f0684c959b24aee039c /misc-utils/flash_otp_write.c
parentb1ecfaba533af1895edbdd0ab9bdbbacb1a5ec10 (diff)
mtd-utils: avoid to create two UBI_LAYOUT_VOLUME_ID volume
When we create a ubi image by ubinize, a UBI_LAYOUT_VOLUME_ID volume will be created by ubigen_write_layout_vol(). However, after the commit 4c00cf2c5816 (ubiformat: remove no-volume-table option), ubiformat remove novtbl args in format(). As a result, it will also create a layout volume. When we attempt to do ubiattach, it will fail for ubi_compare_lebs error: ubi0 error: ubi_compare_lebs: unsupported on-flash UBI format ubi0 error: ubi_attach_mtd_dev: failed to attach mtd1, error -22 Signed-off-by: Yufen Yu <yuyufen@huawei.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'misc-utils/flash_otp_write.c')
0 files changed, 0 insertions, 0 deletions