From: Marc Jones Date: Wed, 29 Feb 2012 00:18:58 +0000 (-0700) Subject: tint requires more heap space for PDCurses. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=b99bc43ee0893651ec81e6e3aabecae9d361be98 tint requires more heap space for PDCurses. tint was failing with the message "initscr(): Unable to create curscr." tint uses the initscr() to enable vga windows, which allocates more heap space with PDCurses than with tinycurses. Expanding the heap from 16KB to 64KB resolves the issue. Change-Id: I1d38651e2b77f55613969c29614fb3b2be38a00c Signed-off-by: Marc Jones Reviewed-on: http://review.coreboot.org/687 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Jonathan A. Kollasch Reviewed-by: Marc Jones --- diff --git a/payloads/libpayload/lib/libpayload.ldscript b/payloads/libpayload/lib/libpayload.ldscript index 830a39081..4925e8681 100644 --- a/payloads/libpayload/lib/libpayload.ldscript +++ b/payloads/libpayload/lib/libpayload.ldscript @@ -34,7 +34,7 @@ OUTPUT_ARCH(i386) ENTRY(_entry) -HEAP_SIZE = 16384; +HEAP_SIZE = 65536; STACK_SIZE = 16384; SECTIONS