From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 4 Jun 2009 08:56:51 +0200 Subject: [U-Boot] UBI on NAND flash again In-Reply-To: <20090604065021.GW26148@buzzloop.caiaq.de> References: <20090603180551.GL26160@buzzloop.caiaq.de> <200906040842.40790.sr@denx.de> <20090604065021.GW26148@buzzloop.caiaq.de> Message-ID: <200906040856.51774.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.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 =====================================================================