Skip to contentSkip to conversation

Increase heapsize for i.MX21ADS board.

PATCH New Jaccon Bastiaansen 1 participant 1 message Nov 29, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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

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.

---
 arch/arm/configs/mx21ads_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/mx21ads_defconfig +1 -0
index 52f84e1..175c229 100644
@@ -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
Signature · 7 lines
1.7.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox