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

Andreas Bießmann andreas.devel at googlemail.com
Tue Oct 30 00:58:55 CET 2012


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