[U-Boot] UBI on NAND flash again

Stefan Roese sr at denx.de
Thu Jun 4 11:17:32 CEST 2009


On Thursday 04 June 2009 11:07:40 Daniel Mack wrote:
> On Thu, Jun 04, 2009 at 10:15:30AM +0200, Stefan Roese wrote:
> > > Hmm. That still doesn't work for me, and I still wonder about the
> > > 'attaching mtd1 to ubi0' string, which looks like a mismatch to me.
> >
> > I would have to check in more details here. But I'm pretty sure this is
> > not the reason for your failure. Here a log from one of mine UBI systems:
>
> Oh well - you're right. The code failed in vmalloc() due to a too small
> CONFIG_SYS_MALLOC_LEN which I needed to augment to 512kB.

Yes, you're not the first person to stumble over this malloc problem. :)

I'll add some #warning/#error to the code to warn the user if such a mis-
configuration is happening.

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