All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tanya Brokhman <tlinder@codeaurora.org>
To: Matt Hevern <matt.hevern@gmail.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS becomes read-only when written, then fails to mount
Date: Wed, 18 Jun 2014 14:14:16 +0300	[thread overview]
Message-ID: <53A17488.5030304@codeaurora.org> (raw)
In-Reply-To: <CAKZMjSvceerbBqN6-jcBvbinJB5GdZpJSB-Bqg1ofMYN7pQqew@mail.gmail.com>

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

  reply	other threads:[~2014-06-18 11:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18  4:44 UBIFS becomes read-only when written, then fails to mount Matt Hevern
2014-06-18  9:48 ` Tanya Brokhman
2014-06-18 11:02   ` Matt Hevern
2014-06-18 11:14     ` Tanya Brokhman [this message]
2014-06-18 11:45       ` Matt Hevern
2014-06-18 12:32         ` Tanya Brokhman
2014-06-18 13:12           ` Matt Hevern
2014-07-01 13:55 ` Artem Bityutskiy
2014-07-03  1:20   ` Matt Hevern
2014-07-03  5:16   ` Matt Hevern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A17488.5030304@codeaurora.org \
    --to=tlinder@codeaurora.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=matt.hevern@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.