Dear Jens Scharsig,

On 09/18/2013 04:13 PM, Jens Scharsig (BuS Elektronik) wrote:
> From: "Jens Scharsig (BuS Elektronik)" <e...@bus-elektronik.de>
> 
> Since UBIFS is enabled for cpux9k2, more malloc space is needed.
> For the current uboot 2013.10-rcX the size is to small, this will fix the
> startup problems by increasing the mallog space.
> 
> Signed-off-by: Jens Scharsig (BuS Elektronik) <e...@bus-elektronik.de>
> ---
>  include/configs/eb_cpux9k2.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h
> index ccc7bd0..7aca74b 100644
> --- a/include/configs/eb_cpux9k2.h
> +++ b/include/configs/eb_cpux9k2.h
> @@ -83,7 +83,7 @@
>   * Size of malloc() pool
>   */
>  
> -#define CONFIG_SYS_MALLOC_LEN                (CONFIG_ENV_SIZE + 520*1024)
> +#define CONFIG_SYS_MALLOC_LEN                (1024 * 1024)

are you sure 1MiB is enough? We had from time to time problems
initializing an unsafe closed UBI (about 512MiB). With 4MiB malloc arena
however we never had these problems.

Best regards

Andreas Bießmann
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to