public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Nancy <nancydreaming@gmail.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: UBI: about ubinize tool
Date: Thu, 27 Mar 2008 08:58:27 +0200	[thread overview]
Message-ID: <1206601107.3856.31.camel@sauron> (raw)
In-Reply-To: <bae050c10803252111y4a79334l6e09567d54a0539e@mail.gmail.com>

On Wed, 2008-03-26 at 12:11 +0800, Nancy wrote:
>    If the input file which needed by ubinize can be the image file
> created by mkfs.ubifs(eg: ubifs.img), then how to use the output ubi
> image file (eg: ubi.img)?

You have to put that image to the _raw_ flash. If you use nandsim,
something like "dd if=ubi.img of=/dev/mtdX" is OK. If you use a real
NAND flash, you have to use the nandwrite utility, becaus dd cannot skip
bad blocks: nandwrite /dev/mtdX ubi.img

For example, if you were a vendor of some devices and you had a factory,
you would prepare you final ubi.img and you would flash it to the newly
produced devices in the factory. Straight to the raw flash.

> Use the same tool "ubiupdatevol "?
You may put ubifs.img with ubiupdatevol.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

  reply	other threads:[~2008-03-27 11:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26  4:02 UBI: about ubinize tool Nancy
2008-03-26  4:11 ` Nancy
2008-03-27  6:58   ` Artem Bityutskiy [this message]
2008-03-27  6:53 ` Artem Bityutskiy

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=1206601107.3856.31.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nancydreaming@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox