I am not sure whether this is the right forum to ask about my issue. Let me know. However this is really blocking for me and I do not have anyone at my work to help me out. Hence asking help -
I am encountering a problem on my target board. Any help is hightly appreciated.
The rootfs is ubi and comes up. I am trying to mount another partition to put all my configuration data. Here is the log -
[root]#ubiformat /dev/mtd6 -s 2048 -f ./config.img
ubiformat: mtd6 (nand), size 152305664 bytes (145.2 MiB), 1162 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 1161 -- 100 % complete
ubiformat: 1162 eraseblocks have valid erase counter, mean value is 0
ubiformat: flashing eraseblock 47 -- 100 % complete
ubiformat: formatting eraseblock 1161 -- 100 % complete
[root]#ubiattach /dev/ubi_ctrl -m 6
UBI: attaching mtd6 to ubi1
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI error: vtbl_check: volume table check failed: record 0, error 9
ubiattach: error!: cannot attach mtd6
error 22 (Invalid argument)
[root]#
Let me know if you need any other information.