From 4189697bc220e4b86d57c7c9ab78be04ca1906dd Mon Sep 17 00:00:00 2001 From: Valentine Barshak Date: Fri, 9 Aug 2019 00:41:42 +0300 Subject: [PATCH 06/23] configs: rcar-gen3-common: Increase CONFIG_SYS_MALLOC_LEN to 8MB This increases CONFIG_SYS_MALLOC_LEN from 1MB to 8MB, otherwise ext4write may run out of memory on big ext4 partitions. Looks like 8MB is enough for 64GB partitions. Signed-off-by: Valentine Barshak --- include/configs/rcar-gen3-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h index 938e252..e8999ff 100644 --- a/include/configs/rcar-gen3-common.h +++ b/include/configs/rcar-gen3-common.h @@ -48,7 +48,7 @@ #define CONFIG_SYS_MONITOR_BASE 0x00000000 #define CONFIG_SYS_MONITOR_LEN (256 * 1024) -#define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) +#define CONFIG_SYS_MALLOC_LEN (8 * 1024 * 1024) #define CONFIG_SYS_BOOTMAPSZ (8 * 1024 * 1024) #define CONFIG_SYS_BOOTM_LEN (64 << 20) -- 2.7.4