public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Paul B. Henson <henson@acm.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot UBI support
Date: Tue, 30 Apr 2013 13:54:41 -0700	[thread overview]
Message-ID: <51802F91.2020207@acm.org> (raw)
In-Reply-To: <toesj29hfz0.fsf@twin.sascha.silbe.org>

On 4/29/2013 1:57 AM, Sascha Silbe wrote:
>> MX28EVK U-Boot > ubifsmount recovery
>>
>> UBIFS error (pid 0): ubifs_get_sb: cannot open "recovery", error -22
>> UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume
>> 'recovery' errno=-22!
>
> Try increasing CONFIG_SYS_MALLOC_LEN, e.g. to 4MiB. That fixed it for me
> on a different board.

It actually turned out to be something a lot simpler. Unlike Linux, 
u-boot only allows one active ubi partition. However, because it uses 
the code from Linux, when trying to access a file system you still need 
to specify which ubi partition it's on, which was neither intuitive nor 
obvious until I dug through the code.

When I specified "ubifsmount ubi0:recovery", it worked perfectly.

Thanks?

  parent reply	other threads:[~2013-04-30 20:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29  4:41 [U-Boot] u-boot UBI support Paul B. Henson
2013-04-29  8:57 ` Sascha Silbe
2013-04-29 20:33   ` Paul B. Henson
2013-04-30 20:54   ` Paul B. Henson [this message]
2013-05-01 13:31     ` Tom Rini
2013-05-02 21:52       ` Paul B. Henson
2013-05-05  0:49       ` Paul B. Henson
2013-05-06 12:26         ` Tom Rini
2013-05-06 13:07         ` Fabio Estevam
2013-05-08  1:09           ` Paul B. Henson
2013-05-08  3:01             ` Tom Rini
2013-05-09  3:08               ` Paul B. Henson
2013-05-15 12:48                 ` Tom Rini

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=51802F91.2020207@acm.org \
    --to=henson@acm.org \
    --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