
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@gmail.com] Sent: Thursday, April 26, 2012 12:24 PM To: Wolfgang Denk Cc: 吳志峰; u-boot@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