
15 Apr
2012
15 Apr
'12
10:56 a.m.
Am 14/04/2012 22:15, schrieb Wolfgang Denk:
Dear Stefano,
In message 4F899F3B.2080103@denx.de you wrote:
Something like this, but not exactly this. After sending my answer I remembered that the stack is *before* u-boot code, and not after as I wrote - using gd->relocaddr is wrong. We should subtract the memory reserve for stack and heap from this value.
There is no builtin limit for the stack size in U-Boot. It gows downward unchecked.
I see, but then it seems to me that CONFIG_STACKSIZE is obsolete - right ?
Best regards, Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
=====================================================================