[U-Boot] do_jffs2_ls fails

Wolfgang Denk wd at denx.de
Mon Oct 26 15:19:37 CET 2009


Dear =?iso-8859-1?Q?Ricardo_Mart=EDnez?=,

In message <A25E5D6A481444C4BF45FE1156C648BD at 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: wd at denx.de
Ever try. Ever fail. No matter. Try again. Fail again.  Fail  better.
                                                        -- S. Beckett


More information about the U-Boot mailing list