public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: DATACOM - Mallmann <mallmann@datacom.ind.br>
To: u-boot@lists.denx.de
Subject: [U-Boot] [resolved]  UBIFS - Reading superblock error
Date: Wed, 08 Apr 2009 15:03:20 -0300	[thread overview]
Message-ID: <49DCE6E8.3020107@datacom.ind.br> (raw)
In-Reply-To: <200904011148.49912.sr@denx.de>

Stefan Roese wrote:
> 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
> =====================================================================
>
>   
Hi Stefan,

Thanks a lot for the tip. It works fine and pretty fast, like I
expected. =D

-- 
Marcelo MALLMANN Dias

DATACOM
Av.Fran?a,735-Porto Alegre,RS-90230-220
Fone 3358.1332
Fax  3358.0101
Site: www.datacom.ind.br
e-mail: mallmann at datacom.ind.br

      reply	other threads:[~2009-04-08 18:03 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
2009-04-08 18:03   ` DATACOM - Mallmann [this message]

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=49DCE6E8.3020107@datacom.ind.br \
    --to=mallmann@datacom.ind.br \
    --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