
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:wd@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 A25E5D6A481444C4BF45FE1156C648BD@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