On 8 March 2012 18:18, Wolfgang Denk <w...@denx.de> wrote:
> In message 
> <CANNiwJ+91o+A5Ef6w9V0g=rvj1ya939+zztsnka4dmr67of...@mail.gmail.com> you 
> wrote:
>>
>> I've now managed to repro this problem and add some debug.  It looks
>> like u-boot is simply running out of memory whilst trying to mount a
>> filesystem that "needs recovery".  (Error -12 is -ENOMEM.)  The
>> partition it is mounting is 240MB, but only about 40MB full.
>
> Can you please try out and test what happens when you increase the
> size of the malloc arena?  "include/configs/openrd.h" includes
> "include/configs/mv-common.h" which sets CONFIG_SYS_MALLOC_LEN to
> 1 MiB - try changing it to 4 MiB.

Thanks Wolfgang, that worked!  Is there any reason why you would not
set this variable to the maximum possible.  For example, is this
memory available to the kernel after it is booted?  How do you know
how big this might need to be in order to mount a filesystem that
"needs recovery"?

Regards,

Alex
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to