Dear Stefano, In message <4f899f3b.2080...@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. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de If you believe that feeling bad or worrying long enough will change a past or future event, then you are residing on another planet with a different reality system. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot