[U-Boot] UBI on NAND flash again

Stefan Roese sr at denx.de
Thu Jun 4 08:56:51 CEST 2009


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


More information about the U-Boot mailing list