Me again :) Anyway, I've made malloc size huge (2MB), then scanning whole JFFS2 filesystem succeeds and, although I still have those horrible "Unknown node type" messages, I can load uImage from Filesystem.
I bet it is because I'm scanning from an offset where flash has NOT jffs2 format. Silly question and my fault. Thank you very much for your help -----Mensaje original----- De: Wolfgang Denk [mailto:w...@denx.de] Enviado el: lunes, 26 de octubre de 2009 15:20 Para: Ricardo Martínez CC: u-boot@lists.denx.de Asunto: Re: [U-Boot] do_jffs2_ls fails Dear =?iso-8859-1?Q?Ricardo_Mart=EDnez?=, In message <a25e5d6a481444c4bf45fe1156c64...@teltronic.es> you wrote: > > I'm trying to execute ls command from u-boot shell, but it fails. ... > Taking a look at the last lines, it seems there is a problem with malloc. ... > add_node: malloc failed > add_node failed! > ls: Failed to scan JFFSv2 file structure Indeed. So why don't you increase the size of your malloc arena? 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: w...@denx.de Ever try. Ever fail. No matter. Try again. Fail again. Fail better. -- S. Beckett _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot