From: Wolfgang Denk Date: Wed, 27 Oct 2010 14:29:18 +0200 Subject: [U-Boot] arm, omap3, beagle: initial stack pointer setup In-Reply-To: <1288181563.2342.98.camel@quadra> References: <4CC7C628.70402@denx.de> <20101027071427.6ACA2152451@gemini.denx.de> <1288181563.2342.98.camel@quadra> Message-ID: <20101027122918.83E79152451@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Steve Sakoman, In message <1288181563.2342.98.camel@quadra> you wrote: > > > Why that? From the current settings I would expect something like > > > > CONFIG_SYS_INIT_RAM_ADDR 0x4020f800 > > CONFIG_SYS_INIT_RAM_SIZE 0x800 > > > > I see no reason to substract the top 16 bytes? > > Agreed. I saw this issue last night, but didn't have enough time to > prepare a fix. Um... on PowerPC, we need to initialize the stack with a final stack frame (on PPC 2 x 32 bit zero) so that stack backtraces terminate cleanly. Eventually the reserved space was intended for similar purposes, but if so, I cannot see that from the code. 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: wd at denx.de The first thing we do is kill all the lawyers. (Shakespeare. II Henry VI, Act IV, scene ii)