[PATCH 1/1] Increase heapsize for i.MX21ADS board.

Jaccon Bastiaansen jaccon.bastiaansen at gmail.com
Tue Nov 29 16:48:26 EST 2011


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 5Mbyte.


Signed-off-by: Jaccon Bastiaansen <jaccon.bastiaansen at gmail.com>
---
 arch/arm/configs/mx21ads_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/mx21ads_defconfig b/arch/arm/configs/mx21ads_defconfig
index 52f84e1..175c229 100644
--- a/arch/arm/configs/mx21ads_defconfig
+++ b/arch/arm/configs/mx21ads_defconfig
@@ -3,6 +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_LONGHELP=y
 CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
-- 
1.7.1




More information about the barebox mailing list