From: Wolfgang Denk Date: Tue, 08 Jun 2010 09:17:35 +0200 Subject: [U-Boot] Fw:How can I use yaffs2 in uboot In-Reply-To: <14a6f7f.148ed.129153fef17.Coremail.jackfriend@163.com> References: <14a6f7f.148ed.129153fef17.Coremail.jackfriend@163.com> Message-ID: <20100608071735.E858814E867@gemini.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 Dear jackfriend, In message <14a6f7f.148ed.129153fef17.Coremail.jackfriend@163.com> you wrote: > > Thank you for your help > > NOW with absolute path can write and read (small files) > > but When I write large files,such as 50M (Nand flash size is 256M) > > Display > > yaffs: Could not allocate Tnodes > yaffs: Could not allocate Tnodes > yaffs: Could not allocate Tnodes > ... Sounds like a pretty clear error message - doesn't it? Increase CONFIG_SYS_MALLOC_LEN in your bard config file. [It might make sense to improve the error message in fs/yaffs2/yaffs_guts.c to include information how many bytes were to be allocated, so you get an idea on how uch to increase the malloc arena size.] Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "There is no distinctly American criminal class except Congress." - Mark Twain