mv-common.h: increase malloc arena to 4MiB
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
This will fix the following error:
---8<---
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12! --->8---
--- include/configs/mv-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/mv-common.h +1 -1
@@ -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
Signature · 1 line
1.7.10.4
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
Hello Andreas,
Quoted 5 lines · Andreas Bie?mann
This will fix the following error:
---8<---
UBIFS error (pid 0):ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12! --->8---
Did this solve the ubifs mount issue?
Did someone test it?
~Vikram
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
Dear Vikram Narayanan,
Quoted 11 lines · Vikram Narayanan
Hello Andreas,
Quoted 6 lines · Andreas Bie?mann
This will fix the following error:
---8<---
UBIFS error (pid 0):ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12!
--->8---Did this solve the ubifs mount issue?
It fixes the ENOMEM issue described in
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/145654
Quoted 1 line
Did someone test it?
Yes, I did.
Best regards
Andreas Bie?mann
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
In reply to Andreas BießmannQuoted 29 lines · Andreas Bie?mann
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 <[email protected]>Cc prafulla at marvell.comCc dimax.main at gmail.com--- include/configs/mv-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/mv-common.h +1
-2@@ -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
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
In reply to Andreas Bießmannping?
Quoted 27 lines · Andreas Bie?mann
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 <[email protected]>Cc prafulla at marvell.comCc dimax.main at gmail.com--- include/configs/mv-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/mv-common.h +1
-1@@ -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
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
Quoted 9 lines
-----Original Message-----
From: Andreas Bie?mann [mailto:andreas.devel at googlemail.com]
Sent: 09 December 2012 22:20
To: Andreas Bie?mann
Cc: U-Boot List; Prafulla Wadaskar
Subject: Re: [PATCH]mv-common.h: increase malloc arena to 4MiBping?
Hi Andreas
Sorry for the delay :-(
I will pull this in this week.
Regards...
Prafulla . . .
Quoted 33 lines · Andreas Bie?mann
Quoted 4 lines
This will fix the following error:
---8<---
UBIFS error (pid 0):ubifs_mount: Error reading superblock on volume'ubi:root' errno=-12!
include/configs/mv-
Quoted 10 lines
--->8---
Signed-off-by Andreas Bie?mann <[email protected]>Cc prafulla at marvell.comCc dimax.main at gmail.com--- include/configs/mv-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/mv- renamed from include/configs/mv-common.h +0
-0
common.hinclude/configs/mv-common.h line 95
Quoted 8 lines
index 7086d1d..405a842 100644
include/configs/mv-common.h +0
-1@@ -92,7 +92,7 @@/* * Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* 1MiB for malloc() */
include/configs/mv-common.h line 95
Quoted 1 line
include/configs/mv-common.h +1
-0+#define CONFIG_SYS_MALLOC_LEN (1024 * 1024 * 4)/* 4MiB for
malloc()*/Quoted 4 lines
include/configs/mv-common.h +0
-0/* * Other required minimal configurations
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
In reply to Andreas BießmannQuoted 36 lines
-----Original Message-----
From: Andreas Bie?mann [mailto:andreas.devel at googlemail.com]
Sent: 30 October 2012 05:29
To: U-Boot List
Cc: Andreas Bie?mann; Prafulla Wadaskar; dimax.main at gmail.com
Subject: [PATCH]mv-common.h: increase malloc arena to 4MiBThis 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 <[email protected]>Cc prafulla at marvell.comCc dimax.main at gmail.com--- include/configs/mv-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/mv-common.h +1
-1@@ -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()*/
Quoted 4 lines
/*
* Other required minimal configurations
--
1.7.10.4
Applied to u-boot-marvell.git master branch
Regards...
Prafulla . . .
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
Dear Prafulla Wadaskar,
Quoted 15 lines · Prafulla Wadaskar
Quoted 15 lines
-----Original Message-----
From: Andreas Bie?mann [mailto:andreas.devel at googlemail.com]
Sent: 30 October 2012 05:29
To: U-Boot List
Cc: Andreas Bie?mann; Prafulla Wadaskar; dimax.main at gmail.com
Subject: [PATCH]mv-common.h: increase malloc arena to 4MiBThis will fix the following error:
---8<---
UBIFS error (pid 0):ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12!
--->8---
<snip>
Quoted 1 line
Applied to u-boot-marvell.git master branch
I've just seen you requested a pull before this add. Would be great to have this patch in 2013.01
Best regards
Andreas Bie?mann
PATCH 1/1 mv-common.h: increase malloc arena to 4MiB
Quoted 31 lines
-----Original Message-----
From: Andreas Bie?mann [mailto:andreas.devel at googlemail.com]
Sent: 20 December 2012 15:19
To: Prafulla Wadaskar
Cc: Andreas Bie?mann; U-Boot List; dimax.main at gmail.com
Subject: Re: [PATCH]mv-common.h: increase malloc arena to 4MiBDear Prafulla Wadaskar,
Quoted 9 lines · Prafulla Wadaskar
Quoted 9 lines
-----Original Message-----
From: Andreas Bie?mann [mailto:andreas.devel at googlemail.com]
Sent: 30 October 2012 05:29
To: U-Boot List
Cc: Andreas Bie?mann; Prafulla Wadaskar; dimax.main at gmail.com
Subject: [PATCH]mv-common.h: increase malloc arena to 4MiBQuoted 4 lines
Quoted 4 lines
This will fix the following error:
---8<---
UBIFS error (pid 0):ubifs_mount: Error reading superblock onvolume
Quoted 2 lines
Quoted 2 lines
'ubi:root' errno=-12!
--->8---<snip>
Quoted 8 lines
Quoted 1 line
Applied to u-boot-marvell.git master branch
I've just seen you requested a pull before this add. Would be great to have this patch in 2013.01
Best regards
Andreas Bie?mann
Dear Andreas,
Sure
I will resend the pull request.
Regards...
Prafulla . . .