UBIFS becomes read-only when written, then fails to mount
Tanya Brokhman
tlinder at codeaurora.org
Wed Jun 18 04:14:16 PDT 2014
On 6/18/2014 2:02 PM, Matt Hevern wrote:
>>> 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
try adding the "-F" flag to mkfs.ubifs. let me know if it helps
> 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
>
--
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
More information about the linux-mtd
mailing list