mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jaccon Bastiaansen <jaccon.bastiaansen@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] Increase heapsize for i.MX21ADS board again.
Date: Fri, 27 Apr 2012 09:47:53 +0200	[thread overview]
Message-ID: <20120427074753.GU17184@pengutronix.de> (raw)
In-Reply-To: <1335467039-15807-1-git-send-email-jaccon.bastiaansen@gmail.com>

On Thu, Apr 26, 2012 at 09:03:59PM +0200, Jaccon Bastiaansen wrote:
> Barebox cannot boot the recent mainline Linux kernels for the
> i.MX21ADS board anymore when using TFTP, because the heap is too
> small.
> 
> This is solved by increasing the heapsize to 8Mbyte.

This board has 64M of SDRAM, why don't you simply increase it to say
32MB? It's not that you need the memory for something else in barebox.

BTW could you test the i.MX clock framework patches I posted to ARM
Linux Kernel? I have no i.MX21 hardware, so I ported the i.MX21
completely blind. It would be good to test this before we break
mainline

Thanks
 Sascha

> 
> Signed-off-by: Jaccon Bastiaansen <jaccon.bastiaansen@gmail.com>
> ---
>  arch/arm/configs/mx21ads_defconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/configs/mx21ads_defconfig b/arch/arm/configs/mx21ads_defconfig
> index 175c229..6726d8c 100644
> --- a/arch/arm/configs/mx21ads_defconfig
> +++ b/arch/arm/configs/mx21ads_defconfig
> @@ -3,7 +3,7 @@ CONFIG_ARCH_IMX21=y
>  CONFIG_IMX_CLKO=y
>  CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
>  CONFIG_TEXT_BASE=0xc1000000
> -CONFIG_MALLOC_SIZE=0x500000
> +CONFIG_MALLOC_SIZE=0x800000
>  CONFIG_LONGHELP=y
>  CONFIG_CMDLINE_EDITING=y
>  CONFIG_AUTO_COMPLETE=y
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-04-27  7:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 19:03 Jaccon Bastiaansen
2012-04-27  7:47 ` Sascha Hauer [this message]
2012-04-27 11:00   ` Jaccon Bastiaansen
2012-04-28 16:03 Jaccon Bastiaansen
2012-04-30 11:43 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120427074753.GU17184@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=jaccon.bastiaansen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox