public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot UBI support
Date: Wed, 1 May 2013 09:31:29 -0400	[thread overview]
Message-ID: <20130501133129.GT25397@bill-the-cat> (raw)
In-Reply-To: <51802F91.2020207@acm.org>

On Tue, Apr 30, 2013 at 01:54:41PM -0700, Paul B. Henson wrote:

> 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?

Would you mind patching doc/README.ubi ?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130501/2e8a10ec/attachment.pgp>

  reply	other threads:[~2013-05-01 13:31 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
2013-05-01 13:31     ` Tom Rini [this message]
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=20130501133129.GT25397@bill-the-cat \
    --to=trini@ti.com \
    --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