public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Is UBI volume update broken?
Date: Fri, 24 Jun 2016 18:09:58 +0200	[thread overview]
Message-ID: <20160624180958.202fff24@crub> (raw)
In-Reply-To: <CAAEAJfAsqm3YJ+mKPyuqe6nZoXJ5LuV7Cv+1yNv9+JVXeJN9tQ@mail.gmail.com>

Hi Ezequiel,

On Fri, 24 Jun 2016 12:36:05 -0300
Ezequiel Garcia ezequiel@vanguardiasur.com.ar wrote:

>Anatolij.
>
>On 24 June 2016 at 10:33, Anatolij Gustschin <agust@denx.de> wrote:
>[..]
>>
>> # ubiupdatevol /dev/ubi0_0 data.ubi
>> # echo $?
>> 0
>>
>
>It seems you are you writing a UBI *volume*, with an image
>prepared for a UBI *device*.

yes, now I see it. Thanks for the pointer.

[...]
>If you wrote down your exact steps, then it's clear this
>is wrong:
>
>ubiformat /dev/mtd4 -f data.ubi
>ubiupdatevol /dev/ubi0_0 data.ubi

I extracted the commands from some old script and this script was
obviously wrong.

>You probably want "ubiupdatevol /dev/ubi0_0 data.img".

Exactly! And that works as expected.

Thanks,

Anatolij

  reply	other threads:[~2016-06-24 16:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 13:33 Is UBI volume update broken? Anatolij Gustschin
2016-06-24 15:36 ` Ezequiel Garcia
2016-06-24 16:09   ` Anatolij Gustschin [this message]
2016-06-24 22:03 ` Richard Weinberger

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=20160624180958.202fff24@crub \
    --to=agust@denx.de \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=linux-mtd@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox