UBIFS becomes read-only when written, then fails to mount

Matt Hevern matt.hevern at gmail.com
Wed Jun 18 04:02:03 PDT 2014


>>   ubiblke: unknown partition table
>> ....
>
>
> How did you create your ubifs and ubi images?


I used the following commands:

mkfs.ubifs -x "none" -m 2048 -r config -e 126976  -c 256 -o config.ubifs
then
ubinize -o system.ubi -s 2048 -m 2048 -p "128 KiB" system.ini

----system.ini
4 other volumes here

[config]
mode=ubi
image=config.ubifs
vol_id=5
vol_type=dynamic
vol_size=20MiB
vol_name=config
vol_alignment=1
vol_flags=autoresize
----

Then this is written using ubiformat.


Matt



More information about the linux-mtd mailing list