From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] UBIFS - Reading superblock error
Date: Wed, 1 Apr 2009 11:48:49 +0200 [thread overview]
Message-ID: <200904011148.49912.sr@denx.de> (raw)
In-Reply-To: <49D24D94.4020004@datacom.ind.br>
Hi Marcelo,
On Tuesday 31 March 2009, DATACOM - Mallmann wrote:
> I'm trying to use UBI and UBIFS over a nand device. I want to create a
> mtd partition in u-boot (with ubi part command), save a ubifs image
> (with mkfs.ubifs), mount and load it with ubifs commands.
The easiest way to write an UBIFS image in U-Boot is to generate an UBI image
with includes the UBIFS volume. This is done after "mkfs.ubifs" using
the "ubinize" command. This creates an UBI image which can be written to
FLASH via the "normal" commands ("cp.b" for NOR, "nand write" for NAND).
Here a link for some background:
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs
<snip>
> By
> the way, is a volume created in u-boot able to be used in linux kernel
> in read-write mode?
Sure. You can write an UBIFS image in U-Boot and use it read-only here. And
later in Linux you can mount it read-write and write to it. Next time in
U-Boot you will see the changes.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2009-04-01 9:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 17:06 [U-Boot] UBIFS - Reading superblock error DATACOM - Mallmann
2009-04-01 9:48 ` Stefan Roese [this message]
2009-04-08 18:03 ` [U-Boot] [resolved] " DATACOM - Mallmann
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=200904011148.49912.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/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