[U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB

Dimax dimax.main at gmail.com
Mon Nov 12 20:51:49 CET 2012


Tested-by: Alex Xol <dimax.main at gmail.com>

On Tue, Oct 30, 2012 at 1:58 AM, Andreas Bießmann
<andreas.devel at googlemail.com> wrote:
> This will fix the following error:
>
> ---8<---
> UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12!
> --->8---
>
> Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
> Cc: prafulla at marvell.com
> Cc: dimax.main at gmail.com
> ---
>  include/configs/mv-common.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
> index 7086d1d..405a842 100644
> --- a/include/configs/mv-common.h
> +++ b/include/configs/mv-common.h
> @@ -92,7 +92,7 @@
>  /*
>   * Size of malloc() pool
>   */
> -#define CONFIG_SYS_MALLOC_LEN  (1024 * 1024) /* 1MiB for malloc() */
> +#define CONFIG_SYS_MALLOC_LEN  (1024 * 1024 * 4) /* 4MiB for malloc() */
>
>  /*
>   * Other required minimal configurations
> --
> 1.7.10.4
>


More information about the U-Boot mailing list