public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] sbc8641d: increase malloc pool size to a sane default
Date: Mon, 24 Aug 2015 13:26:50 -0400	[thread overview]
Message-ID: <1440437213-49224-3-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1440437213-49224-1-git-send-email-paul.gortmaker@windriver.com>

Currently the board fails to save its env, since the env size
is much smaller than the sector size, and the malloc fails for
the pad buffer, giving the user visible symptom of:

Unable to save the rest of sector (253952)

Allow for 1M malloc pool, the same as used on the sbc8548 board.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 include/configs/sbc8641d.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h
index 354b673845cf..77a7e5a799b8 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -242,7 +242,7 @@
 #define CONFIG_SYS_INIT_SP_OFFSET	CONFIG_SYS_GBL_DATA_OFFSET
 
 #define CONFIG_SYS_MONITOR_LEN		(256 * 1024)    /* Reserve 256 kB for Mon */
-#define CONFIG_SYS_MALLOC_LEN		(128 * 1024)    /* Reserved for malloc */
+#define CONFIG_SYS_MALLOC_LEN		(1024 * 1024)   /* Reserved for malloc */
 
 /* Serial Port */
 #define CONFIG_CONS_INDEX     1
-- 
2.1.0

  parent reply	other threads:[~2015-08-24 17:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24 17:26 [U-Boot] [PATCH 0/5] sbc8641d: misc fixes and generic board enablement Paul Gortmaker
2015-08-24 17:26 ` [U-Boot] [PATCH 1/5] sbc8641d: enable command line editing Paul Gortmaker
2015-08-24 17:26 ` Paul Gortmaker [this message]
2015-08-24 17:26 ` [U-Boot] [PATCH 3/5] sbc8641d: set proper environment sector size Paul Gortmaker
2015-08-24 17:26 ` [U-Boot] [PATCH 4/5] sbc8641d: add basic flash setup instructions to README file Paul Gortmaker
2015-08-24 17:26 ` [U-Boot] [PATCH 5/5] sbc8641d: enable and test CONFIG_SYS_GENERIC_BOARD Paul Gortmaker
2015-09-02  2:08   ` York Sun
2015-09-02 13:37     ` Paul Gortmaker
2015-09-02 14:05       ` Simon Glass
2015-10-03 16:45         ` Masahiro Yamada
2015-10-06  0:53           ` Paul Gortmaker
2015-10-06 15:27             ` Paul Gortmaker
2015-10-16 21:51               ` Paul Gortmaker
2015-10-18 12:46                 ` Simon Glass

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=1440437213-49224-3-git-send-email-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=u-boot@lists.denx.de \
    /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