All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] UBI on NAND flash again
Date: Thu, 4 Jun 2009 08:56:51 +0200	[thread overview]
Message-ID: <200906040856.51774.sr@denx.de> (raw)
In-Reply-To: <20090604065021.GW26148@buzzloop.caiaq.de>

On Thursday 04 June 2009 08:50:21 Daniel Mack wrote:
> > > UBI error: ubi_init: cannot attach mtd1
> > > UBI error: ubi_init: UBI error: cannot initialize UBI, error -12
> > > UBI init error -12
> > > exit not allowed from main input shell.
> >
> > Did you erase the FLASH partition? If not please try again after erasing.
>
> I used ubiformat from Linux using /dev/ubi0 which is attached to
> /dev/mtd4 which again points to the same area in the flash than
> 'ubilayer' does in U-Boot. So I should be able to access that same
> volume from the bootloader, right? Or do I miss some important point?

I have to admit that I never used it this way. Using "ubi part" on an erased 
partition works fine. I suggest you give it a try.

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

  reply	other threads:[~2009-06-04  6:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03 18:05 [U-Boot] UBI on NAND flash again Daniel Mack
2009-06-04  6:42 ` Stefan Roese
2009-06-04  6:50   ` Daniel Mack
2009-06-04  6:56     ` Stefan Roese [this message]
2009-06-04  8:06       ` Daniel Mack
2009-06-04  8:15         ` Stefan Roese
2009-06-04  8:51           ` Wolfgang Denk
2009-06-04  9:07           ` Daniel Mack
2009-06-04  9:17             ` Stefan Roese
2009-06-04  9:27             ` Wolfgang Denk
2009-06-04  9:37               ` Daniel Mack
2009-06-04  8:35       ` Wolfgang Denk

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=200906040856.51774.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.