From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?big5?B?p2Sn065w?= Date: Thu, 26 Apr 2012 16:32:09 +0800 Subject: [U-Boot] Can anyone help me to solve the stack problem of U-boot? Urgent~ In-Reply-To: References: <20120425221124.D419B202B38@gemini.denx.de> Message-ID: <000301cd2387$1370f760$3a52e620$@xyz@msa.hinet.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear all: I'd solved this problem. I define a global symbol at link script and used this global symbol to set up stack pointer. This global symbol indicated the end address of U-boot. I also changed the globla gd pointer address and memory allocation address. Thanks.... -----Original Message----- From: Macpaul Lin [mailto:macpaul at gmail.com] Sent: Thursday, April 26, 2012 12:24 PM To: Wolfgang Denk Cc: ???; u-boot at lists.denx.de Subject: Re: [U-Boot] Can anyone help me to solve the stack problem of U-boot? Urgent~ Hi Civic Wu, > Please see the README (section "U-Boot Porting Guide", but also > section "System Initialization"), and read doc/README.SPL and > http://catb.org/esr/faqs/smart-questions.html > > If this is urgent, and you spent many days on this, then the best > advice for you is to hire an expert. > > Best regards, > > Wolfgang Denk http://www.youtube.com/watch?v=XaetQBZB_E4 Hope this introduction "U-boot Porting Guide for NDS32 based SoC" may help you. The stack setup of NDS32 is similar as ARM. Please also read the document at first. :) -- Best regards, Macpaul Lin