public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
@ 2012-10-29 23:58 Andreas Bießmann
  2012-10-31 16:29 ` Vikram Narayanan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andreas Bießmann @ 2012-10-29 23:58 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-10-29 23:58 [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB Andreas Bießmann
@ 2012-10-31 16:29 ` Vikram Narayanan
  2012-10-31 16:32   ` Andreas Bießmann
  2012-11-12 19:51 ` Dimax
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Vikram Narayanan @ 2012-10-31 16:29 UTC (permalink / raw)
  To: u-boot

Hello Andreas,

On 10/30/2012 5:28 AM, Andreas Bie?mann wrote:
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-10-31 16:29 ` Vikram Narayanan
@ 2012-10-31 16:32   ` Andreas Bießmann
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Bießmann @ 2012-10-31 16:32 UTC (permalink / raw)
  To: u-boot

Dear Vikram Narayanan,

On 31.10.2012 17:29, Vikram Narayanan wrote:
> Hello Andreas,
> 
> On 10/30/2012 5:28 AM, Andreas Bie?mann wrote:
>> 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

> Did someone test it?

Yes, I did.

Best regards

Andreas Bie?mann

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-10-29 23:58 [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB Andreas Bießmann
  2012-10-31 16:29 ` Vikram Narayanan
@ 2012-11-12 19:51 ` Dimax
  2012-12-09 16:49 ` Andreas Bießmann
  2012-12-20  9:31 ` Prafulla Wadaskar
  3 siblings, 0 replies; 9+ messages in thread
From: Dimax @ 2012-11-12 19:51 UTC (permalink / raw)
  To: u-boot

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

On Tue, Oct 30, 2012 at 1:58 AM, Andreas Bie?mann
<andreas.devel@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@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
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-10-29 23:58 [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB Andreas Bießmann
  2012-10-31 16:29 ` Vikram Narayanan
  2012-11-12 19:51 ` Dimax
@ 2012-12-09 16:49 ` Andreas Bießmann
  2012-12-10  6:42   ` Prafulla Wadaskar
  2012-12-20  9:31 ` Prafulla Wadaskar
  3 siblings, 1 reply; 9+ messages in thread
From: Andreas Bießmann @ 2012-12-09 16:49 UTC (permalink / raw)
  To: u-boot

ping?

On 10/30/2012 12:58 AM, Andreas Bie?mann 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@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
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-12-09 16:49 ` Andreas Bießmann
@ 2012-12-10  6:42   ` Prafulla Wadaskar
  0 siblings, 0 replies; 9+ messages in thread
From: Prafulla Wadaskar @ 2012-12-10  6:42 UTC (permalink / raw)
  To: u-boot


> -----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 4MiB
> 
> ping?

Hi Andreas
Sorry for the delay :-(
I will pull this in this week.

Regards...
Prafulla . . .

> 
> On 10/30/2012 12:58 AM, Andreas Bie?mann 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@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
> >

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-10-29 23:58 [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB Andreas Bießmann
                   ` (2 preceding siblings ...)
  2012-12-09 16:49 ` Andreas Bießmann
@ 2012-12-20  9:31 ` Prafulla Wadaskar
  2012-12-20  9:48   ` Andreas Bießmann
  3 siblings, 1 reply; 9+ messages in thread
From: Prafulla Wadaskar @ 2012-12-20  9:31 UTC (permalink / raw)
  To: u-boot



> -----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 4MiB
> 
> 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@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

Applied to u-boot-marvell.git master branch

Regards...
Prafulla . . .

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-12-20  9:31 ` Prafulla Wadaskar
@ 2012-12-20  9:48   ` Andreas Bießmann
  2012-12-20 10:01     ` Prafulla Wadaskar
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Bießmann @ 2012-12-20  9:48 UTC (permalink / raw)
  To: u-boot

Dear Prafulla Wadaskar,

On 20.12.2012 10:31, Prafulla Wadaskar wrote:
> 
> 
>> -----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 4MiB
>>
>> This will fix the following error:
>>
>> ---8<---
>> UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume
>> 'ubi:root' errno=-12!
>> --->8---

<snip>

> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB
  2012-12-20  9:48   ` Andreas Bießmann
@ 2012-12-20 10:01     ` Prafulla Wadaskar
  0 siblings, 0 replies; 9+ messages in thread
From: Prafulla Wadaskar @ 2012-12-20 10:01 UTC (permalink / raw)
  To: u-boot



> -----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 4MiB
> 
> Dear Prafulla Wadaskar,
> 
> On 20.12.2012 10:31, Prafulla Wadaskar wrote:
> >
> >
> >> -----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 4MiB
> >>
> >> This will fix the following error:
> >>
> >> ---8<---
> >> UBIFS error (pid 0): ubifs_mount: Error reading superblock on
> volume
> >> 'ubi:root' errno=-12!
> >> --->8---
> 
> <snip>
> 
> > 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 . . .

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-20 10:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 23:58 [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB Andreas Bießmann
2012-10-31 16:29 ` Vikram Narayanan
2012-10-31 16:32   ` Andreas Bießmann
2012-11-12 19:51 ` Dimax
2012-12-09 16:49 ` Andreas Bießmann
2012-12-10  6:42   ` Prafulla Wadaskar
2012-12-20  9:31 ` Prafulla Wadaskar
2012-12-20  9:48   ` Andreas Bießmann
2012-12-20 10:01     ` Prafulla Wadaskar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox